Which metric best measures whether a RAG answer is grounded in the retrieved context?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Faithfulness measures grounding directly: every claim in the answer must be entailed by the retrieved context. BLEU and ROUGE measure surface overlap; perplexity measures model fit. Neither answers 'is this grounded?'.
Imagine a student writing an essay using a stack of source articles. You want to check whether the essay actually uses those sources or just makes things up. Counting word overlap (BLEU, ROUGE) tells you the essay LOOKS like a reference answer, but a fluent fabrication can score high. Measuring how easy the essay was to write (perplexity) tells you the writing is smooth, not whether the facts are right. Faithfulness is the teacher reading each sentence and asking, can I point to a source article that supports this claim? That is the only test that catches a confident lie that happens to sound plausible.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: faithfulness definition + claim decomposition + why BLEU, ROUGE, perplexity fail + four RAG metrics together + production frameworks.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Reaching for BLEU or ROUGE to evaluate RAG. Both measure surface overlap with a reference, which is unrelated to whether the answer is grounded in retrieved context.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.