Fast yet Safe: Early-Exiting with Risk Control

Open Access
Authors
Publication date 2025
Host editors
  • A. Globerson
  • L. Mackey
  • D. Belgrave
  • A. Fan
  • U. Paquet
  • J. Tomczak
  • C. Zhang
Book title 38th Conference on Neural Information Processing Systems (NeurIPS 2024)
Book subtitle 10-15 December 2024, Vancouver, Canada
ISBN (electronic)
  • 9798331314385
Series Advances in Neural Information Processing Systems
Event 38th Conference on Neural Information Processing Systems, NeurIPS 2024
Pages (from-to) 129825-129854
Publisher Neural Information Processing Systems Foundation
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract

Scaling machine learning models significantly improves their performance. However, such gains come at the cost of inference being slow and resource-intensive. Early-exit neural networks (EENNs) offer a promising solution: they accelerate inference by allowing intermediate layers to 'exit' and produce a prediction early. Yet a fundamental issue with EENNs is how to determine when to exit without severely degrading performance. In other words, when is it 'safe' for an EENN to go 'fast'? To address this issue, we investigate how to adapt frameworks of risk control to EENNs. Risk control offers a distribution-free, post-hoc solution that tunes the EENN's exiting mechanism so that exits only occur when the output is of sufficient quality. We empirically validate our insights on a range of vision and language tasks, demonstrating that risk control can produce substantial computational savings, all the while preserving user-specified performance goals.

Document type Conference contribution
Language English
Published at
https://doi.org/10.52202/079017-4124 (Final published version)
Published at
Other links
Downloads
079017-4124open (Final published version)
Permalink to this page
Back