[Paper Review] FaithEval: Can Your Language Model Stay Faithful to Context, Even If "The Moon is Made of Marshmallows"
FaithEval introduces a comprehensive benchmark to evaluate language model faithfulness to context under challenging conditions—unanswerable, inconsistent, and counterfactual contexts—using a four-stage validation framework with LLM and human annotation. Despite strong performance on standard benchmarks, even top models like GPT-4o and Llama-3-70B-Instruct show significant faithfulness failures, revealing that model size does not guarantee improved contextual alignment.
Ensuring faithfulness to context in large language models (LLMs) and retrieval-augmented generation (RAG) systems is crucial for reliable deployment in real-world applications, as incorrect or unsupported information can erode user trust. Despite advancements on standard benchmarks, faithfulness hallucination-where models generate responses misaligned with the provided context-remains a significant challenge. In this work, we introduce FaithEval, a novel and comprehensive benchmark tailored to evaluate the faithfulness of LLMs in contextual scenarios across three diverse tasks: unanswerable, inconsistent, and counterfactual contexts. These tasks simulate real-world challenges where retrieval mechanisms may surface incomplete, contradictory, or fabricated information. FaithEval comprises 4.9K high-quality problems in total, validated through a rigorous four-stage context construction and validation framework, employing both LLM-based auto-evaluation and human validation. Our extensive study across a wide range of open-source and proprietary models reveals that even state-of-the-art models often struggle to remain faithful to the given context, and that larger models do not necessarily exhibit improved faithfulness.Project is available at: https://github.com/SalesforceAIResearch/FaithEval.
Motivation & Objective
- Address the critical gap in evaluating faithfulness hallucination in retrieval-augmented generation (RAG) systems, where models generate responses unsupported by provided context.
- Simulate real-world retrieval failures such as incomplete, contradictory, or fabricated context to test model robustness.
- Develop a fine-grained, holistic benchmark that disentangles faithfulness from factual hallucination and captures nuanced contextual misalignment.
- Investigate whether larger or state-of-the-art models inherently exhibit better faithfulness to context, especially when context contradicts common knowledge.
- Provide a scalable, high-quality benchmark with rigorous validation to support future research on reliable, trustworthy LLMs in high-stakes domains.
Proposed method
- Design three distinct tasks: unanswerable (no answer in context), inconsistent (context contradicts known facts), and counterfactual (context contains false premises).
- Employ a four-stage context construction pipeline: (1) generate question-answer pairs, (2) create context with deliberate hallucinations, (3) validate via multi-turn LLM-based verification, and (4) human annotation for final quality control.
- Use both LLM-based auto-evaluation and human-in-the-loop validation to ensure high-quality, diverse, and realistic contextual QA pairs.
- Construct 4.9K high-quality samples across all three tasks, with strict criteria for context coherence, factual deviation, and answer alignment.
- Integrate system prompts for consistent context generation, including justification checks to improve context quality and ensure proper replacement of old answers.
- Benchmark 18 competitive open-source and proprietary models across all tasks, using both strict and non-strict matching for evaluation.
Experimental results
Research questions
- RQ1To what extent do state-of-the-art LLMs maintain faithfulness when the provided context is unanswerable, inconsistent, or counterfactual?
- RQ2Does increasing model size (e.g., GPT-4o, Llama-3-70B) lead to improved faithfulness in contextually challenging scenarios?
- RQ3How effective are current LLM-based and human-validated context construction frameworks in generating high-quality, realistic faithfulness challenges?
- RQ4What is the performance gap between proprietary and open-source models in maintaining faithfulness under contextually adversarial conditions?
- RQ5Can a fine-grained benchmark like FaithEval effectively expose and quantify faithfulness hallucinations that standard benchmarks miss?
Key findings
- Even the most advanced models, including GPT-4o and Claude 3.5 Sonnet, exhibit significant faithfulness failures, with GPT-4o achieving only 93.2% accuracy on the counterfactual task under strict matching.
- Llama-3-70B-Instruct, despite its size, shows poor faithfulness, scoring only 56.3% on the inconsistent context task under strict matching, indicating no direct correlation between scale and faithfulness.
- GPT-4o achieves the highest overall performance on FaithEval, with 96.0% accuracy on unanswerable contexts and 98.0% on counterfactual contexts, but still fails on 2% of counterfactual cases.
- Smaller models like Phi-3-mini and Phi-3.5-mini show extremely low faithfulness, with scores below 10% on most tasks, highlighting that size alone does not ensure reliability.
- Command R+ and Claude 3.5 Sonnet perform strongly across all tasks, with Command R+ achieving 94.7% on the counterfactual task, suggesting architectural and alignment improvements matter.
- The benchmark reveals that faithfulness hallucination remains a pervasive issue—no model achieves near-perfect performance, and even top models fail on 10–20% of cases in challenging contexts.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.