Abstract
Learning to Defer (L2D) is a framework where an automated system decides whether to provide a prediction or defer the task to a human expert. While surrogate loss functions are commonly used to optimize these systems, they often lack strong theoretical guarantees. This paper introduces a new family of surrogate losses, $L_{RL2D}$, which are proven to be both Bayes-consistent and $\mathcal{H}$-consistent. By establishing the first comprehensive theoretical framework for realizable $\mathcal{H}$-consistency in L2D, this work ensures that optimizing surrogate losses leads to optimal deferral decisions in practical settings. Empirical results across multiple datasets demonstrate that the proposed losses match or exceed the performance of current state-of-the-art methods.
Introduction
In high-stakes domains such as clinical medicine, criminal justice, and autonomous driving, AI systems are rarely intended to operate in total isolation. Instead, they function within a human-AI collaborative loop. The Learning to Defer (L2D) paradigm formalizes this by training a model to either output a classification or hand the decision over to a human expert, typically based on the model's confidence and the expert's known strengths.
The primary challenge in L2D is the nature of the target loss function. The ideal objective—minimizing the total error of the joint human-AI system—is a discrete function that is non-differentiable and computationally hard to optimize. To address this, researchers employ surrogate losses, which are smooth, differentiable approximations. However, a significant theoretical gap has persisted: many existing surrogate losses lack guarantees that minimizing the surrogate will actually minimize the true target loss, especially when restricted to a specific hypothesis class $\mathcal{H}$ (like a neural network architecture). This paper bridges that gap by introducing the $L_{RL2D}$ family of losses.
Theoretical Framework and the $L_{RL2D}$ Family
The authors derive a broad family of surrogate losses, denoted as $L_{RL2D}$, which are parameterized by a non-increasing function $\Psi$. This framework is built from the ground up by replacing the indicator functions of the discrete deferral loss with smooth "comp-sum" functions.
Consistency Guarantees
A central contribution of this work is the rigorous proof of two types of consistency:
- Bayes-Consistency: In the limit of infinite data and infinite model capacity, minimizing the surrogate loss leads to the optimal Bayes decision rule.
- $\mathcal{H}$-Consistency: Even when the model is restricted to a specific class $\mathcal{H}$, the surrogate loss remains a valid proxy for the target loss.
Notably, the authors resolve an open question from Mozannar et al. (2023) by proving that a specific realizable loss is indeed Bayes-consistent. Furthermore, they highlight a unique property of the L2D setting: unlike standard classification—where $\mathcal{H}$-consistency is generally a stronger requirement than realizable consistency—in L2D, these two properties are independent. This distinction explains why establishing theoretical guarantees for L2D has historically been more complex than for standard supervised learning.
Experimental Methodology
The proposed $L_{RL2D}$ losses were evaluated against state-of-the-art baselines using three benchmark datasets that simulate human-AI collaboration:
- CIFAR-10H: An extension of the CIFAR-10 image dataset where labels include human uncertainty scores, allowing for a realistic simulation of expert behavior.
- HateSpeech: A dataset for detecting offensive content where human labels are used to model the expert's decision to defer.
- COMPASS: A dataset used in the legal system to predict recidivism, frequently used to evaluate fairness and human-AI interaction in high-stakes decision-making.
The flexibility of the $L_{RL2D}$ family allows it to generalize or improve upon existing losses, such as cross-entropy or mean absolute error, by simply adjusting the $\Psi$ parameter.
Key Results
The empirical evaluation confirms that the theoretical strengths of $L_{RL2D}$ translate into superior practical performance. The models demonstrated a refined ability to balance coverage (the frequency with which the AI makes the prediction) and system accuracy (the combined accuracy of the AI and the human expert).
- HateSpeech Performance: The proposed method achieved a system accuracy of 92.20%, surpassing the standard cross-entropy baseline of 91.60%.
- CIFAR-10H Coverage: On the CIFAR-10H dataset, the model achieved a significantly higher coverage rate of 76.77% while maintaining competitive accuracy, indicating a more efficient use of the human expert's time without sacrificing safety.
Conclusion and Future Directions
This paper provides a robust theoretical foundation for Learning to Defer by introducing the first family of losses that are both Bayes-consistent and $\mathcal{H}$-consistent. While this work focuses on the single-expert setting, it opens several avenues for future research:
- Multi-Expert Systems: Extending these consistency guarantees to scenarios involving multiple experts with varying specialties.
- Two-Stage Pipelines: Investigating the behavior of these losses when applied to pre-trained models in a two-stage learning process.
- Scaling: Addressing the computational constants associated with the number of classes ($n$) to ensure the bounds remain tight for large-scale classification tasks.
By ensuring that surrogate losses are theoretically grounded, this work moves the field closer to deploying reliable and predictable human-AI collaborative systems in real-world environments.
Summary updated