ssProp:基于调度稀疏反向传播的卷积神经网络节能训练
ssProp: Energy-Efficient Training for Convolutional Neural Networks with Scheduled Sparse Back Propagation
AI总结:
本文提出 ssProp 节能卷积模块,通过在反向传播中引入通道级稀疏性和梯度选择调度器,减少 40% 计算量并缓解过拟合,可无缝集成到各类深度学习架构中。
摘要:
近年来,深度学习取得了显著进展,尤其是在生成建模领域,例如大型语言模型和概率扩散模型。然而,训练这些模型通常需要巨大的计算资源,达到数十亿 petaFLOPs。这种高资源消耗导致了大量的能源使用和较大的碳足迹,引发了严重的环境担忧。反向传播(BP)是深度学习模型训练过程中计算开销的主要来源之一。为了推进节能训练研究,并使稀疏学习能够在任何机器和设备上进行,我们提出了一种通用的节能卷积模块,该模块可以无缝集成到任何深度学习架构中。具体来说,我们基于 BP 通常密集且低效、可能导致过拟合和高计算消耗的假设,在反向传播过程中引入通道级稀疏性,并附加梯度选择调度器。我们的实验表明,该方法减少了 40% 的计算量,同时可能提升模型性能,并在图像分类和生成任务上得到了验证。这种计算量的减少可以在大规模 AI 系统的研发阶段带来显著的能源节约和更低的碳足迹。此外,我们的方法以一种不同于 Dropout 的方式缓解过拟合,使其能够与 Dropout 结合使用,以进一步增强模型性能并减少计算资源使用。大量实验验证了我们的方法能够泛化到多种数据集和任务,并且与广泛的深度学习架构和模块兼容。代码已公开于 https://github.com/lujiazho/ssProp。
英文摘要:
Recently, deep learning has made remarkable strides, especially with generative modeling, such as large language models and probabilistic diffusion models. However, training these models often involves significant computational resources, requiring billions of petaFLOPs. This high resource consumption results in substantial energy usage and a large carbon footprint, raising critical environmental concerns. Back-propagation (BP) is a major source of computational expense during training deep learning models. To advance research on energy-efficient training and allow for sparse learning on any machine and device, we propose a general, energy-efficient convolution module that can be seamlessly integrated into any deep learning architecture. Specifically, we introduce channel-wise sparsity with additional gradient selection schedulers during backward based on the assumption that BP is often dense and inefficient, which can lead to over-fitting and high computational consumption. Our experiments demonstrate that our approach reduces 40\% computations while potentially improving model performance, validated on image classification and generation tasks. This reduction can lead to significant energy savings and a lower carbon footprint during the research and development phases of large-scale AI systems. Additionally, our method mitigates over-fitting in a manner distinct from Dropout, allowing it to be combined with Dropout to further enhance model performance and reduce computational resource usage. Extensive experiments validate that our method generalizes to a variety of datasets and tasks and is compatible with a wide range of deep learning architectures and modules. Code is publicly available at https://github.com/lujiazho/ssProp.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。