Reproduce “Retrieval meets Long Context Large Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Peng Xu, Wei Ping, Xianchao Wu, Lawrence McAfee, Chen Zhu, Zihan Liu, Sandeep Subramanian, Evelina Bakhturina and 2 more
Retrieval-augmentation consistently enhances the performance of large language models, including those with already extended context windows (up to 32K tokens), on long-context tasks, while also speeding up generation. Combining retrieval with a 32K-context Llama2-70B model achieved an average score of 43.6, outperforming GPT-3.5-turbo-16k and Davinci-003 on several zero-shot long-context benchmarks.
Key insights
- Retrieval-augmentation provides substantial benefits not only for short-context LLMs but also for intrinsically long-context LLMs (16K/32K), indicating a complementary relationship rather than a substitutive one.
- Larger, instruction-tuned LLMs leverage retrieved information more effectively, reconciling conflicting findings from prior work that used smaller models.
- Combining retrieval with long context windows (e.g., Llama2-70B-32k-ret) yields state-of-the-art performance while also offering faster generation compared to long-context-only models, highlighting an efficient path for high-performance LLMs.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.