Skip to content
Duoduo Mediaevidence to decision

Package 12 · Section 6.4

Retrieval Response and Decision Metrics

Select metrics that diagnose where quality is lost and whether the final decision improves.

Track
C · Generation and evaluation
Level
Practitioner
Version
v1.0
Status
Open · initial release
Explanation depthDepth

Learning objectives

  • Compute retrieval ranking metrics and response support metrics.
  • Separate component, end-to-end and business evaluation.
  • Choose thresholds and confidence intervals.

In brief

Retrieval, response and decision quality are different things and need different metrics. Measuring them separately is how you find where the system fails and whether fixing it matters to the business.

Core concepts

12.1Retrieval metrics

Recall@k measures whether gold evidence is in the top k. Precision@k measures how much of the top k is relevant. MRR and nDCG reward placing relevant evidence higher.

Use the k that matches your context budget. Recall@50 is meaningless if only 6 passages reach the model.

12.2Response metrics

Groundedness, citation correctness, answer correctness, completeness and correct abstention are scored per case. Some can be automated with entailment checks or model judges validated against humans.

Report correct-abstention rate and false-abstention rate together.

12.3Decision and business metrics

Decision metrics ask whether the recommended action was right: decision accuracy, regret and cost per trusted answer. Business metrics measure time saved, escalations avoided and errors prevented.

Set thresholds per metric and per slice before running the experiment.

Worked example

Reading a scorecard

Situation: Configuration B improves answer correctness from 0.82 to 0.86.

  1. 1Recall@6 is unchanged at 0.88; the gain is in generation.
  2. 2Groundedness dropped from 0.96 to 0.91: B adds unsupported detail.
  3. 3High-risk slice correctness fell from 0.90 to 0.84.
  4. 4Cost per trusted answer rose 12 percent.

Outcome: B fails the release gate despite a better headline number, because groundedness and the high-risk slice fall below threshold.

Decision rules

  • Choose k to match the real context size.
  • Never ship on an aggregate metric alone; check every gated slice.
  • Set thresholds before seeing results.
  • Report uncertainty intervals for every metric.

Common pitfalls

  • Optimizing a model-judge score that has not been validated against humans.
  • Comparing runs without confidence intervals on small sets.
  • Ignoring false abstention, which degrades usefulness.

Key vocabulary

Recall@k
Share of cases whose gold evidence appears in the top k results.
nDCG
Normalized discounted cumulative gain, rewarding relevant items ranked higher.
Decision regret
Utility lost relative to the best action in hindsight.
Release gate
A set of thresholds a configuration must pass before deployment.

Tutorial outline

  1. 12.1Recall and precision at k, MRR, MAP and NDCG.
  2. 12.2Groundedness, citation correctness, completeness, relevance and instruction adherence.
  3. 12.3Calibration, abstention, decision regret, utility and cost per trusted answer.

Glossary

Groundedness
The extent to which generated material claims are supported by supplied evidence.
Citation correctness
Whether the cited source supports the exact claim to which it is attached.
Decision regret
The utility lost by choosing an action other than the best action under the realized state.
Cost per trusted answer
Total system cost divided by answers meeting the agreed quality threshold.

Required artifacts

Metric notebook, slice report, confidence intervals and release recommendation.

Evaluation evidence

Metric correctness, diagnostic value, threshold justification and decision alignment.