旋转平衡:权重衰减如何平衡神经网络中的学习
Rotational Equilibrium: How Weight Decay Balances Learning Across Neural Networks
AI总结:
研究揭示了权重衰减使神经元更新达到旋转平衡状态,从而平衡各层有效学习率,这解释了Weight Standardization和AdamW的有效性,且显式控制旋转可大幅减少对学习率预热的需求。
摘要:
本研究通过应用分析与实验相结合的方法,探讨了权重衰减如何影响深度神经网络中单个神经元的更新行为。权重衰减能使神经元权重向量的预期幅度和角度更新收敛至一种我们称之为旋转平衡的稳态。这些状态具有高度同质性,能有效平衡不同层和神经元间的平均旋转——即有效学习率的代理指标。我们的工作分析了 Adam、Lion 和带动量的 SGD 等优化器中的这些动态,为训练提供了新的简单视角,阐明了深度学习中广泛使用但知之甚少的方法的有效性。我们证明了平衡旋转在 Weight Standardization 等归一化方法,以及 AdamW 相较于带 L2 正则化的 Adam 的有效性中起关键作用。最后,我们表明显式控制旋转能提供权重衰减的益处,同时大幅降低对学习率预热的需求。
英文摘要:
This study investigates how weight decay affects the update behavior of individual neurons in deep neural networks through a combination of applied analysis and experimentation. Weight decay can cause the expected magnitude and angular updates of a neuron's weight vector to converge to a steady state we call rotational equilibrium. These states can be highly homogeneous, effectively balancing the average rotation -- a proxy for the effective learning rate -- across different layers and neurons. Our work analyzes these dynamics across optimizers like Adam, Lion, and SGD with momentum, offering a new simple perspective on training that elucidates the efficacy of widely used but poorly understood methods in deep learning. We demonstrate how balanced rotation plays a key role in the effectiveness of normalization like Weight Standardization, as well as that of AdamW over Adam with L2-regularization. Finally, we show that explicitly controlling the rotation provides the benefits of weight decay while substantially reducing the need for learning rate warmup.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。