TL;DR
Retrieval-Augmented Generation (RAG) is often treated as a drop-in performance booster, but poor configurations can cause language models to perform worse than if they had been given no context at all. Through an empirical analysis framework called RAGGED, the authors show that reader models fall into two distinct noise-sensitivity profiles—improve-then-plateau versus peak-then-decline—and demonstrate that upgrading from lexical to neural retrievers yields radically different payoffs depending on whether the domain is open or specialized.
What Problem Does This Paper Address?
While RAG theoretically grounds large language models (LLMs) with external evidence, prior research offers conflicting guidance on how to build RAG pipelines:
- Does feeding more passages ($k$) continually improve accuracy, saturate, or actively harm generation?
- Does a better retriever (e.g., dense neural over sparse lexical) guarantee downstream gains?
The authors introduce RAGGED (Retrieval Augmented Generation Generalized Evaluation Device) to systematically diagnose how reader architecture, retriever type, context volume, and noise exposure interact across diverse question-answering tasks.
Methods
The authors evaluated combinations across four axes:
- Retrievers: BM25 (sparse lexical), ColBERTv2 (token-level late interaction dense), and Contriever (unsupervised document-level dense). A subset also tested post-retrieval reranking using
bge-reranker-large. - Readers: Closed-source API models (GPT-3.5-turbo, GPT-4o, Claude-3-Haiku) and open-weight models (Flan-T5-XXL, Flan-UL2, LLaMA-2 [7B, 70B], LLaMA-3 [8B, 70B]).
- Context Depth ($k$): Passages varied systematically from $k = 1$ to $50$.
- Data Slicing: To isolate noise sensitivity, instances were partitioned into:
- Gold present: At least one ground-truth passage appears in the top-$k$.
- Gold absent: No ground-truth passages appear (pure noise/distractors).
- Context-free (closed-book baseline).
Evaluations used unigram $F_1$ against gold answers, with trends validated using an LLM-as-a-judge approach (Prometheus-7b-v2.0) on a 5-point correctness scale.
Datasets
The study utilized three English document-based QA benchmarks:
- Natural Questions (NQ) [KILT version]: 2,837 queries; single-hop open-domain Wikipedia search queries.
- HotpotQA [KILT version]: 5,600 queries; multi-hop open-domain Wikipedia questions requiring joint reasoning over at least two disparate documents.
- BioASQ (Task 11B): 3,837 queries; domain-specific biomedical questions evaluated against PubMed/Medline abstracts and titles.
Key Insights and Ideas
- Readers exhibit two distinct behavioral archetypes:
- Improve-then-plateau (GPT-3.5, GPT-4o, Flan-T5, Flan-UL2): These models effectively filter noise. Downstream $F_1$ rises steadily with $k$ and saturates around $k \ge 10$ to $20$. Flan models likely benefit from their mixture-of-denoisers instruction pre-training.
- Peak-then-decline (LLaMA-2, LLaMA-3, Claude-3-Haiku): Sensitive to irrelevant tokens. Performance peaks at very small context windows ($k < 5$, often $k=1$ or $2$) and sharply degrades as additional distractor passages are introduced.
- No-context is not a floor: When distracted by noisy contexts, sensitive readers (such as LLaMA-2 and Claude-3-Haiku) frequently score lower with RAG than they do in a closed-book setting—even when the gold evidence passage is present in the context window.
- Neural retrievers are not always better for sensitive readers: ColBERT achieves higher recall than BM25, but it often surfaces semantically relevant yet unhelpful distractors. For peak-then-decline models, BM25’s simpler lexical errors are sometimes less disruptive than ColBERT’s semantic distractors.
- Retriever gains do not scale linearly into reader gains:
- In open-domain tasks (NQ, HotpotQA), huge retriever recall boosts from ColBERT (+14.6 to +21.3 points over BM25) yielded modest reader gains (1.9 to 5.2 $F_1$ points).
- In specialized domains (BioASQ), a tiny retriever improvement (+0.7 recall) produced an outsized reader gain (+1.5 average $F_1$, a reader-to-retriever gain ratio of 2.08), showing that precision in niche terminology is disproportionately valuable.
Key Results
- Flan-T5 is an elite RAG reader: Despite weak closed-book performance, Flan-T5 achieved massive gains with RAG (16 to 30 $F_1$ point average improvement across datasets), placing it among the top-3 performers overall.
- Claude-3-Haiku and LLaMA-3 struggle with RAG noise: Claude-3-Haiku consistently underperformed its closed-book baseline on single-hop tasks (averaging -15.7 $F_1$ on NQ and -21.7 $F_1$ on BioASQ when paired with ColBERT). LLaMA-3 (8B and 70B) showed minimal gains and often degraded under retrieval context.
- Multi-hop reasoning benefits most: Multi-hop questions (HotpotQA) showed the highest overall RAG advantage (average optimal gain of +14.2 $F_1$ points with ColBERT), as models cannot easily answer multi-source synthesis questions via memorized parametric weights alone.
- Computational Trade-Offs: While BM25 is cheaper during retrieval, its optimal $k^*$ is 2–3× higher than ColBERT's, shifting computational latency and cost downstream to LLM inference.
Limitations and Future Work
- Black-Box Proprietary Models: Hypotheses connecting noise tolerance to model architecture (e.g., decoder-only vs. encoder-decoder denoising objectives) could not be verified on closed-source APIs (GPT, Claude).
- Generation Format: Reader models were evaluated primarily on short, single-phrase extractions ($\le 10$ tokens) via unigram $F_1$; behavior on long-form, open-ended generation remains to be characterized.
- Future Directions: Developing dynamic context-selection and aggressive noise-filtering layers tailored to reader sensitivities, as well as optimizing retriever-reader co-design rather than evaluating components in isolation.
Summary updated