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

解耦权重衰减的修正

Correction of Decoupled Weight Decay

Cohere Labs(Cohere实验室);Community Toronto(社区多伦多);ON, Canada(加拿大安大略省)

Jason Chuan-Chih Chou

AI总结:

本文研究解耦权重衰减的设置对训练动态的影响,发现其应与学习率平方成正比,从而稳定权重和梯度范数,提升模型性能。

摘要:

解耦权重衰减,仅负责AdamW相对于Adam的性能优势,长期以来被设为与学习率γ成正比而未受质疑。一些研究者最近挑战这一假设,基于稳态下的正交性论证,主张解耦权重衰减应与γ²成正比。相反,我们发现消除更新对权重范数的垂直分量贡献对训练动态影响有限。相反,我们推导出解耦权重衰减与γ²成正比可基于稳态下更新与权重无关的简单假设,从而稳定权重范数。基于相同假设,我们推导并实验证明,在Scion优化器下,minibatch的总更新贡献(TUC)更应由动量依赖的有效学习率最优值描述,并展示解耦权重衰减与γ²成正比可稳定权重和梯度范数,从而更好地控制训练动态并提升模型性能。

英文摘要:

Decoupled weight decay, solely responsible for the performance advantage of AdamW over Adam, has long been set to proportional to learning rate $γ$ without questioning. Some researchers have recently challenged such assumption and argued that decoupled weight decay should be set $\propto γ^2$ instead based on orthogonality arguments at steady state. To the contrary, we find that eliminating the contribution of the perpendicular component of the update to the weight norm leads to little change to the training dynamics. Instead, we derive that decoupled weight decay $\propto γ^2$ results in stable weight norm based on the simple assumption that updates become independent of the weights at steady state, regardless of the nature of the optimizer. Based on the same assumption, we derive and empirically verify that the Total Update Contribution (TUC) of a minibatch under the Scion optimizer is better characterized by the momentum-dependent effective learning rate whose optimal value transfers and we show that decoupled weight decay $\propto γ^2$ leads to stable weight and gradient norms and allows us to better control the training dynamics and improve the model performance.

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

↑