超越端到端训练:通过上下文供给增强贪心局部学习
Go beyond End-to-End Training: Boosting Greedy Local Learning with Context Supply
AI总结:
针对贪心局部学习随模块增多而性能下降的问题,本文从信息论分析出发提出ContSup,通过模块间上下文供给补偿信息损失,以极小开销在CIFAR、SVHN和STL-10上达到SOTA。
摘要:
深度网络的传统端到端(E2E)训练必须存储用于反向传播的中间激活,从而在GPU上造成巨大内存占用,并限制模型并行化。作为替代方案,贪心局部学习将网络划分为梯度隔离模块,并基于局部初步损失进行有监督训练,因此提供了可显著降低内存成本的异步、并行训练方式。然而,实证实验表明,随着梯度隔离模块的分段数量增加,局部学习方案的性能会显著下降,严重限制其可扩展性。为避免这一问题,我们从信息论角度对贪心局部学习进行理论分析,并提出ContSup方案,该方案在隔离模块之间引入上下文供给,以补偿信息损失。在基准数据集(即CIFAR、SVHN、STL-10)上的实验取得了SOTA结果,并表明我们提出的方法能够以极小的内存和计算开销显著提升贪心局部学习的性能,从而允许增加隔离模块的数量。我们的代码可在https://github.com/Tab-ct/ContSup获取。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。