Two-Stage Learning to Defer with Multiple Experts
Anqi MaoChristopher MohriMehryar MohriYutao Zhong
Proposes a theoretically grounded framework for two-stage learning to defer with multiple experts by designing surrogate losses with rigorous -consistency guarantees that enable efficient post-hoc deferral without retraining the underlying predictor.
Modern machine learning models, including large language models, often encounter critical real-world challenges such as costly inference and factual inaccuracies or hallucinations. A practical way to mitigate these issues is to defer challenging or uncertain inputs to external specialized experts or larger models. However, standard learning-to-defer methods require training the base predictor and the routing mechanism simultaneously from scratch. This single-stage approach is prohibitively expensive and impractical for organizations that already possess established, pre-trained base models.
The article addresses this bottleneck by developing and analyzing a principled two-stage framework for learning to defer with multiple experts. Its primary objective is to demonstrate that an organization can take an existing, fixed predictor trained with standard classification methods and train an effective deferral mechanism in a second stage while retaining strong theoretical performance guarantees.
To evaluate this framework, the authors formulated a new family of surrogate loss functions across two common deferral designs: score-based systems (which output extra routing scores) and predictor-rejector systems (which use dedicated routing functions). They derived theoretical bounds connecting the training objective directly to true decision accuracy and validated the approach empirically on benchmark image datasets (CIFAR-10 and SVHN) using residual neural networks paired with up to three expert models of varying capacity and computational cost.
The findings confirm that the proposed two-stage framework is both theoretically sound and practically effective. First, the surrogate loss functions resolve an open theoretical challenge in deferral literature by providing formal non-asymptotic consistency guarantees (H-consistency) and realizability guarantees under constant inference costs. Second, empirical evaluations demonstrate that routing inputs across multiple experts consistently improves overall accuracy. On the CIFAR-10 benchmark, the base model accuracy of 70.56% increased to 77.68% when deferring across three higher-capacity experts under zero base cost, and to 72.42% when accounting for expert inference costs. On SVHN, accuracy improved from 91.12% to 93.30% and 92.19% under the respective cost scenarios, with performance scaling smoothly as additional experts were made available.
These results have significant operational implications for high-stakes and resource-constrained environments. By decoupling the deferral stage from base model training, organizations can substantially reduce compute costs, deployment timelines, and engineering risks associated with retraining massive models. Furthermore, incorporating expert-specific inference costs allows decision-makers to explicitly balance operational expense against classification accuracy.
Based on these findings, teams deploying pre-trained models should implement two-stage deferral when upgrading system accuracy with expert models or when seeking to triage computational load. Before wide-scale adoption, engineering teams should conduct domain-specific pilot testing to tune the cost parameters that govern when to defer versus predict directly.
A key limitation identified in the article is that the cost hyperparameters assigned to experts are not automated and currently rely on cross-validation tuning. Nonetheless, there is high confidence in the foundational methods due to rigorous mathematical proofs and consistent empirical verification across multiple datasets and expert configurations.
- Paper: Learning From Crowds, V. Raykar et al. (2010). It provides foundational principles for modeling heterogeneous annotator and expert quality without ground truth, which motivates the expert assignment mechanisms in learning to defer.
- Paper: The foundations of cost-sensitive learning, Charles Elkan (2001). It establishes the core decision-theoretic framework for cost-sensitive classification and threshold adjustments that underpins surrogate loss design and constant cost deferral.
- Paper: Robust Classification for Imprecise Environments, F. Provost et al. (2000). It introduces hybrid decision rules and operating-condition trade-offs between predictive models that inform predictor-rejector and deferral systems.
No sufficiently relevant recommendations were found.
