Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliability

D. J. Bajpai, M. K. Hanawal
9/1/2025

No confident code implementation found for this paper.

Abstract

Early-Exit Deep Neural Networks enable adaptive inference by allowing prediction at intermediary layers, significantly reducing computational costs and latency. Most of the early exit strategies greedily exit a sample at an intermediary layer if the confidence in class prediction exceeds a predefined threshold that is set using a static validation set.

Show full abstract

This is problematic as the model might be overconfident in a wrong class. Also, they are not robust to distribution shifts encountered in deployment, which can undermine model trustworthiness and accuracy. To address these challenges, we propose UAT that adapts the threshold for exit decisions using a Multi-Armed Bandit framework, enabling online, unsupervised adjustment of exit decisions. UAT makes decisions based on a new reward function that assesses predictive certainty and its reliability to balance computational efficiency and prediction quality while penalizing unnecessary late exits. We provide guarantees on risk achieved by UAT and validate its performance on diverse tasks spanning vision-language understanding, text generation, and classification. Our framework demonstrates consistent improvements in speedup (1.70-2.10x) with a minimal performance drop (<2%) as compared to full model performance. Our source code is available at https://github.com/Div290/UAT.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bajpai2025beyond,
  title  = {Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliability},
  author = {D. J. Bajpai and M. K. Hanawal},
  year   = {2025},
  eprint = {2509.23666},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2509.23666},
  url    = {https://doi.org/10.48550/arXiv.2509.23666},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.23666.svg)](https://codeofpaper.com/paper/2509.23666)

Discussion