Definition · AI basics
Faithfulness in language model outputs
Faithfulness in language model outputs is how much an answer agrees with its source text. The source is the text the model got, such as a document to summarise or retrieved context. A faithful answer makes no claim that the source does not support. Faithfulness is not truth, because the source can be incorrect.
Last reviewed
Key points
- A faithful output makes only claims that the source text supports. An unfaithful output adds or changes facts.
- Faithfulness compares the output with the source, not with the world. A faithful answer to an incorrect document is incorrect.
- The Ragas faithfulness score divides the supported claims by all claims in the answer. The score is from 0 to 1.
- In a 2020 human study of 500 XSum news summaries, only 20.7% to 26.9% of model summaries were fully faithful.
- The word has a second sense. A chain of thought is faithful only if it shows the actual cause of the answer.
How faithfulness is checked
A check of faithfulness compares two texts: the source and the output. The source is the text that the language model got. An example is the context of a retrieval augmented generation system.
The Ragas faithfulness metric (Ragas documentation) uses three steps:
- Divide the answer into claims.
- Find if the retrieved context supports each claim.
- Divide the supported claims by all claims. The score is from 0 to 1.
Ragas gives this example. The context gives the birth of Einstein as Germany, 14 March 1879. The answer gives “Germany on 20th March 1879”. One claim of two is supported, thus the score is 0.5.
The check reads the source and the output only. Facts from the world that are not in the source do not count.
Why faithfulness is necessary
An unfaithful answer looks like a sourced answer, but it is not. Readers trust a summary or a RAG answer because it looks like it comes from the documents.
Maynez and colleagues (ACL 2020) name two types of unfaithful content:
| Type | What the model does | Example |
|---|---|---|
| Intrinsic | Changes or mixes facts that are in the source | An incorrect date for a fact in the text |
| Extrinsic | Adds facts that are not in the source | A name that the text does not give |
In practice
Three measured results show how large the problem is:
- Summaries, 2020. Maynez and colleagues sampled 500 XSum news texts. Persons checked summaries from four systems. Only 20.7% to 26.9% of model summaries were fully faithful.
- Human text also fails. In the same study, 73.1% of the human gold summaries had extrinsic content. XSum gold summaries are first lines that journalists wrote with added facts.
- Usual scores do not find it. ROUGE and BERTScore had “very weak correlation” with human decisions. Textual entailment measures did better.
FACTS Grounding (Google researchers, January 2025) tests long documents. It has:
- source documents of a maximum of 32k tokens
- 860 public and 859 private examples
- three judge models: Gemini 1.5 Pro, GPT-4o and Claude 3.5 Sonnet
The judges first remove answers that do not do the task. Then they find if each answer is “fully grounded in the provided document”. The three judges decrease the bias of one judge.
Trade-offs
- A model judges a model. Ragas and FACTS Grounding use language models to check claims. The checker can make errors too.
- Strict scores can punish good answers. An answer that adds a correct, useful fact gets a lower score. Maynez and colleagues found that 6.6% of BertS2S hallucinations were factual.
- One number hides the type. A score of 0.5 does not show if the unsupported claim was a small error or a dangerous one.
Where definitions disagree
The word “faithfulness” has two meanings in AI research.
Faithful to the source. Maynez and colleagues, Ragas and FACTS Grounding mean an output that agrees with the given text. Huang and colleagues (ACM TOIS, 2024) use the term “faithfulness hallucination” for an output that does not agree with the user input. They use “factuality hallucination” for an output that does not agree with world facts. Their faithfulness also includes outputs that ignore the instruction or contradict themselves.
Faithful to the model. Jacovi and Goldberg (ACL 2020) say an explanation is faithful if it shows “the true reasoning process of the model”. They keep this different from plausibility, which is how much a person believes the explanation. This sense applies to a chain of thought:
- Turpin and colleagues (NeurIPS 2023) put a hidden bias in prompts. An example is few-shot answers that were always “(A)”. The models followed the bias, and their explanations did not tell of it.
- Anthropic (April 2025) gave models hints. Claude 3.7 Sonnet told of a hint 25% of the time, and DeepSeek R1 39%. Anthropic says the tests were “somewhat contrived” and used only its models and DeepSeek models.
When a vendor or a paper gives a faithfulness score, find out which of the two meanings it measures.
Questions and answers
What is the difference between faithfulness and factuality?
Faithfulness compares an answer with the source the model got. Factuality compares an answer with facts about the world. Maynez and colleagues found summaries that added correct facts that were not in the document. These summaries are factual but unfaithful. A summary that copies an error from its document is faithful but not factual.
How do you measure faithfulness in a RAG system?
Divide the answer into claims and compare each claim with the retrieved context. The Ragas metric divides the supported claims by all claims. The score is from 0 to 1. An answer with one supported and one unsupported claim gets 0.5. The checker is usually a language model, and its decisions can also be incorrect.
Is a faithful chain of thought the same as a faithful answer?
No. A faithful answer agrees with its source document. A faithful chain of thought shows the actual cause of the answer of the model. In a 2025 Anthropic test, Claude 3.7 Sonnet told of a hint that it used only 25% of the time.
Sources
- On Faithfulness and Factuality in Abstractive SummarizationACL 2020 (Maynez, Narayan, Bohnet, McDonald), 2 May 2020
- Ragas documentation, FaithfulnessRagas
- A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open QuestionsACM Transactions on Information Systems (Huang et al.), 19 Nov 2024
- The FACTS Grounding Leaderboard: Benchmarking LLMs' Ability to Ground Responses to Long-Form InputarXiv (Jacovi et al., Google), 6 Jan 2025
- Towards Faithfully Interpretable NLP Systems: How Should We Define and Evaluate Faithfulness?ACL 2020 (Jacovi, Goldberg), 7 Apr 2020
- Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought PromptingNeurIPS 2023 (Turpin, Michael, Perez, Bowman), 7 May 2023
- Reasoning models don't always say what they thinkAnthropic, 3 Apr 2025