arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.07688cs.LGcs.AI
收藏

Maxwell's Demon在工作:通过利用神经元的饱和实现高效的剪枝

Maxwell's Demon at Work: Efficient Pruning by Leveraging Saturation of Neurons

Mila, Université de Montréal(蒙特利尔大学Mila实验室);Université de Montréal(蒙特利尔大学);Google DeepMind(谷歌DeepMind);Samsung – SAIL Montreal(三星-SAIL蒙特利尔)

Simon Dufort-Labbé, Pierluca D'Oro, Evgenii Nikishin, Razvan Pascanu, Pierre-Luc Bacon, Aristide Baratin

AI总结:

本文提出DemP方法,通过噪声注入和正则化策略控制神经元死亡,实现更高效的模型剪枝和加速训练。

摘要:

在训练神经网络时,死亡神经元——变得不活跃或饱和的单元——通常被视为有害。本文对这一现象提供了新的视角。通过探索不同超参数配置对训练过程中死亡神经元的影响,我们获得了改进稀疏训练方法以进行剪枝的见解。我们引入了Demon Pruning (DemP),一种通过在活跃单元上注入噪声和一种一周期调度正则化策略相结合的方法,动态导致网络稀疏性。在CIFAR-10和ImageNet数据集上的实验表明,DemP优于现有的密集到稀疏结构剪枝方法,实现了更好的准确率-稀疏度权衡,并将训练速度提高了多达3.56倍。这些发现为将死亡神经元视为高效模型压缩和优化的资源提供了新的视角。

英文摘要:

When training neural networks, dying neurons -- units becoming inactive or saturated -- are traditionally seen as harmful. This paper sheds new light on this phenomenon. By exploring the impact of various hyperparameter configurations on dying neurons during training, we gather insights on how to improve upon sparse training approaches to pruning. We introduce Demon Pruning (DemP), a method that controls the proliferation of dead neurons through a combination of noise injection on active units and a one-cycle schedule regularization strategy, dynamically leading to network sparsity. Experiments on CIFAR-10 and ImageNet datasets demonstrate that DemP outperforms existing dense-to-sparse structured pruning methods, achieving better accuracy-sparsity tradeoffs and accelerating training by up to 3.56$\times$. These findings provide a novel perspective on dying neurons as a resource for efficient model compression and optimization.

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

↑