LaRA: Benchmarking Retrieval-Augmented Generation and Long-Context LLMs -- No Silver Bullet for LC or RAG Routing
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Effectively incorporating external knowledge into Large Language Models (LLMs) is crucial for enhancing their capabilities and addressing real-world needs. Retrieval-Augmented Generation (RAG) offers an effective method for achieving this by retrieving the most relevant fragments into LLMs. However, the advancements in context window size for LLMs offer an alternative approach, raising the question of whether RAG remains necessary for effectively handling external knowledge. Several existing studies provide inconclusive comparisons between RAG and long-context (LC) LLMs, largely due to limitations in the benchmark designs. In this paper, we present LaRA, a novel benchmark specifically designed to rigorously compare RAG and LC LLMs. LaRA encompasses 2326 test cases across four practical QA task categories and three types of naturally occurring long texts. Through systematic evaluation of seven open-source and four proprietary LLMs, we find that the optimal choice between RAG and LC depends on a complex interplay of factors, including the model's parameter size, long-text capabilities, context length, task type, and the characteristics of the retrieved chunks. Our findings provide actionable guidelines for practitioners to effectively leverage both RAG and LC approaches in developing and deploying LLM applications. Our code and dataset is provided at: hrefhttps://github.com/Alibaba-NLP/LaRAhttps://github.com/Alibaba-NLP/LaRA.
Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 36 of its 43 references that are in the map. First posted on arXiv 14 Feb 2025.
Builds on
36 of 43 references.
Closest ancestors · 5
Same direction, newest first
- 2024Long2RAG: Evaluating Long-Context & Long-Form Retrieval-Augmented Generation with Key Point Recall30 Oct
- 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approach23 Jul
- 2024CRUD-RAG: A Comprehensive Chinese Benchmark for Retrieval-Augmented Generation of Large Language Models30 Jan
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec
- 2023ARES: An Automated Evaluation Framework for Retrieval-Augmented Generation Systems16 Nov
Other references · 31
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 734
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2017The NarrativeQA Reading Comprehension Challengecited by 597
19 more
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
- 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 312
- 2018A Survey on Deep Learning for Named Entity Recognitioncited by 282
- 2024On LLMs-Driven Synthetic Data Generation, Curation, and Evaluation: A Surveycited by 244
- 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrievalcited by 236
- 2017Why We Need New Evaluation Metrics for NLGcited by 233
- 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 208
- 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 202
- 2023ZeroSCROLLS: A Zero-Shot Benchmark for Long Text Understandingcited by 176
- 2024Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QAcited by 122
- 2023Retrieval meets Long Context Large Language Modelscited by 115
- 2021Improving Named Entity Recognition by External Context Retrieving and Cooperative Learningcited by 76
- 2024Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?cited by 56
- 2023Calibrating LLM-Based Evaluatorcited by 53
- 2024In Defense of RAG in the Era of Long-Context Language Modelscited by 53
- 2022DAMO-NLP at SemEval-2022 Task 11: A Knowledge-based System for Multilingual Named Entity Recognitioncited by 17
- 2024RetrievalQA: Assessing Adaptive Retrieval-Augmented Generation for Short-form Open-Domain Question Answeringcited by 13
- 2024Groundedness in Retrieval-augmented Long-form Generation: An Empirical Studycited by 7
Built on by
Citing papers per year: 2025: 19; 2026: 10.
29 papers.
Sort:
By area:
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 254
- 2025WebSailor: Navigating Super-human Reasoning for Web Agentcited by 229
- 2025Tongyi DeepResearch Technical Reportcited by 66
- 2025WebSailor-V2: Bridging the Chasm to Proprietary Agents via Synthetic Data and Scalable Reinforcement Learningcited by 61
- 2025Context Is What You Need: The Maximum Effective Context Window for Real World Limits of LLMscited by 12
- 2025RAGRouter: Learning to Route Queries to Multiple Retrieval-Augmented Language Modelscited by 8
- 2025Hidden in the Haystack: Smaller Needles are More Difficult for LLMs to Findcited by 7
- 2025PRELUDE: A Benchmark Designed to Require Global Comprehension and Reasoning over Long Contextscited by 7
- 2025Parametric Retrieval-Augmented Generation using Latent Routing of LoRA Adapterscited by 6
- 2026RAGRouter-Bench: A Dataset and Benchmark for Adaptive RAG Routingcited by 6
- 2025Evaluating Retrieval-Augmented Generation vs. Long-Context Input for Clinical Reasoning over EHRscited by 4
- 2025PICACO: Pluralistic In-Context Value Alignment of LLMs via Total Correlation Optimizationcited by 3
17 more
- 2026URAG: A Benchmark for Uncertainty Quantification in Retrieval-Augmented Large Language Modelscited by 3
- 2026How Retrieved Context Shapes Internal Representations in RAGcited by 2
- 2025OmniBench-RAG: A Multi-Domain Evaluation Platform for Retrieval-Augmented Generation Toolscited by 1
- 2025Incentive-Aligned Multi-Source LLM Summariescited by 1
- 2026NC-Bench: An LLM Benchmark for Evaluating Conversational Competencecited by 1
- 2026S3-Attention:Attention-Aligned Endogenous Retrieval for Memory-Bounded Long-Context Inferencecited by 1
- 2026R3AG: Retriever Routing for Retrieval-Augmented Generationcited by 1
- 2025Context Is Not Comprehensioncited by 0
- 2025Agri-Query: A Case Study on RAG vs. Long-Context LLMs for Cross-Lingual Technical Question Answeringcited by 0
- 2025Beyond RAG vs. Long-Context: Learning Distraction-Aware Retrieval for Efficient Knowledge Groundingcited by 0
- 2025On the Sensitivity of Instruction-tuned LLMs to Harmful Sentences in Long Inputscited by 0
- 2025Flash-Fusion: Enabling Expressive, Low-Latency Queries on IoT Sensor Streams with LLMscited by 0
- 2025SagaScale: A Realistic, Scalable, and High-Quality Long-Context Benchmark Built from Full-Length Novelscited by 0
- 2026Human-Like Lifelong Memory: A Neuroscience-Grounded Architecture for Infinite Interactioncited by 0
- 2026Trace Only What You Need: Structure-Aware On-Demand Hypergraph Memory for Long-Document Question Answeringcited by 0
- 2026MGAL: A Multilingual Granularity-Aware Long-Context Benchmarkcited by 0
- 2026LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoningcited by 0
- 2026LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning29 Sep 2026
- 2026MGAL: A Multilingual Granularity-Aware Long-Context Benchmark21 Aug 2026
- 2026Trace Only What You Need: Structure-Aware On-Demand Hypergraph Memory for Long-Document Question Answering9 Jun 2026
- 2026R3AG: Retriever Routing for Retrieval-Augmented Generation22 Apr 2026
- 2026Human-Like Lifelong Memory: A Neuroscience-Grounded Architecture for Infinite Interaction30 Mar 2026
- 2026URAG: A Benchmark for Uncertainty Quantification in Retrieval-Augmented Large Language Models2 Mar 2026
- 2026How Retrieved Context Shapes Internal Representations in RAG23 Feb 2026
- 2026RAGRouter-Bench: A Dataset and Benchmark for Adaptive RAG Routing30 Jan 2026
- 2026S3-Attention:Attention-Aligned Endogenous Retrieval for Memory-Bounded Long-Context Inference25 Jan 2026
- 2026NC-Bench: An LLM Benchmark for Evaluating Conversational Competence10 Jan 2026
- 2025SagaScale: A Realistic, Scalable, and High-Quality Long-Context Benchmark Built from Full-Length Novels27 Dec 2025
- 2025Parametric Retrieval-Augmented Generation using Latent Routing of LoRA Adapters21 Nov 2025
17 more
- 2025Flash-Fusion: Enabling Expressive, Low-Latency Queries on IoT Sensor Streams with LLMs14 Nov 2025
- 2025Tongyi DeepResearch Technical Report28 Oct 2025
- 2025On the Sensitivity of Instruction-tuned LLMs to Harmful Sentences in Long Inputs7 Oct 2025
- 2025Incentive-Aligned Multi-Source LLM Summaries29 Sep 2025
- 2025Beyond RAG vs. Long-Context: Learning Distraction-Aware Retrieval for Efficient Knowledge Grounding26 Sep 2025
- 2025Context Is What You Need: The Maximum Effective Context Window for Real World Limits of LLMs21 Sep 2025
- 2025WebSailor-V2: Bridging the Chasm to Proprietary Agents via Synthetic Data and Scalable Reinforcement Learning16 Sep 2025
- 2025Agri-Query: A Case Study on RAG vs. Long-Context LLMs for Cross-Lingual Technical Question Answering25 Aug 2025
- 2025Evaluating Retrieval-Augmented Generation vs. Long-Context Input for Clinical Reasoning over EHRs20 Aug 2025
- 2025PRELUDE: A Benchmark Designed to Require Global Comprehension and Reasoning over Long Contexts13 Aug 2025
- 2025OmniBench-RAG: A Multi-Domain Evaluation Platform for Retrieval-Augmented Generation Tools26 Jul 2025
- 2025PICACO: Pluralistic In-Context Value Alignment of LLMs via Total Correlation Optimization22 Jul 2025
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions7 Jul 2025
- 2025WebSailor: Navigating Super-human Reasoning for Web Agent3 Jul 2025
- 2025Context Is Not Comprehension5 Jun 2025
- 2025RAGRouter: Learning to Route Queries to Multiple Retrieval-Augmented Language Models29 May 2025
- 2025Hidden in the Haystack: Smaller Needles are More Difficult for LLMs to Find23 May 2025
- 2025RAGRouter: Learning to Route Queries to Multiple Retrieval-Augmented Language Modelscited by 8
- 2025Parametric Retrieval-Augmented Generation using Latent Routing of LoRA Adapterscited by 6
- 2026RAGRouter-Bench: A Dataset and Benchmark for Adaptive RAG Routingcited by 6
- 2026URAG: A Benchmark for Uncertainty Quantification in Retrieval-Augmented Large Language Modelscited by 3
- 2026How Retrieved Context Shapes Internal Representations in RAGcited by 2
- 2025OmniBench-RAG: A Multi-Domain Evaluation Platform for Retrieval-Augmented Generation Toolscited by 1
- 2026R3AG: Retriever Routing for Retrieval-Augmented Generationcited by 1
- 2025Beyond RAG vs. Long-Context: Learning Distraction-Aware Retrieval for Efficient Knowledge Groundingcited by 0
- 2026Trace Only What You Need: Structure-Aware On-Demand Hypergraph Memory for Long-Document Question Answeringcited by 0
- 2026Trace Only What You Need: Structure-Aware On-Demand Hypergraph Memory for Long-Document Question Answering9 Jun 2026
- 2026R3AG: Retriever Routing for Retrieval-Augmented Generation22 Apr 2026
- 2026URAG: A Benchmark for Uncertainty Quantification in Retrieval-Augmented Large Language Models2 Mar 2026
- 2026How Retrieved Context Shapes Internal Representations in RAG23 Feb 2026
- 2026RAGRouter-Bench: A Dataset and Benchmark for Adaptive RAG Routing30 Jan 2026
- 2025Parametric Retrieval-Augmented Generation using Latent Routing of LoRA Adapters21 Nov 2025
- 2025Beyond RAG vs. Long-Context: Learning Distraction-Aware Retrieval for Efficient Knowledge Grounding26 Sep 2025
- 2025OmniBench-RAG: A Multi-Domain Evaluation Platform for Retrieval-Augmented Generation Tools26 Jul 2025
- 2025RAGRouter: Learning to Route Queries to Multiple Retrieval-Augmented Language Models29 May 2025
- 2025WebSailor: Navigating Super-human Reasoning for Web Agentcited by 229
- 2025PRELUDE: A Benchmark Designed to Require Global Comprehension and Reasoning over Long Contextscited by 7
- 2025Evaluating Retrieval-Augmented Generation vs. Long-Context Input for Clinical Reasoning over EHRscited by 4
- 2026LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoningcited by 0
- 2026LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning29 Sep 2026
- 2025Evaluating Retrieval-Augmented Generation vs. Long-Context Input for Clinical Reasoning over EHRs20 Aug 2025
- 2025PRELUDE: A Benchmark Designed to Require Global Comprehension and Reasoning over Long Contexts13 Aug 2025
- 2025WebSailor: Navigating Super-human Reasoning for Web Agent3 Jul 2025
- 2025Context Is What You Need: The Maximum Effective Context Window for Real World Limits of LLMscited by 12
- 2025Hidden in the Haystack: Smaller Needles are More Difficult for LLMs to Findcited by 7
- 2025Incentive-Aligned Multi-Source LLM Summariescited by 1
- 2026NC-Bench: An LLM Benchmark for Evaluating Conversational Competencecited by 1
- 2026S3-Attention:Attention-Aligned Endogenous Retrieval for Memory-Bounded Long-Context Inferencecited by 1
- 2025Context Is Not Comprehensioncited by 0
- 2025Agri-Query: A Case Study on RAG vs. Long-Context LLMs for Cross-Lingual Technical Question Answeringcited by 0
- 2025On the Sensitivity of Instruction-tuned LLMs to Harmful Sentences in Long Inputscited by 0
- 2025Flash-Fusion: Enabling Expressive, Low-Latency Queries on IoT Sensor Streams with LLMscited by 0
- 2025SagaScale: A Realistic, Scalable, and High-Quality Long-Context Benchmark Built from Full-Length Novelscited by 0
- 2026Human-Like Lifelong Memory: A Neuroscience-Grounded Architecture for Infinite Interactioncited by 0
- 2026MGAL: A Multilingual Granularity-Aware Long-Context Benchmarkcited by 0
- 2026MGAL: A Multilingual Granularity-Aware Long-Context Benchmark21 Aug 2026
- 2026Human-Like Lifelong Memory: A Neuroscience-Grounded Architecture for Infinite Interaction30 Mar 2026
- 2026S3-Attention:Attention-Aligned Endogenous Retrieval for Memory-Bounded Long-Context Inference25 Jan 2026
- 2026NC-Bench: An LLM Benchmark for Evaluating Conversational Competence10 Jan 2026
- 2025SagaScale: A Realistic, Scalable, and High-Quality Long-Context Benchmark Built from Full-Length Novels27 Dec 2025
- 2025Flash-Fusion: Enabling Expressive, Low-Latency Queries on IoT Sensor Streams with LLMs14 Nov 2025
- 2025On the Sensitivity of Instruction-tuned LLMs to Harmful Sentences in Long Inputs7 Oct 2025
- 2025Incentive-Aligned Multi-Source LLM Summaries29 Sep 2025
- 2025Context Is What You Need: The Maximum Effective Context Window for Real World Limits of LLMs21 Sep 2025
- 2025Agri-Query: A Case Study on RAG vs. Long-Context LLMs for Cross-Lingual Technical Question Answering25 Aug 2025
- 2025Context Is Not Comprehension5 Jun 2025
- 2025Hidden in the Haystack: Smaller Needles are More Difficult for LLMs to Find23 May 2025
Similar, not cited
Close in wording, no citation either way
- 2024Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAG
- 2025Stronger Baselines for Retrieval-Augmented Generation with Long-Context Language Models
- 2025When Retrieval Succeeds and Fails: Rethinking Retrieval-Augmented Generation for LLMs
- 2024Long Context RAG Performance of Large Language Models
- 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wisely
- 2024Don't Do RAG: When Cache-Augmented Generation is All You Need for Knowledge Tasks
- 2024Long Context vs. RAG for LLMs: An Evaluation and Revisits
- 2025On the Influence of Context Size and Model Choice in Retrieval-Augmented Generation Systems