Towards an Optimal Control Foundation of Early Exits - Turnpikes and ResNets
Jens Püttschneider, Simon Heilig, Asja Fischer, Timm Faulwasser
Abstract
The feed-forward propagation through neural networks is crucial for training and inference. To trade off efficiency and accuracy, it has been proposed to consider intermediate outputs of hidden states as data-dependent regularization during training and, ultimately, as early-exits during inference. In this work, we analyze the joint optimization of loss functions computed for the output layer and intermediate layers using optimal control theory. We prove that ResNets trained in this joint fashion exhibit the so-called turnpike phenomenon, this implies that the number of layers required to reach a prescribed loss level is bounded from above independently of the overall network depth. This induces a similarity property across the internal representations of early-exiting networks of varying depths. We connect the turnpike to the overthinking phenomenon, and provide theoretical insights into the success of early-exit criteria derived from softmax probabilities, specifically entropy and max-probability. In a range of experiments, we demonstrate the existence and effect of turnpikes and the resulting similarity in the early-exit performance for ResNets of varying depths.
Create a lesson
Metadata
- Categories
- cs.LG, cs.SY, eess.SY
- Comments
- Accepted at NeurIPS 2026
Related papers
Beyond Foundation Models: PFN Priors Improve Tabular Hyperparameter Optimization
Shared title terminologycs.LGArtem Chistyakov, Renat Sergazinov, Artem Babenko
Text-Conditioned Low-Rank Adaptation of Time-Series Foundation Models for Multimodal Forecasting
Shared title terminologycs.LGKunqi Li, Bin Liang, Zhidong Li
When High Capacity Becomes Undeployable: Pore-Filling Constraints for Multi-Objective Optimization of Direct Air Capture Sorbents
Shared title terminologycs.LGYujie Liu, Xuehua Shen, Zuotai Zhang
Assessing the Physical Interpretability of AlphaEarth Foundation Embeddings Through Multi-Sensor Satellite Time-Series Benchmarking for Agricultural Mapping
Shared title terminologycs.LGEl Houcine El Moussaoui, Chouaib El Hachimi, Saïd Khabba et al.
CARROT: Competitive Adaptive Graph Clustering via Semi-Relaxed Optimal Transport
Shared title terminologycs.LGChing Fan Chiang, Jia-Yu Pan, Wen-Chieh Lin
DLaR: Dynamic Stochasticity Control for Latent Reasoning in Large Language Models
Shared title terminologycs.LGXiaocheng Luo, Peng Xu, Zaifu Zhan et al.