Abstract
As Large Language Models (LLMs) are increasingly integrated into Retrieval-Augmented Generation (RAG) systems for specialized domains, the requirement for "faithfulness"—adhering strictly to provided evidence—becomes paramount. However, models often suffer from faithfulness hallucinations, prioritizing their internal parametric knowledge over provided context. We introduce FaithEval, a benchmark of 4.9K high-quality problems designed to test LLMs against unanswerable, inconsistent, and counterfactual contexts. Our findings reveal that larger models are not inherently more faithful and that knowledge conflict remains a significant barrier to reliable deployment.
Introduction
In fields like law or medicine, LLMs must act as reasoning engines over specific retrieved documents rather than general-purpose knowledge bases. Faithfulness is the measure of how well a model generates responses aligned only with the provided context. Current benchmarks often fail to isolate a model's ability to ignore its training data when faced with "noisy" input. FaithEval addresses this by specifically targeting scenarios where the context is missing information, contains conflicting reports, or presents counterfactual claims (e.g., "wood is magnetic").
Methodology
The researchers employed a four-stage framework to construct the FaithEval dataset:
- Context Generation: Using GPT-4o to modify existing QA datasets into three "noisy" types.
- Task Construction: Pairing contexts with specific instructions, such as answering "unknown" when evidence is absent.
- Auto-Evaluation: Utilizing an LLM judge to verify that answers are supported by the modified context.
- Human Validation: Professional annotators performed final checks, achieving over 98% agreement on task validity.
Task Definitions
FaithEval comprises three distinct challenges derived from 10 diverse source datasets:
- Unanswerable Context: The text is relevant but lacks the specific data needed to answer the question.
- Inconsistent Context: Multiple documents provide conflicting answers to the same query.
- Counterfactual Context: The text contains "facts" that contradict world knowledge, forcing the model to choose between its memory and the provided text.
Key Results and Insights
Evaluation of 18 prominent models shows that Claude 3.5 Sonnet leads in overall faithfulness, followed by the GPT-4 family. However, performance varies significantly across task types.
The Knowledge Conflict Struggle
Models struggle most when provided context contradicts their internal training. In counterfactual tasks, GPT-4o's accuracy dropped from 96.3% (answering from memory) to 47.5% when forced to use provided "fake" facts. This highlights a persistent bias toward parametric knowledge.
Scaling and Faithfulness
Surprisingly, model size is not a reliable predictor of faithfulness. In several counterfactual tests, smaller models like Mistral-7B demonstrated higher reliability in sticking to the provided context than massive models like Llama-3-70B. Furthermore, the "Unanswerable" task proved the most difficult; many models hallucinated answers even when explicitly told to admit the information was missing.
The Sycophancy Trap
When models are prompted to look for conflicts, their performance on straightforward, "normal" contexts often decreases. They become sycophantic, attempting to find problems where none exist to satisfy the user's prompt instructions. While Chain-of-Thought (CoT) prompting improves results, it does not fully bridge the gap in faithfulness.
Conclusion
FaithEval highlights a sobering reality: even state-of-the-art LLMs frequently prioritize internal knowledge over provided evidence. Future work must focus on long-context faithfulness and developing training techniques that reward contextual loyalty over general knowledge retrieval to ensure the safety and reliability of RAG-based systems.
Summary updated