arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.17318cs.NEcs.CVcs.LG
收藏

利用增强辅助网络扩展有监督局部学习

Scaling Supervised Local Learning with Augmented Auxiliary Networks

The Hong Kong Polytechnic University(香港理工大学);Nanyang Technological University(南洋理工大学)

Chenxiang Ma, Jibin Wu, Chenyang Si, Kay Chen Tan

AI总结:

针对局部学习层间无梯度通信导致的准确率差距,提出AugLocal,通过选取后续层构建并线性调整辅助网络深度,在四个数据集上以约40%的显存节省达到接近BP的性能。

摘要:

深度神经网络通常使用端到端反向传播(BP)的全局误差信号进行训练,这不仅在生物学上不合理,还存在更新锁定问题,并且需要巨大的内存消耗。局部学习通过梯度隔离的辅助网络独立更新每一层,为解决上述问题提供了一种有前景的替代方案。然而,现有局部学习方法与BP对应方法之间存在较大的准确率差距,尤其是对于大规模网络。这是由于局部层与其后续网络层之间耦合较弱,因为跨层之间不存在梯度通信。为解决这一问题,我们提出了一种增强局部学习方法,称为AugLocal。AugLocal通过从每个隐藏层的后续网络层中均匀选择一小部分层来构建该隐藏层的辅助网络,以增强它们的协同作用。我们还提出,随着隐藏层变深,线性减小辅助网络的深度,从而在确保足够网络容量的同时降低辅助网络的计算成本。我们在四个图像分类数据集(即CIFAR-10、SVHN、STL-10和ImageNet)上的大量实验表明,AugLocal能够有效扩展到数十个局部层,其准确率可与BP训练的网络相媲美,同时将GPU内存使用量降低约40%。因此,所提出的AugLocal方法为在资源受限平台上训练高性能深度神经网络开辟了众多机会。代码可在https://github.com/ChenxiangMA/AugLocal获取。

英文摘要:

Deep neural networks are typically trained using global error signals that backpropagate (BP) end-to-end, which is not only biologically implausible but also suffers from the update locking problem and requires huge memory consumption. Local learning, which updates each layer independently with a gradient-isolated auxiliary network, offers a promising alternative to address the above problems. However, existing local learning methods are confronted with a large accuracy gap with the BP counterpart, particularly for large-scale networks. This is due to the weak coupling between local layers and their subsequent network layers, as there is no gradient communication across layers. To tackle this issue, we put forward an augmented local learning method, dubbed AugLocal. AugLocal constructs each hidden layer's auxiliary network by uniformly selecting a small subset of layers from its subsequent network layers to enhance their synergy. We also propose to linearly reduce the depth of auxiliary networks as the hidden layer goes deeper, ensuring sufficient network capacity while reducing the computational cost of auxiliary networks. Our extensive experiments on four image classification datasets (i.e., CIFAR-10, SVHN, STL-10, and ImageNet) demonstrate that AugLocal can effectively scale up to tens of local layers with a comparable accuracy to BP-trained networks while reducing GPU memory usage by around 40%. The proposed AugLocal method, therefore, opens up a myriad of opportunities for training high-performance deep neural networks on resource-constrained platforms.Code is available at https://github.com/ChenxiangMA/AugLocal.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑