Skip to content

AI Glossary · Metrics

What is Faithfulness?

Faithfulness

Faithfulness measures whether the claims in an answer are supported by the source context supplied to the model.

Also known as: groundedness

· Updated · Chain of Thought

AI Evaluation & ReliabilityRAG & Retrieval

  • 2 explainers
  • 3 episodes
  • 1 source

Faithfulness concerns support in the provided evidence, separately from whether the answer addresses the question or the retrieved documents are useful. The Ragas paper evaluates these dimensions separately in retrieval-augmented generation (Es et al., Ragas). An answer can accurately repeat an outdated policy and still be unsuitable for today’s decision. Checking support is one test; checking the source’s relevance and freshness is another.

For example, suppose the retrieved return policy says unused products may be returned within 30 days. “Unused products can be returned within 30 days” is supported. “Opened products qualify for a full refund within 60 days” adds claims the passage does not support. Break the answer into individual claims and inspect each against the supplied passage before combining the results into a score.

Maryam Ashoori gives faithfulness to the action an agent took as an example of the agent-specific guardrails IBM is working on in episode 17 (25:24).

That conversation also covers actions and reasoning; the RAG metric here specifically concerns textual support. For builders, include faithful but incomplete answers and faithful answers grounded in the wrong document when testing your evaluator. How to evaluate a RAG system connects the dimensions, LLM-as-a-judge covers automated judgment, and how to check an AI answer covers examining the evidence yourself.

Count the claims behind the score

The Ragas faithfulness metric extracts claims from the answer, judges whether each can be inferred from the retrieved context, and divides supported claims by total claims (Ragas documentation). Take an invented context, “Only unused products may be returned, within 30 days,” and the answer “Products must be unused to be returned, and the deadline is 60 days.” Split into two claims:

ClaimSupported by this context?
Products must be unused to be returned.Yes
The return deadline is 60 days.No: the passage says 30 days.

One supported claim out of two gives 1/2 = 0.5. This is hand arithmetic, not a Ragas run. Split the same answer into three claims (“products can be returned,” “they must be unused,” “the deadline is 60 days”) and the score becomes 2/3, with the same error. The claim split sets the denominator, so keep the claim-level judgments when you inspect an automated score, not just the final number.

A faithful answer can still fail the user: “Items must be unused” is fully supported and never states the deadline. That is an answer relevance failure.

Sources

  • Es et al., Ragas — Primary source for the explanation and distinctions in this entry.

Go deeper

  • Ragas: Faithfulness docs

    Work through claim-by-claim support checks and the scoring formula. A supported claim can still rely on an outdated source.

From the conversation