Abstract
Learning with abstention is a critical framework for high-stakes AI applications where the cost of an incorrect prediction outweighs the cost of a non-decision. This paper analyzes the score-based formulation of multi-class abstention, where the option to reject is treated as an additional $(n+1)$-th label. We introduce new families of surrogate losses and a novel two-stage learning algorithm. By proving the first non-asymptotic, hypothesis-set-specific consistency guarantees for these surrogates, we bridge the gap between theoretical Bayes-consistency and practical performance. Our experimental results on CIFAR-10, CIFAR-100, and SVHN demonstrate that our two-stage approach consistently outperforms state-of-the-art single-stage methods.
Introduction
In high-stakes environments such as medical diagnosis, autonomous driving, or financial fraud detection, the ability of a model to "abstain" from a prediction is vital. This capability, often called "learning to reject," allows a system to defer difficult cases to human experts or more specialized processes.
While intuitive, the score-based approach—where a model assigns a score to an "abstain" category alongside standard classes—has historically lacked rigorous theoretical grounding. Previous research primarily focused on asymptotic consistency, which assumes infinite data and infinite model capacity. This paper addresses these limitations by providing practical, finite-sample guarantees and introducing algorithms that ensure "realizable consistency."
Theoretical Framework: $\mathcal{H}$-Consistency
A central contribution of this work is the development of $\mathcal{H}$-consistency bounds. Unlike traditional Bayes-consistency, these bounds are specific to the hypothesis set $\mathcal{H}$ (the specific architecture, such as a ResNet). These bounds relate the estimation error of a surrogate loss (like cross-entropy) to the estimation error of the true abstention loss.
Key to this analysis is the concept of "minimizability gaps." These gaps measure how well a specific model class can fit a chosen loss function. By minimizing these gaps, we can derive tighter error bounds that more accurately predict model performance on finite datasets. Our analysis reveals that the number of classes ($n$) significantly impacts the consistency of various losses, explaining why certain methods fail to scale from simple datasets to complex ones.
Proposed Methodology
We introduce two primary advancements to the score-based abstention toolkit:
1. New Surrogate Loss Families
We define a broad family of cross-entropy score-based surrogates parameterized by a value $\mu$. This framework encompasses existing state-of-the-art losses while allowing for fine-tuning based on the specific characteristics of the dataset and the number of classes involved.
2. Two-Stage Algorithmic Scheme
Existing methods typically use a single-stage approach, training the classifier and the rejection mechanism simultaneously. We propose a two-stage framework to solve the "realizability" problem—a scenario where a standard surrogate might fail to find the optimal model even if it exists within the hypothesis set.
- Stage 1: Train a standard multi-class predictor to achieve high baseline accuracy.
- Stage 2: Fix the predictor and train a dedicated "rejector" function. This rejector specifically learns the boundaries where the first-stage predictor is likely to fail, effectively optimizing the abstention threshold.
Empirical Evaluation
We evaluated our algorithms using ResNet-34 and WideResNet-28-10 architectures on three benchmark datasets: CIFAR-10, CIFAR-100, and SVHN. The experiments focused on minimizing the total abstention loss, where the cost of abstention ($c$) is predefined.
Performance Comparison
The two-stage score-based method consistently achieved the lowest abstention loss across all benchmarks, as shown in the table below:
| Dataset | Best Single-Stage Surrogate | Two-Stage (Ours) |
|---|---|---|
| CIFAR-10 | 3.62% | 3.22% |
| CIFAR-100 | 10.40% | 9.54% |
| SVHN | 1.61% | 0.93% |
Notably, on the SVHN dataset, the two-stage approach nearly halved the error rate compared to standard logistic-based abstention methods. Our results also confirmed that the relative performance of different surrogate losses varies by dataset, validating our theoretical emphasis on dataset-specific tuning.
Conclusion and Future Work
This work provides a theoretically grounded foundation for score-based multi-class abstention. By introducing $\mathcal{H}$-consistency bounds and a realizable two-stage learning scheme, we offer a more robust framework for deploying AI in sensitive domains.
Future research will explore scenarios where the cost of abstention is non-constant and depends on the specific input. Additionally, applying this framework to Large Language Models (LLMs) to mitigate hallucinations by deferring to external knowledge sources presents a promising avenue for improving the reliability of generative AI.
Summary updated