Retrieval

How Faithful are RAG Models? (ClashEval)

First page
How Faithful are RAG Models? (ClashEval)
Paper summary

ClashEval constructs a 1,200-question benchmark across six domains with intentionally corrupted retrieved documents to measure when RAG helps and when it misleads GPT-4 and other top LLMs.

Ask this paper

Key points
01

Controlled conflict setup: Questions span drug dosages, Olympic records, locations, and other verifiable facts. Retrieved documents are perturbed from subtle to obvious errors so the authors can study model behavior under realistic vs implausible corruption.

02

RAG can override correct priors: LLMs abandon their correct internal knowledge over 60% of the time when the retrieved document is wrong but plausible - a strong demonstration that retrieval can hurt as much as help.

03

Prior strength matters: The weaker a model's initial confidence (measured via token probabilities), the more it capitulates to the retrieved content. Models with strong, high-probability priors resist incorrect retrieval more effectively.

04

Simple interventions help: The authors show that exploiting confidence signals - for example, gating acceptance of retrieved content on the model's prior probability - measurably improves accuracy under conflicting information.

Abstract

Retrieval augmented generation (RAG) is frequently used to mitigate hallucinations and provide up-to-date knowledge for large language models (LLMs). However, given that document retrieval is an imprecise task and sometimes results in erroneous or even harmful content being presented in context, this raises the question of how LLMs handle retrieved information: If the provided content is incorrect, does the model know to ignore it, or does it recapitulate the error? Conversely, when the model's initial response is incorrect, does it always know to use the retrieved information to correct itself, or does it insist on its wrong prior response? To answer this, we curate a dataset of over 1200 questions across six domains (e.g., drug dosages, Olympic records, locations) along with content relevant to answering each question. We further apply precise perturbations to the answers in the content that range from subtle to blatant errors. We benchmark six top-performing LLMs, including GPT-4o, on this dataset and find that LLMs are susceptible to adopting incorrect retrieved content, overriding their own correct prior knowledge over 60% of the time. However, the more unrealistic the retrieved content is (i.e. more deviated from truth), the less likely the model is to adopt it. Also, the less confident a model is in its initial response (via measuring token probabilities), the more likely it is to adopt the information in the retrieved content. We exploit this finding and demonstrate simple methods for improving model accuracy where there is conflicting retrieved content. Our results highlight a difficult task and benchmark for LLMs -- namely, their ability to correctly discern when it is wrong in light of correct retrieved content and to reject cases when the provided content is incorrect.

Every Monday
Get next week’s papers.
Subscribe on Substack