Abstract
In Retrieval-Augmented Generation (RAG) systems, the prevailing assumption is that providing more retrieved context to a reader model leads to improved performance. This study challenges that assumption by identifying "detrimental contexts"—retrieved passages that confuse the model and cause it to flip previously correct answers to incorrect ones. By filtering these passages using an oracle approach, the authors demonstrate a potential 10% absolute improvement in accuracy across standard benchmarks without additional model training.
Introduction
Modern Open-Domain Question Answering (ODQA) typically employs a "retrieve-then-read" architecture. A retriever identifies relevant documents from a large corpus, and a reader model, such as Fusion-in-Decoder (FiD), processes these documents to generate a final answer. While it is generally believed that performance increases monotonically with the number of retrieved passages, this research identifies a phenomenon termed damaging retrieval. In many cases, adding semantically relevant but misleading documents actually degrades the reader's performance.
Methodology
To analyze this phenomenon, the authors treat the reader model as a "black-box oracle" to observe how its predictions change as passages are added to the context. They introduce a new metric, Accumulated Exact Match (AcEM), which calculates the maximum accuracy achievable if a system could perfectly select the optimal subset of retrieved passages.
Passage Categorization
The study categorizes retrieved passages into five types based on their impact on the model's Exact Match (EM) transitions:
- Definite Positive (DP): Passages that flip an incorrect prediction to a correct one.
- Definite Negative (DN): The primary focus of the study; these passages flip a correct prediction to an incorrect one.
- Initial Zeros (IZ): Uninformative passages at the beginning of the retrieval list.
- Semi-Positive/Negative (SP/SN): Passages that do not change the model's current state (remaining correct or incorrect).
To ensure that "detrimental" effects were not simply artifacts of string-matching (e.g., the model providing a correct answer with different phrasing), the authors utilized LLMs (GPT-3.5 and Claude 2) for Semantic Evaluation (SeEM). This confirmed that DN passages genuinely cause reasoning failures rather than just lexical variations.
Experimental Setup
The researchers evaluated their findings on two primary benchmarks:
- Natural Questions (NQ): Queries derived from real-world Google Search logs.
- TriviaQA (TQA): Complex questions authored by trivia enthusiasts.
The experiments utilized three retrieval systems—DPR, SEAL, and Contriever—with Fusion-in-Decoder (FiD) serving as the primary reader model.
Key Insights
1. The Monotonicity Myth
The study reveals a significant performance gap between standard EM (using the top 100 retrieved passages) and AcEM (using the optimal subset). This gap is approximately 10 percentage points, suggesting that current RAG systems are significantly hindered by the inclusion of detrimental contexts.
2. The Failure of Attention as a Filter
A common hypothesis is that transformer-based models will naturally ignore irrelevant data through attention mechanisms. However, the authors found that detrimental (DN) passages often receive high attention scores. This indicates that reader models cannot inherently distinguish between helpful facts and distracting noise based on attention alone.
3. Efficiency and Redundancy
The research found that using only five carefully selected passages can outperform the standard practice of using 100 passages. This suggests that the majority of retrieved context in standard pipelines is not only redundant but potentially harmful, leading to unnecessary computational costs.
4. The Nature of Detriment
Qualitative analysis of DN passages showed they often contain "distractors"—information that is semantically related to the query but points to a different, often outdated or slightly irrelevant, answer. These distractors are sophisticated enough to mislead the reader's integration logic.
Results
Across both NQ and TriviaQA, filtering out detrimental passages resulted in an absolute improvement of ~10% in EM scores. This effect was consistent across all three retrieval models (DPR, SEAL, and Contriever), indicating that the issue is a fundamental challenge in how reader models fuse information from multiple sources.
Limitations and Future Work
The primary challenge in applying these findings is the "Oracle" problem: identifying a detrimental passage currently requires knowing the correct answer in advance to observe the prediction flip. When the authors attempted to train binary classifiers (using RoBERTa and T5) to predict detriment without the gold answer, the classifiers struggled. Because DN passages are semantically similar to DP passages, they are difficult to distinguish without deeper reasoning.
Future research is needed to develop more robust reranking or filtering models capable of identifying subtle distractors. Additionally, further investigation is required to see how these detrimental contexts affect decoder-only Large Language Models (LLMs), which may be even more sensitive to context order and content.
Summary updated