从SGD到穆恩:通过Schatten-p范数实现自适应优化
From SGD to Muon: Adaptive Optimization via Schatten-p Norms
AI总结:
本文提出了一种基于Schatten-p范数的自适应优化方法,通过动态选择代理最优的更新LMO几何结构,实现了从SGD到Muon的优化策略转换,并在不同训练场景中验证了其有效性。
摘要:
现代优化器,如Muon,对其更新施加了矩阵级几何约束。这些矩阵级约束可以统一在线性最小化Oracle(LMO)理论下。然而,所有当前方法都对更新规则施加固定的LMO几何结构,这些结构是根据设计或经验选择的,不一定符合问题的几何特性。我们引入了一种新颖且高效的数据驱动标准,用于动态选择单个深度神经网络层的代理最优更新LMO几何结构。该标准通过使用单步随机特征回归替代模型,从梯度和激活统计信息中推导出闭合形式,从而在SGD到Muon的更新之间进行插值。此外,通过整合参数级预条件化,我们的框架能够恢复SGD、Muon、Adam和MuAdam作为特定极值。为了使这种自适应方法可扩展,我们将其与高效的计算策略相结合,仅在高度优化的基线模型上带来约3%的运行时间开销。作为概念验证,我们证明这种数据驱动的优化器在三个不同的训练场景中优于或至少与Muon和AdamW中表现最好的优化器相竞争。最终,这项工作提供了证据,证明LMO几何可以成功且高效地从运行时数据进行适应,为超越静态几何的优化器设计开辟了新的途径。
英文摘要:
Modern optimizers, like Muon, impose matrix-wise geometry constraints on their updates. These matrix-wise constraints can be unified under Linear Minimization Oracle (LMO) theory. However, all current methods impose fixed LMO geometries for the update rules, chosen by-design or empirically, which are not necessarily optimal according to the problem's geometry. We introduce a novel efficient datadriven criterion for dynamically choosing proxy-optimal update LMO geometries on individual Deep Neural Network layers. Derived in closed form from gradient and activation statistics using a single-step random feature regression surrogate model, our criterion navigates a design space interpolating from SGD to Muon updates. Moreover, integrating parameter-wise preconditioning allows our framework to recover SGD, Muon, Adam, and MuAdam as specific extrema. To make this adaptive approach scalable, we pair it with efficient computational strategies, achieving only a $\sim$ 3% runtime overhead on highly optimized baselines. As a proof of concept, we show that this data-driven optimizer beats or remains competitive with the performance of the best performing optimizer between Muon and AdamW across three different training scenarios. Ultimately, this work provides evidence that LMO geometry can be successfully and efficiently adapted from runtime data, opening a new pathway for optimizer design beyond static geometries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。