深入缪子与更远:深度分析与扩展
Delving into Muon and Beyond: Deep Analysis and Extensions
AI总结:
本文通过谱视角分析缪子优化器,揭示其作为谱归一化形式的有效性,并探讨其与Adam等优化器的对比
摘要:
缪子优化器最近因其强大的实证表现和对矩阵形状参数的正交化更新而引起了广泛关注,但其底层机制及其与Adam等自适应优化器的关系仍不够清楚。在本文中,我们通过统一的谱视角来解决这些问题。具体来说,我们将缪子视为一种谱变换家族中的p=0端点,该变换形式为UΣ^pV',并考虑了p=1/2、p=1/4和p=1的其他变体。这些变换应用于一阶矩更新(如动量SGD)和根均方(RMS)归一化的梯度更新(如Adam)。为了实现高效的计算,我们开发了一种耦合的牛顿迭代法,以避免显式奇异值分解。在受控实验中,我们发现RMS归一化的更新比一阶矩更新更稳定。此外,虽然谱压缩在第一矩更新下提供了强大的稳定化好处,但缪子更新(p=0)并不总能超越Adam。这些结果表明,缪子最好被理解为一种有效的谱归一化形式,而不是普遍优于的优化方法。我们的源代码将在https://github.com/Ocram7/BeyondMuon上发布。
英文摘要:
The Muon optimizer has recently attracted considerable attention for its strong empirical performance and use of orthogonalized updates on matrix-shaped parameters, yet its underlying mechanisms and relationship to adaptive optimizers such as Adam remain insufficiently understood. In this work, we aim to address these questions through a unified spectral perspective. Specifically, we view Muon as the p = 0 endpoint of a family of spectral transformations of the form U \boldsymbolΣ^{p} V' , and consider additional variants with p = 1/2 , p = 1/4 , and p = 1 . These transformations are applied to both first-moment updates, as in momentum SGD, and to root-mean-square (RMS) normalized gradient updates as in Adam. To enable efficient computation, we develop a coupled Newton iteration that avoids explicit singular value decomposition. Across controlled experiments, we find that RMS-normalized updates yield more stable optimization than first-moment updates. Moreover, while spectral compression provides strong stabilization benefits under first-moment updates, the Muon update (p = 0) does not consistently outperform Adam. These results suggest that Muon is best understood as an effective form of spectral normalization, but not a universally superior optimization method. Our source code will be released at https://github.com/Ocram7/BeyondMuon.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。