Performance Control in Early Exiting to Deploy Large Models at the Same Cost of Smaller Ones
Mehrnaz Mofakhami, Reza Bayat, Ioannis Mitliagkas, Joao Monteiro, Valentina Zantedeschi
TL;DR
This work tackles deploying large models under fixed compute by leveraging Early Exiting (EE) while addressing miscalibration that undermines exit decisions. It introduces Performance Control Early Exiting (PCEE), which uses a single threshold δ derived from reliability diagrams to decide exits based on the average accuracy of similarly confident samples, with a smoothing variant PCEE-WS. Empirically, larger models with EE yield lower prediction errors at the same compute compared to smaller full models, and PCEE/PCEE-WS provide superior control over the accuracy-cost trade-off across MSDNet and ViT on CIFAR-10/100 and ImageNet. While the approach improves practicality and scalability of large-model inference, the paper notes limitations under distribution shift and highlights avenues for future work such as online reliability mapping and rejection mechanisms.
Abstract
Early Exiting (EE) is a promising technique for speeding up inference by adaptively allocating compute resources to data points based on their difficulty. The approach enables predictions to exit at earlier layers for simpler samples while reserving more computation for challenging ones. In this study, we first present a novel perspective on the EE approach, showing that larger models deployed with EE can achieve higher performance than smaller models while maintaining similar computational costs. As existing EE approaches rely on confidence estimation at each exit point, we further study the impact of overconfidence on the controllability of the compute-performance trade-off. We introduce Performance Control Early Exiting (PCEE), a method that enables accuracy thresholding by basing decisions not on a data point's confidence but on the average accuracy of samples with similar confidence levels from a held-out validation set. In our experiments, we show that PCEE offers a simple yet computationally efficient approach that provides better control over performance than standard confidence-based approaches, and allows us to scale up model sizes to yield performance gain while reducing the computational cost.
