Decomposing an LLM response into atomic claims and verifying each claim against retrieved context lifts agreement with human faithfulness judgments from 0.72 (naive 0-to-10 prompting) to 0.95, all without a single ground-truth reference answer. Shahul Es, Jithin James, Luis Espinosa-Anke, and Steven Schockaert built Ragas (Retrieval Augmented Generation Assessment) to score the three failure points of a RAG pipeline separately using API-accessible models (gpt-3.5-turbo-16k and text-embedding-ada-002).
- 0.95 pairwise human agreement on faithfulness on the WikiEval benchmark, beating direct GPT Score (0.72) by 23 points and GPT Ranking (0.54) by 41 points.
- 0.78 human agreement on answer relevance, outperforming GPT Score (0.52) and GPT Ranking (0.40) by reversing the answer back into synthetic questions.
- 0.70 human agreement on context relevance, ahead of GPT Score (0.63) and GPT Ranking (0.52), though verbatim sentence extraction struggled most on long passages.
- Zero reference answers or logprobs needed, unlike token-probability metrics or reference-based metrics such as BERTScore and BARTScore.
How the three reference-free metrics work
Production RAG teams usually have logs of questions q, retrieved passages c(q), and generated answers a(q), without human-written reference answers. Rather than asking an LLM judge for a single holistic grade, which suffers from prompt sensitivity and order bias, Ragas breaks evaluation into three orthogonal structural checks.
Faithfulness separates sentence parsing from verification. First, the judge LLM turns each sentence in a(q) into short standalone statements. Next, it writes a brief explanation and a Yes or No verdict for whether each statement follows from c(q). The score is simply the fraction of supported statements.
Answer relevance avoids asking a judge “is this relevant?” directly. Instead, it prompts the LLM to invent n candidate questions that a(q) appears to answer, embeds the original q and each synthetic question with text-embedding-ada-002, and averages their cosine similarities. Incomplete or off-topic answers pull the reverse-engineered questions away from q.
Context relevance targets retrieval bloat, which raises token cost and triggers lost-in-the-middle degradation in long prompts. The LLM must copy out only the context sentences strictly needed to answer q without editing them (or output "Insufficient Information"), and CR equals the fraction of retrieved sentences kept.
Key findings on WikiEval
Because no public dataset offered human pairwise labels across all three axes, the authors constructed WikiEval from 50 Wikipedia pages covering post-2022 events beyond the model’s training cutoff. Two English-fluent annotators labeled contrast pairs, reaching roughly 95% agreement on faithfulness and context relevance and 90% on answer relevance before resolving ties.
Each axis used targeted contrast pairs: faithfulness compared a grounded ChatGPT answer against an ungrounded no-context answer; answer relevance paired a complete response against an intentionally incomplete one; context relevance padded clean Wikipedia introductions with tangential back-linked or generated sentences.
Across all three checks, Ragas beat both direct 0-10 scoring (GPT Score) and head-to-head ranking (GPT Ranking). Strikingly, naive GPT Ranking scored near random chance on faithfulness (0.54) and context relevance (0.52) and worse than random on answer relevance (0.40), confirming that asking an LLM for holistic pairwise verdicts without structural decomposition is unreliable, a pattern echoed in later LLM-judge trustworthiness studies and citation evaluation.
Caveats and builder takeaway
- Context relevance lags at 0.70: Even with
gpt-3.5-turbo-16k, the judge frequently missed crucial sentences or over-extracted filler when passages grew long, makingCRthe noisiest metric of the three. - No ground-truth correctness check: Answer relevance intentionally ignores factuality, and faithfulness only checks consistency with
c(q). If the retriever pulls an authoritative-sounding but wrong document, an answer can score high on both while still being wrong. - Narrow validation scope: WikiEval covers only 50 clean Wikipedia introductory sections, not multi-hop enterprise docs, codebases, or subtle domain contradictions where differences between candidate answers are small.
Use Ragas as a fast diagnostic diff between retriever, chunking, or prompt changes (pairing it with retrieval-aware fine-tuning like RAFT when distractors hurt generation). Calibrate score thresholds against a small human-audited sample from your own logs before gating deployments on any automated judge score.


