在缪子(Muon)极限下驯服Softmax:一种基于希尔伯特几何的统一方法
Taming Softmax at the Limits of Muon: A Unified Approach through Hilbert Geometry
AI总结:
该研究针对缪子优化器在Softmax上的缺陷,提出基于希尔伯特几何的统一框架,将RowNorm与Compositional Muon纳入该框架,为Softmax模块优化器设计提供指导。
摘要:
缪子(Muon)通过线性层输出的RMS(均方根)移动来控制权重更新,这一过程隐含地将线性输出视为整个模块的代理,包括后续的非线性层。对于Softmax而言,这种代理可能会产生误导,因为激活值的RMS偏移无法准确衡量输出分布的变化。我们提出希尔伯特距离(Hilbert distance)作为一种自然的度量,用于约束这些输出分布的变化。希尔伯特距离可约束交叉熵损失的变化并限制概率重新分配;对于Softmax,它表现为预激活扰动的变分半范数,使概率约束可表示为参数约束。将最速下降问题表述为带有希尔伯特距离约束的形式,可将两种近期提出的方法纳入统一数学框架:针对语言模型(LM)头,求解所得直径约束问题的逐行近似,得到RowNorm方法;针对缩放点积注意力,相同原理导出了Compositional Muon所基于的一阶查询-键最速下降问题。这些关联促使将希尔伯特距离作为Softmax模块优化器设计的指导原则。
英文摘要:
Muon controls weight updates through the RMS movement of a linear layer's output. This implicitly treats the linear output as a proxy for the full module, including the nonlinearity that follows. This proxy can be misleading for softmax, where the RMS shift in activations does not faithfully measure the change in the output distribution. We propose Hilbert distance as a natural metric for bounding changes in these output distributions. Hilbert distance bounds changes in cross-entropy loss and limits probability redistribution. For softmax, it takes the form of the variation seminorm of the preactivation perturbation, allowing probability constraints to be expressed as parameter constraints. Formulating the steepest descent problem with a Hilbert distance constraint brings two recently proposed methods under a unified mathematical framework. For the LM head, solving a row-wise approximation to the resulting diameter-constrained problem leads us to RowNorm \citep{pethick2025trainingdeeplearningmodels}. For scaled dot-product attention, the same principle yields the first-order query--key steepest descent problem underlying Compositional Muon \citep{keigwin2026compositional}. These connections motivate using Hilbert distance as a guiding principle for optimizer design in softmax modules.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。