Skip to content

What is selective prediction?

The decision rule by which an AI model abstains on uncertain cases and answers only where expected error stays low.

Selective prediction is the decision rule by which a classification model settles, case by case, whether to answer or to abstain: it answers only when its confidence clears a threshold set in advance, and below it hands the case to a person. It is judged by two inseparable numbers: coverage, the share of cases the model answers, and selective risk, the error measured on those cases alone. The root is Chow's 1957 reject option; the theoretical foundations of selective classification are due to El-Yaniv and Wiener (2010). Geifman and El-Yaniv (NeurIPS 2017) brought it to deep neural networks with a risk guaranteed with high probability: on ImageNet a top-5 error of 2%, guaranteed with probability 99.9%, at a coverage of almost 60%, with the rest going to review. It does not measure how sure the model is, the subject of confidence calibration; it decides what to do about it: answer or hand over.

See also: Confidence CalibrationHow well an AI model's stated confidence actually matches its real probability of being right.

The threshold and the coverage-risk tradeoff

Formally the system has two parts: a predictor f, which assigns the label, and a selection function g, which decides whether that label is delivered. In its simplest form g is a threshold on the softmax output: the model answers only if the top-class probability clears the chosen level, and the threshold is set on held-out validation data. The two ways of setting it correspond to the bounded improvement and bounded abstention models introduced by Pietraszek (ICML 2005): fix coverage and minimize risk, or fix risk and maximize coverage. SelectiveNet (Geifman and El-Yaniv, ICML 2019) learns predictor and selector jointly, with the coverage constraint inside the loss function. The weak point remains the ranking: the threshold works only if confidence truly orders cases by difficulty.

An enterprise example

A shared service center classifies tens of thousands of supplier invoices per month, extracting company names, amounts and due dates from scans. On clean documents the machine is faster and more consistent than any operator; on skewed scans, stamps over figures and unseen layouts, an error costs a wrong payment or a tax correction, while an abstention costs the minutes of an operator reading the original. The rule is simple: above the threshold registration is automatic, below it the case goes to a review queue. The threshold is chosen from the validation figures: each level maps to a share of invoices registered automatically and an error rate on those invoices.

Why it matters for decision makers

Whoever signs off on automation converts the two costs into the same unit: an abstention costs review and slowdown, a silent error costs money, penalties and reputation. If the second weighs more, every coverage point is bought with measured risk, and the threshold is its posted price. Two obligations follow. First: rejected cases have an explicit destination, a review queue sized on expected coverage; that is the human in the loop architecture, and technical guardrails make that path mandatory. Second: coverage and risk hold while the data remain those of validation, and when they change they must be revalidated in model monitoring. Not to be confused with conformal prediction, which returns answer sets with coverage guarantees instead of deciding whether to answer or stay silent; with generative models the same idea verifies answers, as in ASPIRE from Google (EMNLP 2023).

  • Confidence CalibrationHow well an AI model's stated confidence actually matches its real probability of being right.
  • Human-in-the-Loop (HITL)Human-in-the-loop puts a person into an AI process with the responsibility and authority to review, correct, or stop an action when the situation requires it.
  • GuardrailsGuardrails are controls that limit an AI system's content and actions, combining filters, permissions, and human review in proportion to the risk of each use.
  • Model monitoringModel monitoring tracks the data, predictions, and outcomes of models in production to detect changes and decide when their performance calls for action.
  • Conformal predictionThe method turning a model's prediction into an answer set that contains the truth with guaranteed probability.

See it in the universe

If it is a technical decision you keep postponing, that is the decision I help you make.

See custom tools, governance and operations

Or write to me.