The Distracting Effect: Understanding Irrelevant Passages in RAG
Chen Amiraz, Florin Cuconasu, Simone Filice, Zohar Karnin
TL;DR
The paper tackles the problem of distracting passages in Retrieval Augmented Generation (RAG) by defining a quantifiable distracting effect $DE_q(p)$ and demonstrating its robustness across diverse LLMs. It develops retrieval- and generation-based strategies to obtain hard distractors and validates their impact across multiple QA benchmarks, showing that strong distractors correlate with degraded answer accuracy. By combining these distracting passages into training data, the authors fine-tune LLMs to become more robust to distraction, achieving notable improvements (up to 7.5% in some settings) on both in-distribution and out-of-distribution tasks. The work provides a practical framework for assessing and leveraging hard distractors to enhance RAG systems, while acknowledging limits in taxonomy coverage and language scope for future extension.
Abstract
A well-known issue with Retrieval Augmented Generation (RAG) is that retrieved passages that are irrelevant to the query sometimes distract the answer-generating LLM, causing it to provide an incorrect response. In this paper, we shed light on this core issue and formulate the distracting effect of a passage w.r.t. a query (and an LLM). We provide a quantifiable measure of the distracting effect of a passage and demonstrate its robustness across LLMs. Our research introduces novel methods for identifying and using hard distracting passages to improve RAG systems. By fine-tuning LLMs with these carefully selected distracting passages, we achieve up to a 7.5% increase in answering accuracy compared to counterparts fine-tuned on conventional RAG datasets. Our contribution is two-fold: first, we move beyond the simple binary classification of irrelevant passages as either completely unrelated vs. distracting, and second, we develop and analyze multiple methods for finding hard distracting passages. To our knowledge, no other research has provided such a comprehensive framework for identifying and utilizing hard distracting passages.
