Abstract
Early exits enable the network's forward pass to terminate early by attaching trainable internal classifiers to the backbone network. Existing early-exit methods typically adopt either a joint training approach, where the backbone and exit heads are trained simultaneously, or a disjoint approach, where the heads are trained separately. However, the implications of this choice are often overlooked, with studies typically adopting one approach without adequate justification. This choice influences training dynamics and its impact remains largely unexplored. In this paper, we introduce a set of metrics to analyze early-exit training dynamics and guide the choice of training strategy. We demonstrate that conventionally used joint and disjoint regimes yield suboptimal performance. To address these limitations, we propose a mixed training strategy: the backbone is trained first, followed by the training of the entire multi-exit network. Through comprehensive evaluations of training strategies across various architectures, datasets, and early-exit methods, we present the strengths and weaknesses of the early exit training strategies. In particular, we show consistent improvements in performance and efficiency using the proposed mixed strategy.
Introduction
Deep neural networks traditionally process all inputs through every layer, regardless of complexity. Multi-exit models offer a more efficient alternative by attaching internal classifiers (ICs) to intermediate layers, allowing "easy" inputs to exit the network early. Despite their promise, the community lacks consensus on the optimal training strategy. Most researchers default to either Joint Training (training everything from scratch) or Disjoint Training (training the backbone first, then freezing it to train exits). This paper explores the hidden costs of these choices and introduces a superior "Mixed" strategy.
The Mixed Training Strategy
To overcome the limitations of existing methods, we propose a two-phase approach:
- Phase 1 (Backbone Pre-training): Train the backbone network until convergence, establishing a robust feature foundation.
- Phase 2 (Joint Optimization): Train the entire multi-exit network (backbone and all internal classifiers) jointly until convergence.
This strategy allows the backbone to first learn general representations and then "nudge" them to accommodate early exits without sacrificing the accuracy of the final layers.
Analytical Framework
We introduce several metrics to diagnose training behavior:
- Gradient Dominance (GD): Measures which exit head exerts the most influence on the backbone during training.
- Mode Connectivity: Analyzes whether different strategies converge to the same loss basin.
- Numerical Rank & Mutual Information: Evaluates feature expressiveness and information compression across layers.
Key Results and Insights
Performance and Efficiency
The Mixed strategy consistently achieves a better Pareto front than Joint or Disjoint training. As shown in the figure below, the Mixed regime provides significant accuracy gains for the same computational budget (FLOPs), particularly in medium-to-high budget scenarios.
Furthermore, the Mixed strategy is often more efficient. In our experiments, it converged significantly faster than Joint training (e.g., ~1166 epochs vs. ~1610 epochs), as the pre-trained backbone provides a superior starting point for optimization.
Understanding Training Dynamics
Our Gradient Dominance (GD) analysis reveals why Joint training often fails. In the Joint regime, middle layers tend to dominate the gradient signal, forcing the backbone to prioritize features for early exits at the expense of the final exit. The Mixed strategy balances this influence more effectively.
Mode connectivity analysis further confirms that Joint training leads to a fundamentally different solution (a different loss basin) compared to Disjoint or Mixed training, explaining its distinct and often suboptimal behavior.
Conclusion
Training strategies for multi-exit models are not interchangeable. While Joint training acts as a "middle-manager" that can compromise final accuracy, and Disjoint training is often too rigid, the proposed Mixed strategy offers a "sweet spot." By combining backbone pre-training with joint optimization, we achieve consistent improvements in both performance and training efficiency across a wide range of vision and language tasks.
Summary updated