Introduction
Large-scale neural networks have set new benchmarks for accuracy across various domains, but their deployment is often constrained by significant computational costs. To mitigate this, model cascades have emerged as a popular architectural pattern. In a typical cascade, a small, computationally efficient "generalist" model processes an input first. If the small model is "confident" in its prediction, the system returns that result immediately. If not, the sample is "deferred" to a much larger, more expensive "expert" model.
The industry standard for making this deferral decision is Confidence-Based Deferral (CBD), which typically relies on metrics like Maximum Softmax Probability (MSP). However, CBD is fundamentally "blind": it evaluates the uncertainty of the small model without considering whether the larger model actually possesses the capability to resolve that uncertainty. This paper investigates the specific scenarios where this blind approach fails and proposes a more efficient alternative.
The Theoretical Framework: Relative vs. Absolute Confidence
The authors begin by deriving the Bayes-optimal deferral rule. Mathematically, they demonstrate that the ideal decision to defer should not be based on the small model's absolute confidence, but rather on the difference in the probability of a correct prediction between the two models, minus the computational cost of invoking the second model.
This insight highlights the core flaw of CBD: it uses absolute confidence as a proxy for relative performance. In many real-world scenarios, a sample that causes low confidence in a small model may be equally difficult for the large model, making the cost of deferral a wasted resource.
Critical Failure Modes of Confidence-Based Deferral
Through their theoretical characterization, the authors identify three primary scenarios where standard cascades become inefficient:
- The Specialist Trap: In many deployments, the "expert" model is actually a specialist (e.g., a model fine-tuned specifically for medical imaging or a specific subset of species). If the small model is uncertain about an input outside the expert's specialty, CBD will still defer the sample. The expert, being no better than the generalist on this out-of-specialty data, will likely fail as well, resulting in wasted computation.
- The Noise Sink: When a dataset contains label noise (incorrect or ambiguous labels), the small model will naturally exhibit low confidence. CBD will defer these noisy samples to the large model. However, because the underlying label is wrong, the large model is also likely to miss the prediction. This creates a "sink" where the system spends maximum compute on samples that are essentially unsolvable.
- Distribution Shift: Changes in data distribution (such as long-tailed distributions) can lead to systematic miscalibration, where the small model's confidence no longer correlates with the likelihood of the large model being correct.
Proposed Solution: Post-hoc Deferral Rules
To address these failures without incurring the cost of running the large model upfront, the authors propose a post-hoc deferral strategy. They train a tiny auxiliary model ($g$)—a three-layer Multi-Layer Perceptron (MLP)—to act as the gatekeeper.
This auxiliary model takes the outputs of the small model (such as entropy and the top-10 class probabilities) as features. Instead of predicting the class, it learns to predict the "headroom": the probability that the large model will be correct while the small model is incorrect. By focusing on this delta, the post-hoc model can decide to "give up" on samples that are either too easy for the small model or too hard for both, significantly optimizing the accuracy-compute trade-off.
Experimental Results
The authors validated their approach across several benchmarks, including ImageNet (simulating specialist scenarios) and CIFAR-100 (simulating label noise and distribution shifts). Key findings include:
- Superior Trade-offs: On the "Dog Specialist" ImageNet task, the post-hoc rule
Diff-01(which specifically predicts if the second model is right and the first is wrong) achieved higher system accuracy at the same computational budget compared to standard thresholding. - Robustness to Noise: In experiments with CIFAR-100 label noise, the post-hoc models learned to identify noisy samples and avoid deferring them, maintaining higher system accuracy by preserving the compute budget for samples where the expert could actually provide value.
- Calibration Insights: The study shows that CBD systematically overestimates the probability that a large model will fix a small model's error in the identified failure-mode scenarios, whereas the post-hoc MLP provides a more calibrated decision boundary.
Conclusion and Future Work
This research demonstrates that the efficiency of model cascades can be significantly improved by moving from absolute confidence metrics to learned, relative deferral rules. While the post-hoc MLP is highly effective, the authors note the potential for overfitting and the need for careful regularization. Future research may explore these dynamics in the context of Natural Language Processing (NLP) and investigate additional failure modes beyond the three identified in this study.
Summary updated