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

奇妙预训练优化器及其发现之处 II:超球优化

Fantastic Pretraining Optimizers and Where to Find Them II: Hyperball Optimization

Stanford University(斯坦福大学);Princeton University(普林斯顿大学);Tsinghua University(清华大学)

Kaiyue Wen, Xingyu Dang, Kaifeng Lyu, Tengyu Ma, Percy Liang

AI总结:

针对Muon等优化器在大模型预训练中增益随规模增大而减弱的问题,提出Hyperball包装器,固定权重矩阵及其更新的Frobenius范数,在1.2B参数模型上实现20-30%的token等效加速,并改善学习率迁移。

摘要:

基于矩阵的优化器(如Muon)可以显著加速语言模型预训练,但观察到当使用标准常数解耦权重衰减时,随着模型大小和数据规模的增长,它们相对于AdamW的增益会缩小。我们提出Hyperball,一个简单的优化器包装器来解决这个问题。给定一个基础优化器(如Adam或Muon),Hyperball将权重矩阵的Frobenius范数及其对应的优化器更新设置为固定常数。在高达1.2B参数的Qwen3风格模型上,Muon Hyperball相对于权重衰减基线实现了20-30%的token等效加速。与解耦权重衰减相比,Hyperball还改善了跨宽度和深度的学习率迁移。该方法的动机来自先前的理论,该理论表明使用权重衰减训练会导致一个仅依赖于训练超参数的平衡权重范数。通过这种机制,权重衰减决定了角度学习率,即权重矩阵方向变化的速度。

英文摘要:

Matrix based optimizers such as Muon can substantially speed up language model pretraining, but their gains over AdamW are observed to shrink as model size and data scale grow when using standard constant decoupled weight decay. We propose Hyperball, a simple optimizer wrapper that addresses this issue. Given a base optimizer such as Adam or Muon, Hyperball sets the Frobenius norms of weight matrices and their corresponding optimizer updates to fixed constants. On Qwen3 style models up to 1.2B parameters, Muon Hyperball achieves 20--30% token equivalent speedup over weight decay baselines. Hyperball also improves learning rate transfer across widths and depths compared to decoupled weight decay. This method is motivated by prior theory showing that training with weight decay leads to an equilibrium weight norm that only depends on the training hyperparameters. Through this mechanism, the weight decay then decides the angular learning rate, i.e. how fast the direction of the weight matrix changes.

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

↑