arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.12402cs.LGmath.OCstat.ML
收藏

谨慎的权重衰减

Cautious Weight Decay

Lizhang Chen, Jonathan Li, Kaizhao Liang, Baiyu Su, Cong Xie, Nuo Wang Pierse, Chen Liang, Ni Lao, Qiang Liu

AI总结:

CWD是一种对优化器无关的权重衰减方法,通过仅对符号一致的参数应用衰减,提升语言模型和ImageNet任务的性能。

摘要:

我们引入了谨慎的权重衰减(CWD),这是一种单行的、对优化器无关的修改,仅对符号与优化器更新一致的参数坐标应用权重衰减。不同于标准的解耦衰减,后者隐式地优化了正则化或约束的目标函数,CWD保持原始损失,并允许双层解释:在达到稳态流形时,它诱导出滑动模式行为,使其能够搜索未修改目标函数的局部帕累托最优稳态点。在实践中,CWD对于AdamW、Lion和Muon等优化器来说是一个直接的修改,不需要新的超参数或额外的调优。在语言模型预训练和ImageNet分类中,CWD在百万到十亿参数规模上一致地提高了最终损失和准确率。

英文摘要:

We introduce Cautious Weight Decay (CWD), a one-line, optimizer-agnostic modification that applies weight decay only to parameter coordinates whose signs align with the optimizer update. Unlike standard decoupled decay, which implicitly optimizes a regularized or constrained objective, CWD preserves the original loss and admits a bilevel interpretation: it induces sliding-mode behavior upon reaching the stationary manifold, allowing it to search for locally Pareto-optimal stationary points of the unmodified objective. In practice, CWD is a drop-in change for optimizers such as AdamW, Lion, and Muon, requiring no new hyperparameters or additional tuning. For language model pre-training and ImageNet classification, CWD consistently improves final loss and accuracy at million- to billion-parameter scales.

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

↑