[Paper Review] Calibrated Selective Classification
This paper introduces selective calibration, a framework that improves uncertainty calibration in selective classification by training a separate selector network to reject examples with unreliable confidence estimates. The method uses distributionally robust optimization with input perturbations to enhance generalization under distribution shift, achieving significantly lower selective calibration error on image and medical classification tasks compared to confidence-based baselines.
Selective classification allows models to abstain from making predictions (e.g., say "I don't know") when in doubt in order to obtain better effective accuracy. While typical selective models can be effective at producing more accurate predictions on average, they may still allow for wrong predictions that have high confidence, or skip correct predictions that have low confidence. Providing calibrated uncertainty estimates alongside predictions -- probabilities that correspond to true frequencies -- can be as important as having predictions that are simply accurate on average. However, uncertainty estimates can be unreliable for certain inputs. In this paper, we develop a new approach to selective classification in which we propose a method for rejecting examples with "uncertain" uncertainties. By doing so, we aim to make predictions with {well-calibrated} uncertainty estimates over the distribution of accepted examples, a property we call selective calibration. We present a framework for learning selectively calibrated models, where a separate selector network is trained to improve the selective calibration error of a given base model. In particular, our work focuses on achieving robust calibration, where the model is intentionally designed to be tested on out-of-domain data. We achieve this through a training strategy inspired by distributionally robust optimization, in which we apply simulated input perturbations to the known, in-domain training data. We demonstrate the empirical effectiveness of our approach on multiple image classification and lung cancer risk assessment tasks.
Motivation & Objective
- To address the limitation of selective classification models that may make poorly calibrated predictions even when they abstain from uncertain inputs.
- To ensure that predictions made by a model are not only accurate but also well-calibrated in their uncertainty estimates over accepted examples.
- To develop a framework that enables models to abstain not only from low-confidence predictions but also from predictions with 'uncertain' uncertainties—i.e., unreliable confidence estimates.
- To improve robustness of calibration under distribution shift by training the selector using perturbed in-domain data via distributionally robust optimization.
- To maintain sufficient prediction coverage while achieving strong selective calibration, especially in high-stakes applications like medical diagnosis.
Proposed method
- Proposes a two-stage framework: a base model f(X) provides confidence estimates, and a separate selector g(X) determines whether to accept or reject predictions based on uncertainty reliability.
- Introduces selective calibration as a new calibration property: E[Y | f(X)=α, g(X)=1] = α for all α in the range of f restricted to accepted examples.
- Uses a novel training objective based on the S-MMCE (Selective Multiclass Expected Calibration Error) to optimize the selector network.
- Applies distributionally robust optimization by simulating input perturbations on in-domain training data to improve generalization to out-of-domain distributions.
- Employs a perturbation family T (e.g., AugMix) to generate diverse, realistic distribution shifts during training, enhancing robustness.
- Trains the selector end-to-end using a differentiable relaxation of the rejection decision, enabling gradient-based optimization.
Experimental results
Research questions
- RQ1Can we design a selective classification system that ensures predictions are well-calibrated not only in aggregate but also over the subset of accepted examples?
- RQ2How can we improve the reliability of uncertainty estimates in selective models, especially when the base model's confidence is poorly calibrated?
- RQ3To what extent can a selector network trained on perturbed in-domain data generalize to out-of-domain distributions while maintaining selective calibration?
- RQ4Does rejecting examples based on uncertainty in confidence (rather than confidence alone) lead to better balance in prediction coverage across classes, especially for rare or hard cases?
- RQ5How does the choice of perturbation family T affect the robustness and calibration performance of the final selective classifier?
Key findings
- The proposed S-MMCE-based selector achieves significantly lower selective calibration error AUC (e.g., 0.028 vs. 0.062) on CIFAR-10-C under distribution shift compared to confidence-based baselines.
- On the MGH lung cancer risk assessment dataset, the method rejects fewer cancerous patients (Y=1) at 90% coverage than confidence-based methods, reducing imbalance in rejection rates.
- The distribution of confidence scores among accepted examples closely matches the marginal distribution, indicating better preservation of model behavior across classes.
- Ablation studies show that using perturbations (T) during training improves selective calibration error by over 50% compared to training without them.
- Even when the base model f(X) is trained with AugMix perturbations, the proposed selector still leads to substantially lower selective calibration error, demonstrating its effectiveness as a post-hoc calibration tool.
- The method generalizes well under distribution shift, maintaining low calibration error on out-of-domain data, unlike standard confidence-based rejection strategies.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.