Anima Anandkumar, Boxin Wang, Bo Li, Bryan Catanzaro, Wei Ping, Peng Xu, Chaowei Xiao, Mohammad Shoeybi, Lawrence Mcafee, Zihan Liu, Oleksii Kuchaiev, Yi Dong
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Large decoder-only language models (LMs) can be largely improved in terms of perplexity by retrieval (e.g., RETRO), but its impact on text generation quality and downstream task accuracy is unclear. Thus, it is still an open question: shall we pretrain large autoregressive LMs with retrieval? To answer it, we perform a comprehensive study on a scalable pretrained retrieval-augmented LM (i.e., RETRO) compared with standard GPT and retrievalaugmented GPT incorporated at fine-tuning or inference stages. We first provide the recipe to reproduce RETRO up to 9.5B parameters while retrieving a text corpus with 330B tokens. Based on that, we have the following novel findings: i) RETRO outperforms GPT on text generation with much less degeneration (i.e., repetition), moderately higher factual accuracy, and slightly lower toxicity with a nontoxic retrieval database. ii) On the LM Evaluation Harness benchmark, RETRO largely outperforms GPT on knowledge-intensive tasks, but is on par with GPT on other tasks. Furthermore, we introduce a simple variant of the model, RETRO++, which largely improves open-domain QA results of original RETRO (e.g., EM score +8.6 on Natural Question) and significantly outperforms retrieval-augmented GPT in both finetuning and zero-shot evaluation settings. Our findings highlight the promising direction of pretraining autoregressive LMs with retrieval as future foundation models. We release our implementation at: https://github.com/N VIDIA/Megatron-LM#retro.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2304.06762")
get_code_for_paper("2304.06762")
have("2304.06762")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2304.06762.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2304.06762)
Connect an agent — have() is free.