联想记忆学习中的Muon:训练动力学与缩放定律
Muon in Associative Memory Learning: Training Dynamics and Scaling Laws
AI总结:
本文在联想记忆模型中研究Muon优化器的训练动力学和缩放定律,证明其相比梯度下降在无噪声情况下实现指数加速,在有噪声情况下具有更优的缩放效率。
摘要:
Muon通过梯度的矩阵符号更新矩阵参数,并显示出强大的经验增益,但其动力学和缩放行为在理论上仍不清楚。我们在具有softmax检索和查询-答案对上的层次频谱(含和不含标签噪声)的线性联想记忆模型中研究Muon。在该设置下,我们证明梯度下降以高度不平衡的速率学习频率分量,导致收敛缓慢,瓶颈在于低频分量。相比之下,Muon优化器缓解了这种不平衡,实现了更快且更均匀的进展。具体地,在无噪声情况下,Muon实现了相对于梯度下降的指数加速;在具有幂律频谱的有噪声情况下,我们推导了Muon的缩放定律,并展示了其相对于梯度下降的优越缩放效率。此外,我们表明Muon可以解释为由自适应任务对齐和块对称梯度结构产生的隐式矩阵预处理器。相比之下,具有坐标符号算子的预处理器在已知未知任务表示的oracle访问下才能匹配Muon,而这在实践中的SignGD中是不可行的。在合成长尾分类和LLaMA风格预训练上的实验证实了该理论。
英文摘要:
Muon updates matrix parameters via the matrix sign of the gradient and has shown strong empirical gains, yet its dynamics and scaling behavior remain unclear in theory. We study Muon in a linear associative memory model with softmax retrieval and a hierarchical frequency spectrum over query-answer pairs, with and without label noise. In this setting, we show that Gradient Descent (GD) learns frequency components at highly imbalanced rates, leading to slow convergence bottlenecked by low-frequency components. In contrast, the Muon optimizer mitigates this imbalance, leading to faster and more uniform progress. Specifically, in the noiseless case, Muon achieves an exponential speedup over GD; in the noisy case with a power-law frequency spectrum, we derive Muon's scaling law and demonstrate its superior scaling efficiency over GD. Furthermore, we show that Muon can be interpreted as an implicit matrix preconditioner arising from adaptive task alignment and block-symmetric gradient structure. In contrast, the preconditioner with coordinate-wise sign operator could match Muon under oracle access to unknown task representations, which is infeasible for SignGD in practice. Experiments on synthetic long-tail classification and LLaMA-style pre-training corroborate the theory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。