Abstract
We study the key framework of learning with abstention in the multi-class classification setting. In this setting, the learner can choose to abstain from making a prediction with some pre-defined cost. We present a series of new theoretical and algorithmic results for this learning problem in the predictor-rejector framework. We introduce several new families of surrogate losses for which we prove strong non-asymptotic and hypothesis set-specific consistency guarantees, thereby resolving positively two existing open questions. These guarantees provide upper bounds on the estimation error of the abstention loss function in terms of that of the surrogate loss. We analyze both a single-stage setting where the predictor and rejector are learned simultaneously and a two-stage setting crucial in applications, where the predictor is learned in a first stage using a standard surrogate loss such as cross-entropy. These guarantees suggest new multi-class abstention algorithms based on minimizing these surrogate losses. We also report the results of extensive experiments comparing these algorithms to the current state-of-the-art algorithms on CIFAR-10, CIFAR-100 and SVHN datasets. Our results demonstrate empirically the benefit of our new surrogate losses and show the remarkable performance of our broadly applicable two-stage abstention algorithm.
Introduction
In high-stakes AI applications like autonomous driving or medical diagnosis, it is often better for a model to abstain (refuse to predict) than to provide a wrong answer. While binary classification with abstention is well-understood, the multi-class setting is significantly more complex. Researchers have generally relied on "score-based" formulations where rejection is treated as just another label. However, the predictor-rejector framework—which explicitly separates classification logic from rejection logic—remained theoretically underdeveloped.
This paper, presented at ALT 2024, resolves a long-standing open question by proving that predictor-rejector models can be trained using mathematically consistent surrogate losses in multi-class settings. The authors introduce a highly effective two-stage algorithm that allows practitioners to add an "I don't know" option to existing pre-trained models.
The Predictor-Rejector Framework
The core of this research is the separation of the decision process into two distinct components: a predictor ($h$) that assigns a label and a rejector ($r$) that decides whether to trust that prediction. This separation allows for more natural and flexible decision boundaries than score-based methods.
Through a clever counterexample, the authors show that score-based methods can fail to find the optimal solution unless they use extremely complex, non-linear functions. In contrast, the predictor-rejector setup finds the optimal solution much more naturally by decoupling the two tasks.
Methods and Theoretical Contributions
The authors analyze two main training scenarios:
- Single-Stage: The predictor and the rejector are learned simultaneously.
- Two-Stage: A predictor is learned first using standard methods (like cross-entropy), and a rejector is learned afterward to "wrap" around it.
To make these frameworks trainable, they introduce several new families of surrogate losses, including Mean Absolute Error (MAE), constrained $\rho$-hinge, and $\rho$-margin losses. The primary contribution is the proof of $(\mathcal{H}, \mathcal{R})$-consistency bounds. Unlike standard consistency, these bounds are specific to the hypothesis sets (like neural networks) actually used in practice, ensuring that minimizing the surrogate loss effectively minimizes the true abstention loss.
Experimental Results
The authors evaluated their algorithms against state-of-the-art (SOTA) score-based baselines using three standard image classification benchmarks: SVHN, CIFAR-10, and CIFAR-100. The two-stage predictor-rejector algorithm consistently outperformed the baselines across all datasets.
| Dataset | Baseline (Best) | Two-Stage (Ours) |
|---|---|---|
| SVHN | 1.61% (Abstention Loss) | 0.94% |
| CIFAR-10 | 3.62% (Abstention Loss) | 3.31% |
| CIFAR-100 | 10.40% (Abstention Loss) | 9.23% |
Beyond lower total loss, the model achieved significantly lower misclassification errors on the data it chose to accept, proving the rejector successfully filtered out ambiguous or "hard" cases.
Conclusion
This work provides a rigorous theoretical foundation for multi-class classification with abstention. The two-stage approach is particularly valuable for industry, as it allows adding abstention capabilities to massive pre-trained models without expensive retraining. Future directions include extending this framework to "learning to defer" scenarios (e.g., deferring to a human expert) and applying it to mitigate factual errors in Large Language Models.
Summary updated