Detrimental Contexts in Open-Domain Question Answering

Philhoon Oh, James Thorne

Abstract: For knowledge-intensive NLP tasks, it has been widely accepted that accessing more information is a contributing factor to improvements in the model's end-to-end performance. However, counter-intuitively, too much context can have a negative impact on the model when evaluated on common question answering (QA) datasets. In this paper, we analyze how passages can have a detrimental effect on retrieve-then-read architectures used in question answering. Our empirical evidence indicates that the current read architecture does not fully leverage the retrieved passages and significantly degrades its performance when using the whole passages compared to utilizing subsets of them. Our findings demonstrate that model accuracy can be improved by 10% on two popular QA datasets by filtering out detrimental passages. Additionally, these outcomes are attained by utilizing existing retrieval methods without further training or data. We further highlight the challenges associated with identifying the detrimental passages. First, even with the correct context, the model can make an incorrect prediction, posing a challenge in determining which passages are most influential. Second, evaluation typically considers lexical matching, which is not robust to variations of correct answers. Despite these limitations, our experimental results underscore the pivotal role of identifying and removing these detrimental passages for the context-efficient retrieve-then-read pipeline.

Introduction

Modern Open-Domain Question Answering (ODQA) systems typically follow a "retrieve-then-read" pipeline: a retriever finds relevant documents from a massive corpus (like Wikipedia), and a reader model (such as Fusion-in-Decoder) extracts or generates an answer. The prevailing wisdom has been that as long as the correct passage is included in the retrieved set, adding more passages only helps. However, this research highlights a phenomenon called damaging retrieval, where adding relevant-looking but non-evidential documents causes a model that was previously correct to suddenly fail.

The Phenomenon of EM Regression

To understand this behavior, the researchers treated the reader model as a "black box" and tracked its predictions through incremental inference. By adding retrieved passages one by one and monitoring the Exact Match (EM) score, they identified instances of "EM Score Regression."

Illustration of EM Score Regression where adding a new passage (P4) causes the model to flip from a correct to an incorrect answer.

As shown in Figure 1, a model may correctly answer a question given a subset of passages (P1, P2, P3). However, the introduction of a new passage (P4) can trigger a regression, where the model's output flips from correct to incorrect. This led to the categorization of passages into five types, most notably Definite Positive (DP) passages that fix incorrect answers and Definite Negative (DN) passages that cause regressions.

The "More is Better" Fallacy

A key metric introduced in this study is Accumulated EM (AcEM), which represents the score if the model provided the correct answer at any point in the retrieval chain. In an ideal system, the final EM score after 100 passages would match the AcEM. However, empirical results across multiple datasets and retrievers show a significant performance gap.

Comparison of Exact Match (EM) and Accumulated EM (AcEM) across 100 contexts for different retrievers and datasets, highlighting the performance gap.

As illustrated in Figure 4, while AcEM continues to rise as more context is added, the actual EM score often plateaus or declines. This gap proves that models often "know" the answer at some point but are distracted by subsequent noise as the context window grows. This effect was consistent across different retrieval methods like DPR, SEAL, and Contriever.

Key Insights and Efficiency Gains

The research yields several critical insights into the nature of these detrimental contexts:

  1. 10% Performance Jump: By filtering out detrimental (DN) and redundant passages, the EM score improved by approximately 10 percentage points across both Natural Questions (NQ) and TriviaQA.
  2. Efficiency Gains: By utilizing optimized subsets of passages, the researchers achieved higher accuracy with just 5 passages than the standard model achieved with 100 passages, representing a 20x reduction in context overhead.
  3. The Semantic Gap: Qualitative analysis revealed that many "detrimental" flips were actually evaluation failures. In many cases, a DN passage caused the model to provide a more specific or alternative answer that was semantically correct but did not match the rigid "gold" string (e.g., providing a full date instead of just the year).
  4. Attention is Insufficient: Internal attention scores are not a reliable way to filter context; DN passages often receive very high attention, making them indistinguishable from helpful passages using standard attention-based metrics.

Conclusion

This study underscores the pivotal role of identifying and removing detrimental passages to create a context-efficient retrieve-then-read pipeline. While identifying these passages remains an "oracle problem"—currently requiring knowledge of the correct answer—the potential for significant accuracy and efficiency gains highlights a vital new direction for ODQA research: the development of answer-agnostic context filters.

Summary updated

BibTeX
@inproceedings{oh2023detrimental,
  author = {Philhoon Oh and James Thorne},
  title = {{Detrimental Contexts in Open-Domain Question Answering}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=HickNiCqk9},
}
Figure