āĻĒāϰāĻŦāϰā§āϤ⧠āĻāĻĒāĻĒāϰāĻŦāϰā§āϤ⧠āĻāĻžāĻāĻĄ
āĻāύāĻĄāĻŋāϏāĻŋāĻāĻŋ āĻāĻŦāĻ āϰâā§āϝāĻžāĻā§āĻāĻŋāĻ āĻŽā§āĻā§āϰāĻŋāĻā§āϏ
āĻā§āĻāύāĻŋāĻā§āϝāĻžāϞ
āĻĒā§āϰāϝā§āĻā§āϤāĻŋāĻāϤ āĻāĻžāĻāĻĄ
Recall@K measures how many known relevant items appear in the top K results, MRR emphasizes the rank of the first relevant item, and nDCG evaluates ranking quality using graded relevance with position discounts.
āĻāĻ āύāĻŋāϰā§āĻĻā§āĻļāĻŋāĻāĻž āĻļā§āύā§āύāĻāĻāĻ-āĻŦāϰā§āĻŖāĻŋāϤ ¡ ~3 min
Each metric reflects different judgments and use cases, and none directly measures whether a generated answer is correct.
Retrieval evaluation starts with queries, a document collection, and relevance judgments. A metric summarizes how a ranked result list compares with those judgments. Recall@K asks what fraction of relevant items appear within the first K results. It is useful when finding all relevant evidence matters, but it ignores the ordering among those retrieved items. Mean reciprocal rank (MRR) scores the rank of the first relevant result: a relevant item at rank one contributes 1, at rank two contributes one-half, and so on; query scores are averaged. This fits tasks where users mainly need one good result near the top. It does not reward additional relevant results after the first. Normalized discounted cumulative gain (nDCG) uses relevance grades and discounts items lower in the ranking. It can distinguish highly relevant from partially relevant documents and rewards placing stronger matches earlier. The exact gain and discount conventions should be documented when comparing implementations. These formulas summarize judged rankings and do not measure answer generation or user satisfaction. These measures depend on a test collection and relevance labels. Incomplete judgments can make a relevant but unjudged result look wrong, and query selection affects conclusions. For retrieval-augmented generation, report retrieval metrics separately from answer-level grounding, correctness, and usefulness. Choose metrics that match the product goal, inspect examples, and evaluate on representative queries rather than selecting whichever score looks largest.
A legal search team uses Recall@20 when it needs to surface most known relevant passages for review.
A help center tracks MRR when users need one useful answer near the top.
A recommender uses graded relevance labels and nDCG to favor stronger matches earlier.
A RAG evaluation reports retrieval recall separately from whether the generated answer is supported.
Retrieval systems will increasingly combine lexical, vector, hybrid, and reranking stages, making stage-specific evaluation important. Better relevance judgments and task-aligned graded labels can make nDCG more useful, while user studies can test whether rank gains improve outcomes. RAG evaluation will continue to pair retrieval metrics with answer-level checks. Future benchmarks should publish query sets, judgments, metric settings, and limitations to support meaningful comparisons. Teams should revisit judgments as collections and user needs change over time for all relevant users consistently.
āĻĢā§āϰāĻŋ āύāĻŋāĻāĻāϞā§āĻāĻžāϰ
āĻĒā§āϰāϤāĻŋ āϏāĻĒā§āϤāĻžāĻšā§āϰ āĻāĻžāĻā§āϰ āĻĻāĻŋāύ āϏāĻāĻžāϞ⧠āϤāĻŋāύāĻāĻŋ āϝāĻžāĻāĻžāĻāĻā§āϤ āĻāĻāĻ āϏā§āĻā§āϰāĻŋ, āϏāĻšāĻ āĻāĻāϰā§āĻāĻŋāϤ⧠āϞā§āĻāĻžāĨ¤ āĻāĻŋāϰāĻāĻžāϞā§āϰ āĻāύā§āϝ āĻĢā§āϰāĻŋ, āĻā§āύ⧠āĻŦāĻŋāĻā§āĻāĻžāĻĒāύ āύā§āĻāĨ¤
āĻĒā§āϰāϤāĻŋ āϏāĻĒā§āϤāĻžāĻšā§āϰ āĻāĻžāĻā§āϰ āĻĻāĻŋāύ⧠āĻāĻāĻāĻŋ āĻāĻŽā§āϞāĨ¤ āĻāĻ āĻā§āϞāĻŋāĻā§āĻ āĻāύāϏāĻžāĻŦāϏā§āĻā§āϰāĻžāĻāĻŦ āĻāϰā§āύāĨ¤ āĻāĻŽāϰāĻž āĻāĻāύā§āĻ āĻāĻĒāύāĻžāϰ āĻ āĻŋāĻāĻžāύāĻž āĻŦāĻŋāĻā§āϰāĻŋ āĻŦāĻž āĻļā§ā§āĻžāϰ āĻāϰāĻŋ āύāĻžāĨ¤
āύāĻŋāĻā§āĻā§ āĻĒāϰā§āĻā§āώāĻž āĻāϰā§āύ
āĻĒā§āϰāϤāĻŋāĻāĻŋ āĻāϤā§āϤāϰā§āϰ āϤāĻžā§āĻā§āώāĻŖāĻŋāĻ āĻĢāĻŋāĻĄāĻŦā§āϝāĻžāĻ, āĻāĻŦāĻ āĻā§āϰā§āϏ āĻĒāĻžāϏ āĻāϰāĻžāϰ āĻĒāϰ āϝāĻžāĻāĻžāĻāϝā§āĻā§āϝ āĻāĻāĻĄāĻŋ āϏāĻš āĻāĻāĻāĻŋ āĻļā§ā§āĻžāϰāϝā§āĻā§āϝ āϏāĻžāϰā§āĻāĻŋāĻĢāĻŋāĻā§āĻāĨ¤
āĻĢā§āϰāĻŋ āĻāĻāĻ āĻļāĻŋāĻā§āώāĻžāĻā§ āϏāĻŽāϰā§āĻĨāύ āĻāϰā§āύāĨ¤ AI Understanding āĻāĻāĻāĻŋ 501(c)(3) āĻ āϞāĻžāĻāĻāύāĻ āĻĒā§āϰāϤāĻŋāώā§āĻ āĻžāύ â āĻā§āύ⧠āĻŦāĻŋāĻā§āĻāĻžāĻĒāύ āύā§āĻ, āĻā§āύ⧠āĻĒā§āĻā§āĻžāϞ āύā§āĻ, āĻāĻāύā§āĻ āύāĻžāĨ¤ āĻāĻāĻāĻŋ āĻĻāĻžāύ āĻāϰā§āύ
Recall@K measures how many known relevant items appear in the top K results, MRR emphasizes the rank of the first relevant item, and nDCG evaluates ranking quality using graded relevance with position discounts. Each metric reflects different judgments and use cases, and none directly measures whether a generated answer is correct.
Recall at a cutoff measures relevant-item coverage in the top K.
Recall@K measures coverage at the cutoff, not ordering within those results.
Metrics depend on the judged collection and can penalize unjudged positives.
Retrieval and answer generation are distinct evaluation stages.
āĻļāĻŋāĻāϤ⧠āĻĨāĻžāĻā§āύ
āĻāĻ āĻŦāĻŋāώāϝāĻŧā§āϰ āĻāύā§āϝ āĻŦāĻžāĻāĻžāĻ āĻāϰāĻž āĻāϰāĻ āĻāĻžāĻāĻĄ
āĻĒāϰāĻŦāϰā§āϤ⧠āĻāĻĒāĻĒāϰāĻŦāϰā§āϤ⧠āĻāĻžāĻāĻĄ
āĻāύāĻĄāĻŋāϏāĻŋāĻāĻŋ āĻāĻŦāĻ āϰâā§āϝāĻžāĻā§āĻāĻŋāĻ āĻŽā§āĻā§āϰāĻŋāĻā§āϏ
āĻā§āĻāύāĻŋāĻā§āϝāĻžāϞ