Faithfulness and answer relevance grade different things

L2WorkingConcept7 minScreenML breadth

RolesLLM Product EngineeringAI Evaluation and ReliabilityDeveloper Experience and Education

The question

Two answer-grade metrics sit in your RAG eval report: faithfulness and answer relevance. A teammate says they measure the same thing and wants to drop one. Explain what each one grades, and give one answer that scores high on one and low on the other.

Answer it first, aloud or on paper. Then open the answer.

The answer

Show short answer

Faithfulness asks whether each claim in the answer is supported by the retrieved context. Answer relevance asks whether the answer addresses the question. A grounded summary of the retrieved chunks that never gets to the question scores high on faithfulness and low on relevance, and a short direct answer from the model's own memory scores high on relevance and low on faithfulness.

Show full answer

How each one is computed

MetricInput to the judgeOutput
Faithfulnessone claim from the answer, plus the retrieved contextyes or no, aggregated to the fraction of claims that pass
Answer relevancethe question, plus the answerdoes the answer address the question

The eval splits the answer into sentence-shaped claims first. Faithfulness is also called groundedness, support or attribution. In its production form, the question answering lesson describes it as entailment between claim and context, and relevance as generating hypothetical questions from the answer and comparing them with the real one.

Why both stay

Each one catches a failure the other cannot see:

  • Faithfulness catches an invented fact, because the fact has no support in the context.
  • Relevance catches an answer that wandered, because the judge never sees the context and only asks whether the question was answered.

The diagnosis table in the eval lesson uses the pair. High MRR with low faithfulness points at the generation prompt. High faithfulness with low relevance points at the query rewriter or the prompt.

No gold answer needed

Both are judged against the context and the question, not against a reference answer. That lets you score live traffic without labels, next to context precision and context recall for the retrieval side.

The offline stand-in

The lesson ships a deterministic judge based on token overlap above a threshold, so the eval runs with no network call. It cannot read meaning, so production swaps it for a model judge from a different family than the generator.

Follow-ups

  1. L2WorkingWhich of the two catches a hallucination?

    Show expected answer

    faithfulness, because an invented fact has no support in the retrieved context.

  2. L2WorkingLow relevance with high faithfulness points at which stage?

    Show expected answer

    the query rewriter or the generation prompt; the context was about something else, or the answer drifted from the question.

  3. L3SeniorWhy does neither metric need a reference answer?

    Show expected answer

    both are judged against the context and the question, which is what makes them usable on live traffic.

  4. L3SeniorWhat is the limit of the lesson's offline judge?

    Show expected answer

    it counts token overlap above a threshold, so it cannot read meaning; production uses a model judge, from a different family than the generator.

Wrong answers

Show the wrong answers that interviewers hear
  • “They are the same, a faithful answer is relevant.”

    A faithful answer can summarize the context and ignore the question.

  • “Relevance is enough when retrieval is good.”

    Relevance never sees the context, so an answer from the model's own memory can be relevant and ungrounded.

  • “Faithfulness needs a gold answer.”

    It is judged against the retrieved context, which is why it works on live traffic.

Taught in

The lesson RAG evaluation defines both metrics and the stand-in judge, and the lesson question answering gives the production forms.