In Retrieval-Augmented Generation (RAG) systems, Large Language Models (LLMs) are provided with external documents to help them answer questions accurately. However, the "real world" of retrieved data is messy. Documents might be incomplete, conflict with one another, or contain outright misinformation.
While many benchmarks test an LLM's world knowledge, few rigorously test whether a model can suppress its own internal "beliefs" to follow a specific, potentially noisy, provided text. This creates a critical distinction between factual hallucination (getting world facts wrong) and faithfulness hallucination (ignoring the provided context). Faithfulness is vital for high-stakes fields like law or medicine, where a model must answer based only on the specific case files or latest research provided, not on its general training data.
To address this, researchers have introduced FaithEval, a new, large-scale benchmark of 4.9K samples designed to measure how well LLMs can stick to a provided context, even when that context is unanswerable, contradictory, or flat-out wrong.
The Three Pillars of FaithEval
FaithEval evaluates models across three specific, challenging scenarios designed to mimic real-world retrieval failures:
- Unanswerable: The context looks relevant but lacks the specific information needed to answer the prompt.
- Inconsistent: Multiple documents provide different, conflicting answers to the same question.
- Counterfactual: The context provides evidence for a claim that contradicts common sense or established facts (e.g., "wood is magnetic").
To build this dataset, the authors used a rigorous four-stage framework. They started with 11 diverse existing QA datasets (like SQuAD, NaturalQuestions, and ARC-Challenge), used GPT-4o to modify the contexts into the three scenarios above, and then employed both LLM-as-a-judge auto-evaluation and human validation to ensure high quality.
Key Insights: The "Stubbornness" of Scale
The study reveals a significant "faithfulness gap" across the board. Surprisingly, larger, more capable models aren't always more reliable when it comes to strict context adherence.
- The Curse of Strong Priors: Larger models are so well-trained on world facts that they find it harder to believe a counterfactual context. For example, when told "wood is magnetic," top-tier models often revert to their internal knowledge that wood is buoyant, ignoring the prompt's constraints.
- Small Models Punch Above Their Weight: In the counterfactual task, smaller models like the Phi-3 series and Mistral-7B actually outranked some giants. Their internal world models are less rigid, making them more "malleable" and better at following the provided text.
- Sycophancy vs. Faithfulness: When models are explicitly instructed to look for conflicts, they sometimes become "sycophantic"—imagining conflicts or claiming things are "unknown" even in perfectly normal, valid contexts.
- Chain-of-Thought (CoT) is a Band-Aid: While CoT prompting improves faithfulness across the board, it doesn't close the gap entirely. Even with explicit reasoning steps, models still struggle to ignore their internal biases.
Key Results
When put to the test, the benchmark revealed clear leaders and surprising vulnerabilities among state-of-the-art models.
- Anthropic Leads the Pack: Claude 3.5 Sonnet emerged as the most "faithful" model overall, leading with a normalized accuracy of 76.8%.
- The Counterfactual Crash: GPT-4o, which nears 96% accuracy on standard science questions, plummeted to 47.5% when the context provided a counterfactual answer.
- Abstention is Hard: Models struggle significantly with the "Unanswerable" task. For instance, Phi-3-medium achieves 75.8% on original contexts but drops to a mere 7.4% accuracy when it needs to admit it doesn't know the answer based on the provided text.
- Inconsistency Handling: Proprietary models (like GPT-4 and Claude) significantly outperformed open-source models at identifying and resolving conflicting information within a context.
Looking Forward
FaithEval highlights a critical blind spot in current LLM development. As models are trained on ever-expanding datasets, the "counterfactuals" of today might become the "facts" of tomorrow. The authors suggest that future research should focus on architectural changes or specialized training objectives that allow models to dynamically "switch off" their internal knowledge when a trusted external context is provided.
Summary updated