Research
What Does It Take to Build a Performant Selective Classifier?
Overview Research area: Selective classification (also called prediction with abstention), uncertainty estimation, and reliability of machine learning models. Technical level: Advanced. The paper comb
- arXiv
- 2510.20242
- Published
- 2025-10-23
- Authors
- Stephan Rabanser, Nicolas Papernot
AI summary
Overview
- Research area: Selective classification (also called prediction with abstention), uncertainty estimation, and reliability of machine learning models.
- Technical level: Advanced. The paper combines finite-sample learning theory (concentration bounds, oracle bounds, integral probability metrics) with empirical benchmarking on vision and synthetic data.
- Scope: The paper formalizes the "selective classification gap" between a model's accuracy–coverage curve and a perfect-ordering oracle, decomposes that gap into five finite-sample error terms, and validates the decomposition experimentally on two-moons, CIFAR, and StanfordCars benchmarks.
What This Paper Is About
Selective classifiers can abstain on inputs they deem uncertain, and the gold standard for judging them is a hypothetical oracle that accepts examples exactly in order of correctness probability. In practice, most real selective classifiers fall short of that oracle, and prior theory (realizable and agnostic regimes) gives little guidance about which practical factors actually cause the shortfall. The paper's goal is to turn that qualitative question into a quantitative "error budget" that tells practitioners which levers move the accuracy–coverage curve closer to the perfect-ordering bound.
Key Contributions
- Problem formulation. The authors recast selective prediction around a coverage-uniform selective classification gap Δ(c) — the mismatch, at every coverage level c ∈ (0,1], between the realized selective accuracy acc_c(h,g) and the perfect-ordering upper bound acc̄(a_full, c). This framing unifies prior work and identifies which failure modes dominate at each coverage level.
- Theoretical analysis. They present what they describe as the first finite-sample decomposition of the selective classification gap into five terms: Bayes noise ε_Bayes(c), approximation error ε_approx(c), ranking error ε_rank(c), statistical noise ε_stat(c), and miscellaneous slack ε_misc(c) (optimization and shift). The analysis further shows that monotone calibration is ineffective at reducing the gap, motivating scoring methods that can flexibly change ranking rather than merely rescale scores.
- A characterization of when calibration helps. They separate monotone calibration (isotonic regression, histogram binning), which provably leaves the acceptance set — and therefore the gap — unchanged, from temperature scaling, which is monotone in logits but can be non-monotone in softmax probabilities and thus can re-rank examples, though only to a limited extent.
- Empirical validation. Synthetic and real-world experiments confirm the decomposition: Bayes noise and capacity limits drive large gaps, temperature scaling improves calibration but not ranking, and shift-aware methods remain essential under distribution shift.
Main Findings
- Bayes noise sets an irreducible floor. Experiments on the two-moons dataset with noise σ ∈ {0.1, 0.33, 0.66, 1.5}, and on CIFAR-10N/100N evaluated on the 10%, 25%, and 50% most noisy images, show that increasing label noise consistently lowers the accuracy–coverage curve. Irreducible noise (where max_y Pr(Y=y | X) < 1) contributes a component of the gap that no model can remove.
- Limited capacity is a major driver of looseness. On two-moons, models ranging from logistic regression (low capacity) to a shallow MLP (high capacity) show that limited expressiveness yields larger gaps, while more expressive models align more tightly with the perfect-ordering bound. On CIFAR-100 and StanfordCars, a simple CNN, ResNet-18, and WideResNet-50 show the same pattern.
- Monotone calibration does not close the gap. Because monotone post-hoc maps preserve score ordering, the acceptance set A_c is identical and the selective accuracy and gap Δ(c) are unchanged. Isotonic regression and histogram binning fit monotone maps; histogram binning is additionally harmful because it quantizes scores into bins and destroys within-bin ordering.
- Temperature scaling can re-rank slightly but is limited. Temperature scaling divides logits by a scalar T > 0. This is a monotone rescaling of the logits but a non-monotone rescaling of softmax probabilities (the softmax is non-linear in T), so it can change sample ordering by confidence. The paper characterizes the resulting improvements as small and empirically validated, and states the magnitude of the effect is inherently limited.
- Table 1 (CIFAR-100) quantifies the calibration–ranking mismatch. For the CNN backbone, E-AURC and ECE are: MSP 0.086 / 0.142, TEMP 0.085 / 0.008, SAT 0.081 / 0.116, DE 0.065 / 0.019. For ResNet-18: MSP 0.033 / 0.052, TEMP 0.033 / 0.048, SAT 0.028 / 0.026, DE 0.026 / 0.034. For WideResNet-50: MSP 0.031 / 0.066, TEMP 0.032 / 0.050, SAT 0.028 / 0.046, DE 0.026 / 0.030. Temperature scaling substantially improves ECE but does not close the selective classification gap, whereas Self-Adaptive Training (SAT) and Deep Ensembles (DE) improve calibration non-monotonically and also improve acceptance ordering through re-ranking.
- Non-monotone, feature-aware scoring is what moves the gap. Methods that aggregate model diversity or internal feature structure — Deep Ensembles (DE), Self-Adaptive Training (SAT), and learned correctness heads g_ψ(x) mapping hidden representations to confidence — can re-rank examples that would otherwise receive identical or wrongly ordered softmax confidences.
- Vector and Dirichlet scaling should be avoided. The authors note that Le-Coz et al. (2024) show histogram binning and vector/Dirichlet scaling consistently degrade AUROC in selective classification, underscoring that better calibration does not guarantee better ranking.
- Loss prediction as a multicalibration litmus test. Drawing on Gollakota et al. (2025), the authors formalize an equivalence between strong multicalibration and learning an accurate predictor of one's own 0–1 loss. When no auxiliary predictor outperforms the model's own confidence scores at identifying its mistakes, the model is effectively multicalibrated and near the oracle frontier; any nontrivial loss-prediction advantage exposes the magnitude of ε_rank(c).
- Data shift adds a separate slack. Distribution shift is bounded by an Integral Probability Metric: ε_shift(c) ≤ IPM_H(p_train, p_test) = sup_{f ∈ H} |E_{p_train}[f] − E_{p_test}[f]|, so larger shifts relative to the hypothesis class widen the gap and demand distributionally robust training.
- An actionable error budget. The decomposition yields four recommendations: (i) use additional or repeated labels and noise-robust losses to reduce ε_Bayes; (ii) increase capacity or distill from a more expressive teacher to shrink ε_approx; (iii) enlarge validation data to lower ε_stat; and (iv) apply domain adaptation or importance weighting to address ε_misc.
Methodology in Plain English
The authors first define a reference curve that no real model can beat: the perfect-ordering oracle, which accepts the c-fraction of points with the highest true correctness probability. The distance between a real model's curve and this oracle at each coverage level is the gap. They then take that gap apart mathematically, showing the population gap is bounded by the sum of Bayes noise, approximation error, and ranking regret, plus a finite-sample statistical term of order 𝒪(√(log(1/δ)/n)) obtained via Hoeffding's inequality and a union bound over the three terms. A residual slack term collects optimization error (the difference between the trained iterate's loss and the minimum achievable loss) and distribution shift.
To test the decomposition, they isolate each component. For Bayes error they inject controlled label noise into two-moons and analyze the noisiest 10%, 25%, and 50% of CIFAR-10N/100N images. For approximation error they sweep model capacity from logistic regression to a shallow MLP on two-moons, and compare a simple CNN, ResNet-18, and WideResNet-50 on CIFAR-100 and StanfordCars. For ranking error they compare MSP against temperature scaling, SAT, and Deep Ensembles on the same three backbones, reporting both E-AURC (the integral of the empirical gap Δ̂(c) over all coverage levels) and ECE. Unless otherwise specified, results are averaged over 5 random seeds. The paper also examines evaluation metrics — AUACC, AUROC, AUGRC, and E-AURC — and explains why AUACC favours models already accurate at full coverage, why oracle-based bounds become loose at low utility, and why AUROC is not monotonic in AUACC.
Why This Matters
- Research impact: The decomposition reframes selective classification from an existence question (does an optimal selective classifier exist?) into a finite-sample diagnostic: for a given model and dataset, which error term dominates and how much of the gap is even closable. It also gives a principled explanation for conflicting prior findings on calibration — Zhu et al. (2022) argue calibration may degrade abstention, while Galil et al. (2023) find temperature scaling can help selectively — by showing the effect depends on the type of calibration and whether it reorders scores.
- Real-world applications:
- Healthcare: deferring uncertain diagnoses to a human specialist rather than committing to a prediction.
- Finance: abstaining on high-stakes credit or trading decisions where a wrong prediction is costly.
- Autonomous driving: handing control back to the driver or a fallback policy when perception confidence is low.
- Deployed vision and language systems: routing hard, noisy, or out-of-distribution inputs to human review instead of forcing an answer.
- Industry relevance: The paper's error budget is directly operational. It tells teams that buying more labels and using noise-robust losses addresses irreducible noise, that scaling or distilling capacity addresses approximation limits, that collecting more validation data reduces statistical noise, and that domain adaptation or importance weighting addresses shift — while warning them not to expect monotone post-hoc calibration to fix poor score ordering.
Future Directions
- Designing scoring mechanisms that explicitly reorder. Since the paper shows calibration cannot close the gap, the natural next step is score functions — feature-aware heads, ensembles, non-monotone transformations — that learn to separate easy from hard examples directly. The paper frames this as an open design problem rather than offering a specific solution.
- Exploiting the loss-prediction equivalence. The equivalence between multicalibration and accurate self-loss-prediction (formalized in Appendix E) suggests training auxiliary predictors of a model's own 0–1 loss as a practical lever on the ranking-error term, but the paper leaves the concrete algorithmic recipe open.
- Making distribution shift first-class. Because ε_shift is bounded by an IPM and appears as a separate residual slack, the authors point to distributionally robust training and shift-aware methods as required, and the details of this component in the experiments are only partially described in the provided content.
- Refining evaluation. The paper discusses how AUACC, AUROC, AUGRC, and E-AURC each have biases, complementing recent benchmarking efforts by Traub et al. (2024) and Mucsányi et al. (2024). How to evaluate selective performance fairly across coverage ranges and noise regimes remains an active question.
Target Audience
Machine learning researchers working on uncertainty quantification, abstention, and trustworthy ML will get the most from the theoretical decomposition, and benchmark-oriented practitioners will get the most from the empirical comparisons and the calibration-versus-ranking distinction. Applied engineers deploying selective prediction in high-stakes settings benefit from the error budget as a diagnostic checklist. A reader needs comfort with statistical learning theory and standard vision benchmarks to follow the formal sections, though the design guidance in the abstract and the recommendations in the introduction are readable on their own.
Authors’ abstract
Selective classifiers improve model reliability by abstaining on inputs the model deems uncertain. However, few practical approaches achieve the gold-standard performance of a perfect-ordering oracle that accepts examples exactly in order of correctness. Our work formalizes this shortfall as the selective-classification gap and present the first finite-sample decomposition of this gap to five distinct sources of looseness: Bayes noise, approximation error, ranking error, statistical noise, and implementation- or shift-induced slack. Crucially, our analysis reveals that monotone post-hoc calibration -- often believed to strengthen selective classifiers -- has limited impact on closing this gap, since it rarely alters the model's underlying score ranking. Bridging the gap therefore requires scoring mechanisms that can effectively reorder predictions rather than merely rescale them. We validate our decomposition on synthetic two-moons data and on real-world vision and language benchmarks, isolating each error component through controlled experiments. Our results confirm that (i) Bayes noise and limited model capacity can account for substantial gaps, (ii) only richer, feature-aware calibrators meaningfully improve score ordering, and (iii) data shift introduces a separate slack that demands distributionally robust training. Together, our decomposition yields a quantitative error budget as well as actionable design guidelines that practitioners can use to build selective classifiers which approximate ideal oracle behavior more closely.