Go beyond End-to-End Training: Boosting Greedy Local Learning with Context Supply

Chengting Yu, Fengzhao Zhang, Hanzhi Ma, Aili Wang, Erping Li
12/12/2023
cs.LGcs.CVstat.ML

Official code: Tab-ct/ContSup (6 stars, last commit 2023-12-20).

Abstract

Traditional end-to-end (E2E) training of deep networks necessitates storing intermediate activations for back-propagation, resulting in a large memory footprint on GPUs and restricted model parallelization. As an alternative, greedy local learning partitions the network into gradient-isolated modules and trains supervisely based on local preliminary losses, thereby providing asynchronous and parallel training methods that substantially reduce memory cost. However, empirical experiments reveal that as the number of segmentations of the gradient-isolated module increases, the performance of the local learning scheme degrades substantially, severely limiting its expansibility. To avoid this issue, we theoretically analyze the greedy local learning from the standpoint of information theory and propose a ContSup scheme, which incorporates context supply between isolated modules to compensate for information loss. Experiments on benchmark datasets (i.e. CIFAR, SVHN, STL-10) achieve SOTA results and indicate that our proposed method can significantly improve the performance of greedy local learning with minimal memory and computational overhead, allowing for the boost of the number of isolated modules. Our codes are available at https://github.com/Tab-ct/ContSup.

View on arXivView PDF

Code Implementations(1)

Tab-ct/ContSupOfficial100%

Greedy Local Learning with Context Supply for training deep networks.

61Shell, PythonDec 11, 20232 years ago

Similar Papers

Cite this paper

@article{yu2023beyond,
  title  = {Go beyond End-to-End Training: Boosting Greedy Local Learning with Context Supply},
  author = {Chengting Yu and Fengzhao Zhang and Hanzhi Ma and Aili Wang and Erping Li},
  year   = {2023},
  eprint = {2312.07636},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.07636v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.07636.svg)](https://codeofpaper.com/paper/2312.07636)

Discussion