Inferensys

Glossary

Risk-Coverage Curve

A diagnostic plot that visualizes the trade-off between the error rate of a selective classifier and the proportion of inputs it predicts on, with the Area Under the Curve (AURC) serving as a summary metric.
Risk analyst performing AI risk assessment on laptop, risk matrices visible, casual office risk session.
SELECTIVE CLASSIFICATION DIAGNOSTIC

What is a Risk-Coverage Curve?

A diagnostic plot that visualizes the trade-off between the error rate of a selective classifier and the proportion of inputs it predicts on.

A Risk-Coverage Curve is a diagnostic plot that visualizes the trade-off between the risk (error rate) of a selective classifier and its coverage (the proportion of inputs it predicts on). As the model's confidence threshold for abstention is varied, the curve plots the resulting risk on the y-axis against the corresponding coverage on the x-axis, revealing how error changes as the system rejects more uncertain inputs.

The summary metric for this curve is the Area Under the Risk-Coverage Curve (AURC) , where a lower value indicates a superior selective classifier that achieves low error at high coverage. This tool is essential for evaluating selective classification and uncertainty quantification systems, allowing engineers to select an operating point that balances the cost of errors against the cost of rejection.

SELECTIVE CLASSIFICATION DIAGNOSTICS

Key Characteristics of the Risk-Coverage Curve

The risk-coverage curve is the fundamental visual tool for evaluating selective classifiers, plotting the trade-off between the proportion of inputs a model can process and the resulting error rate on that subset.

01

The Abstention Mechanism

The curve is generated by applying a confidence threshold to a model's softmax output. Inputs with a maximum predicted probability below the threshold are rejected. As the threshold increases, coverage (the fraction of inputs predicted on) decreases, while the model only handles the 'easy' cases it is highly confident about. This creates a monotonic curve where risk typically decreases as coverage drops.

02

Area Under the Risk-Coverage Curve (AURC)

The AURC is the primary summary metric for selective performance. It integrates the risk over all possible coverage levels, providing a single scalar value. A lower AURC indicates a superior selective classifier.

  • Perfect AURC: Zero, achieved by a model that has zero risk at full coverage.
  • Random AURC: Equivalent to the average risk of the baseline model.
  • Excess AURC (E-AURC): The difference between the model's AURC and the optimal AURC, measuring the room for improvement.
03

Coverage at a Specific Risk

A critical operational point is the maximum coverage achievable while maintaining a pre-defined, acceptable risk level. For a safety-critical application requiring 1% error, the curve directly answers: 'What percentage of cases can we automate?' This allows direct comparison between models: the one with higher coverage at the target risk is superior for that deployment context.

04

Calibration vs. Discrimination

The risk-coverage curve disentangles two distinct model properties:

  • Discrimination: The model's raw ability to separate classes, reflected in the curve's overall shape and AURC.
  • Confidence Calibration: The alignment of predicted probability with actual accuracy. A miscalibrated but highly discriminative model may have a poor curve because its confidence scores are not reliable for setting a rejection threshold.

Temperature scaling is often applied post-hoc to fix calibration and improve the curve without retraining.

05

Selective Accuracy vs. Selective Risk

The curve can be plotted with two different y-axes:

  • Selective Risk: The error rate on accepted inputs (1 - accuracy). This is the standard view, where the curve slopes downward.
  • Selective Accuracy: The accuracy on accepted inputs. This curve slopes upward as coverage decreases.

Both represent the same trade-off, but risk is preferred in safety literature as it directly quantifies the cost of failure.

06

Comparison with AUROC

While the AUROC measures a model's ability to discriminate between classes across all thresholds, the risk-coverage curve evaluates the practical utility of the model's confidence scores for abstention. A model with a high AUROC can still have a poor risk-coverage curve if its confidence estimates are noisy or miscalibrated. The risk-coverage curve is a more direct measure of deployability in cost-sensitive environments.

CONFIDENCE CALIBRATION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about the Risk-Coverage Curve and its role in evaluating selective classification systems.

A Risk-Coverage Curve (RCC) is a diagnostic plot that visualizes the trade-off between the error rate (risk) of a selective classifier and the proportion of inputs it predicts on (coverage). It works by first ranking all test predictions by a confidence score, then iteratively removing the least confident predictions from the evaluation set. At each step, the model's error rate is recalculated on the remaining subset. The resulting curve plots coverage on the x-axis (from 0% to 100%) against risk on the y-axis. An ideal model exhibits a monotonically decreasing curve: as coverage decreases (abstaining on more inputs), risk should strictly decline. A flat or inverted curve indicates that the model's confidence scores are not correlated with correctness, meaning the model cannot effectively separate correct from incorrect predictions. The RCC is the foundational visualization for assessing whether a model is suitable for high-stakes, safety-critical deployment where a reject option is available.

SELECTIVE CLASSIFICATION DIAGNOSTICS

Risk-Coverage Curve vs. Related Evaluation Methods

Comparison of the Risk-Coverage Curve with other primary methods for evaluating and visualizing the performance of classifiers with a reject option.

FeatureRisk-Coverage CurveReliability DiagramConformal Prediction

Primary Objective

Visualize accuracy vs. coverage trade-off

Diagnose per-bin calibration error

Produce prediction sets with coverage guarantees

Summary Metric

Area Under the Risk-Coverage Curve (AURC)

Expected Calibration Error (ECE)

Average Set Size at target alpha

Handles Abstention

Distribution-Free Guarantee

Visualizes Trade-off

Requires Threshold Tuning

Output Type

Curve of risk over coverage

Bar chart of confidence vs. accuracy

Prediction set per input

Sensitive to Score Ranking

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.