[Paper Review] Revisiting Locally Supervised Learning: an Alternative to End-to-end Training
This paper proposes InfoPro, a novel loss function for locally supervised deep learning that prevents task-relevant information collapse in early layers by encouraging information preservation through a non-greedy, information-theoretic objective. By deriving a tractable upper bound of the InfoPro loss as a combination of reconstruction and contrastive terms, the method achieves performance comparable to end-to-end training with under 40% GPU memory usage and enables asynchronous, parallel training.
Due to the need to store the intermediate activations for back-propagation, end-to-end (E2E) training of deep networks usually suffers from high GPUs memory footprint. This paper aims to address this problem by revisiting the locally supervised learning, where a network is split into gradient-isolated modules and trained with local supervision. We experimentally show that simply training local modules with E2E loss tends to collapse task-relevant information at early layers, and hence hurts the performance of the full model. To avoid this issue, we propose an information propagation (InfoPro) loss, which encourages local modules to preserve as much useful information as possible, while progressively discard task-irrelevant information. As InfoPro loss is difficult to compute in its original form, we derive a feasible upper bound as a surrogate optimization objective, yielding a simple but effective algorithm. In fact, we show that the proposed method boils down to minimizing the combination of a reconstruction loss and a normal cross-entropy/contrastive term. Extensive empirical results on five datasets (i.e., CIFAR, SVHN, STL-10, ImageNet and Cityscapes) validate that InfoPro is capable of achieving competitive performance with less than 40% memory footprint compared to E2E training, while allowing using training data with higher-resolution or larger batch sizes under the same GPU memory constraint. Our method also enables training local modules asynchronously for potential training acceleration. Code is available at: https://github.com/blackfeather-wang/InfoPro-Pytorch.
Motivation & Objective
- Address the high GPU memory footprint of end-to-end (E2E) training in deep networks due to storing intermediate activations.
- Overcome the performance degradation in locally supervised learning caused by greedy, short-sighted training that collapses useful input information in early layers.
- Develop a training objective that preserves task-relevant information across local modules while discarding irrelevant (nuisance) components.
- Enable model parallelization and asynchronous training by decoupling gradient updates across modules.
- Provide a practical, memory-efficient alternative to E2E training without sacrificing model accuracy.
Proposed method
- Propose an information propagation (InfoPro) loss based on information-theoretic principles to maximize mutual information between input and intermediate features while minimizing dependence on nuisance variables.
- Derive a tractable upper bound of the InfoPro loss to make it computationally feasible, resulting in a surrogate objective combining a reconstruction loss and a contrastive loss.
- Train local modules using the surrogate InfoPro loss, which encourages feature representations to retain useful input information for downstream layers.
- Decompose the optimization into local objectives that do not require back-propagation across the entire network, enabling gradient-isolated training.
- Support asynchronous and parallel training of local modules by eliminating dependency on error signals from later layers.
- Implement the method in PyTorch and validate it across diverse benchmarks including CIFAR, SVHN, STL-10, ImageNet, and Cityscapes.
Experimental results
Research questions
- RQ1Why does greedy local supervision in deep networks lead to performance degradation compared to end-to-end training?
- RQ2Can an information-theoretic loss function mitigate information collapse in early layers during locally supervised training?
- RQ3How can a non-greedy, information-preserving objective be approximated effectively for practical deep learning training?
- RQ4To what extent can locally supervised training with the InfoPro loss reduce GPU memory usage while maintaining accuracy?
- RQ5Can the proposed method support asynchronous or parallel training of network modules without compromising performance?
Key findings
- InfoPro training prevents the collapse of task-relevant information in early layers, which is a key failure mode of standard locally supervised learning.
- The method achieves performance comparable to end-to-end training on CIFAR-10, SVHN, STL-10, ImageNet, and Cityscapes, with less than 40% of the GPU memory footprint.
- Under the same memory constraints, InfoPro enables a 50% larger batch size or a 50% higher input resolution compared to E2E training.
- The surrogate InfoPro loss, composed of reconstruction and contrastive terms, effectively approximates the theoretical information-theoretic objective.
- The method supports asynchronous training of local modules, enabling potential acceleration through model parallelization.
- The proposed approach is robust and effective across diverse vision benchmarks, including classification and semantic segmentation tasks.
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.