[Paper Review] Improved Techniques for Training Adaptive Deep Networks
This paper proposes three training techniques—Gradient Equilibrium (GE), Inline Subnetwork Collaboration (ISC), and One-for-all Knowledge Distillation (OFA)—to improve the training efficacy of adaptive deep networks with multiple intermediate classifiers. The methods stabilize training, enhance classifier collaboration, and consistently boost accuracy and inference efficiency across CIFAR-10, CIFAR-100, and ImageNet, outperforming state-of-the-art models by over 6% under similar FLOP constraints.
Adaptive inference is a promising technique to improve the computational efficiency of deep models at test time. In contrast to static models which use the same computation graph for all instances, adaptive networks can dynamically adjust their structure conditioned on each input. While existing research on adaptive inference mainly focuses on designing more advanced architectures, this paper investigates how to train such networks more effectively. Specifically, we consider a typical adaptive deep network with multiple intermediate classifiers. We present three techniques to improve its training efficacy from two aspects: 1) a Gradient Equilibrium algorithm to resolve the conflict of learning of different classifiers; 2) an Inline Subnetwork Collaboration approach and a One-for-all Knowledge Distillation algorithm to enhance the collaboration among classifiers. On multiple datasets (CIFAR-10, CIFAR-100 and ImageNet), we show that the proposed approach consistently leads to further improved efficiency on top of state-of-the-art adaptive deep networks.
Motivation & Objective
- To address the challenge of unstable and conflicting training dynamics in adaptive deep networks with multiple intermediate classifiers.
- To improve collaboration among classifiers in multi-exit networks to enhance overall performance.
- To develop training techniques that are effective across diverse datasets and model architectures without compromising inference efficiency.
- To enable better accuracy-speed trade-offs in adaptive inference by stabilizing gradient flow and improving knowledge transfer.
Proposed method
- Gradient Equilibrium (GE) re-scales gradients during backpropagation to maintain constant gradient magnitude across the network, reducing variance and stabilizing training.
- Inline Subnetwork Collaboration (ISC) uses logits from earlier classifiers as priors to guide later classifiers, improving consistency and collaboration across exits.
- One-for-all Knowledge Distillation (OFA) treats the final classifier as a teacher to distill knowledge into earlier classifiers, enhancing their performance.
- The techniques are applied to multi-exit architectures like MSDNet, enabling dynamic early exit inference based on input difficulty.
- Training is optimized using standard cross-entropy loss with the proposed modules integrated into the network’s residual blocks.
- The method is evaluated on CIFAR-10, CIFAR-100, and ImageNet, with ablation studies to isolate component contributions.
Experimental results
Research questions
- RQ1How can gradient conflict between multiple classifiers in adaptive networks be mitigated during training?
- RQ2To what extent can collaboration among intermediate classifiers improve the performance of adaptive deep networks?
- RQ3Can knowledge distillation from the final classifier improve the accuracy of earlier exits without increasing inference cost?
- RQ4How do the proposed techniques scale across different network depths and datasets?
Key findings
- The proposed method improves the baseline MSDNet by over 6% in accuracy under a computational budget of approximately 1×10⁸ FLOPs on ImageNet.
- On CIFAR-100, the full model improves the baseline by more than 1% in Top-1 accuracy for stages 2 to 4, with deeper layers gaining over 1.4% improvement.
- Gradient Equilibrium significantly stabilizes training, resulting in consistently higher validation accuracy and lower loss across all network depths tested.
- Inline Subnetwork Collaboration increases the consistency of confidence rankings across exits, as shown by denser clustering in confidence rank plots.
- One-for-all Knowledge Distillation provides the largest accuracy gains for earlier classifiers, confirming the effectiveness of distilling from the final classifier.
- Ablation studies confirm that all three components—GE, ISC, and OFA—contribute positively and consistently across both CIFAR-100 and ImageNet.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.