Why So Gullible? Enhancing the Robustness of Retrieval-Augmented Models against Counterfactual Noise

Giwon Hong, Jeonghwan Kim, Junmo Kang, Sung-Hyon Myaeng, Joyce Jiyoung Whang

Abstract

Retrieval-Augmented Generation (RAG) models often fail when presented with "counterfactual noise"—documents that are relevant to a query but contain incorrect information. This paper investigates the vulnerability of current models to such noise and proposes DISCERN AND ANSWER, a framework that incorporates a specialized discriminator to identify and filter misleading documents. Experiments on Natural Questions and TriviaQA benchmarks demonstrate that this approach significantly improves the robustness of both fine-tuned models like Fusion-in-Decoder (FiD) and large language models like GPT-3.5.

Introduction

Retrieval-Augmented Generation (RAG) has become a cornerstone for grounding Large Language Models (LLMs) in external, factual data. However, a critical weakness exists: the assumption that relevance equals truth. In real-world applications, retrieved documents may contain outdated information, hallucinations, or deliberate misinformation. When a model encounters conflicting information across multiple "relevant" documents, it often defaults to the incorrect data, a phenomenon the authors term "gullibility." This paper explores why models are so easily misled and introduces methods to mitigate this vulnerability.

Methods

The authors propose the DISCERN AND ANSWER framework, which adds an explicit discrimination step to the RAG pipeline. Three primary implementations are explored:

  1. FiD with Jointly Learned Discriminator: The Fusion-in-Decoder (FiD) architecture is modified to include a multi-task objective. The encoder is trained to not only answer questions but also classify documents as "perturbed" or "original" using binary cross-entropy and contrastive losses.
  2. Instruction-Based Discrimination: For black-box models like GPT-3.5, a specialized prompt instructs the model to identify and ignore perturbed passages before generating an answer.
  3. Hybrid Grounding: Recognizing that small, fine-tuned discriminators often outperform the zero-shot capabilities of large LLMs, the authors propose injecting the output of a fine-tuned FiD discriminator directly into the GPT-3.5 prompt.
Overview of the DISCERN AND ANSWER framework, showing FiD with a jointly learned discriminator and GPT-3.5 grounded on FiD's discrimination.

Experimental Setup

The study utilizes two standard open-domain question answering (ODQA) benchmarks: Natural Questions (NQ-open) and TriviaQA (TQA-open). To evaluate robustness, the authors introduce two types of noise:

  • Entity Replacement: Swapping the correct answer with a random entity of the same type.
  • MACNOISE (Machine-Generated Noise): A more sophisticated benchmark where GPT-4 generates realistic counterfactual documents through global revisions or adding plausible but false context.

Results and Discussion

The results highlight the extreme brittleness of standard RAG models. For instance, FiD's accuracy can drop from ~63% to ~30% when noise is introduced. However, the proposed discrimination methods offer significant improvements.

Main results showing Exact Match (EM) scores for FiD and GPT-3.5 across different perturbation levels (0%, 15%, 25%, 35%) on Dev and Test sets.

Key findings include:

  • Robustness Gains: On NQ-open with 35% noise, the fine-tuned discriminator improved FiD's Exact Match (EM) score by +5.8 points on the test set.
  • LLM Enhancement: Grounding GPT-3.5 on the FiD discriminator's output yielded an average gain of +3.8 EM points on the test set.
  • Generalization: A discriminator trained on NQ transfers effectively to TriviaQA, suggesting it learns the general characteristics of misinformation rather than just dataset-specific facts.
  • Knowledge Conflict: At high noise levels (35%), GPT-3.5 often performs worse with retrieval than without it, indicating it trusts noisy context over its internal parametric knowledge.

Limitations and Conclusion

While the DISCERN AND ANSWER framework improves robustness, a performance gap remains between clean and noisy settings. The authors note that generating high-quality noise like MACNOISE is computationally expensive. Furthermore, constraints on context windows limited testing to the top 5 retrieved documents. Future work should focus on better integrating discriminator confidence into the decoding process and scaling to larger document sets.

In conclusion, the "gullibility" of RAG models poses a significant risk to their reliability. By explicitly training models to discern between factual and counterfactual information, this research provides a path toward more robust and trustworthy retrieval-augmented systems.

Summary updated

BibTeX
@inproceedings{hong2024why,
  author = {Giwon Hong and Jeonghwan Kim and Junmo Kang and Sung-Hyon Myaeng and Joyce Jiyoung Whang},
  title = {{Why So Gullible? Enhancing the Robustness of Retrieval-Augmented Models against Counterfactual Noise}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-naacl.159},
}
Figure