Paper: 2603.28743 Authors: Liliang Ren, Yang Liu, Yelong Shen, Weizhu Chen Categories: cs.LG

The Gap

Scaling laws tell us how to grow models efficiently, but they break down when hyperparameters don’t transfer. Existing transfer laws (like μP) work for AdamW but assume first-order optimization. When you switch to newer optimizers like Muon that constrain weights to hyperspheres, the old rules fail. Nobody knew how to transfer learning rates across width, depth, and data scale under hypersphere constraints. Worse, large-scale training still hits instability walls—loss spikes, activation outliers, training collapse—even with careful tuning.

The logical path: If hypersphere optimization structurally prevents certain instabilities, and if we can derive transfer laws for it, then we get both efficiency (tune once, scale everywhere) and stability (no more loss spikes) simultaneously.

Problem: Hyperparameter transfer + stability at scale
    |
    v
Observation: Hypersphere constraints change optimizer dynamics
    |
    v
Method: Derive transfer laws for Frobenius-sphere + Muon
    |
    v
Evidence: Single LR transfers across 6 orders of magnitude
    |
    v
Conclusion: 1.58x efficiency + bounded instability indicators

The Increment

One sentence: Before, you tuned hyperparameters separately at each scale and hoped training stayed stable; after, you tune once at small scale and get guaranteed stability everywhere.

Core Mechanism

HyperP has three components working together. First, it constrains all weight matrices to lie on a Frobenius-norm hypersphere—imagine every weight matrix forced to have exactly the same total magnitude. Second, it uses the Muon optimizer, which updates weights along the sphere’s surface rather than in free space. Third, it derives scaling rules: when you double model width, multiply learning rate by √2; when you add depth, keep per-layer learning rate constant but scale the base rate.

Data flows like this: gradients arrive → Muon projects them onto the tangent space of the hypersphere → updates move weights along the sphere surface → the Frobenius norm stays fixed. For MoE models, they add SqrtGate, which normalizes expert outputs by √(number of experts) to keep signal magnitude constant as you change granularity.

Think of it like training on the surface of a planet. In normal optimization, you can fly anywhere in 3D space—sometimes you drift too high (exploding gradients) or crash into the ground (vanishing gradients). HyperP locks you to the planet’s surface. The Frobenius constraint is the planet’s radius—fixed. Muon is your movement rule: you can only walk along the surface, never jump off. The scaling laws tell you how fast to walk based on the terrain (model architecture). When you encounter a mountain range (deeper model), you don’t speed up—you keep the same walking pace but adjust your base speed. When the planet gets bigger (wider model), you walk proportionally faster because distances scale up. SqrtGate is like adjusting your stride length when the ground splits into multiple paths (MoE experts)—you compensate so your overall speed stays constant.

Key Concepts

  • Frobenius-sphere constraint: Imagine you have a matrix of weights—say, a 1000×1000 grid of numbers. The Frobenius norm is just the square root of the sum of all squared entries, like measuring the “total energy” in the matrix. Constraining to a Frobenius sphere means this total energy is fixed—if one weight grows, others must shrink to compensate. Concretely, if your matrix has Frobenius norm 10, and you increase one entry from 0.5 to 0.6, you must decrease other entries slightly so the total norm stays 10. This prevents runaway growth in any direction.

  • Hypersphere optimization: Regular gradient descent moves weights in the direction that reduces loss, no restrictions. Hypersphere optimization projects that movement onto the surface of a sphere. Picture a ball: you want to move “downhill” on the loss landscape, but you’re glued to the ball’s surface. So you take the gradient, remove the component pointing radially (toward/away from center), and move along what’s left—the tangent direction. Muon does this projection automatically. The benefit: weight magnitudes can’t explode because they’re locked to the sphere radius.

  • μP (maximal update parameterization): This is the insight that learning rates should scale with model width to keep training dynamics similar across scales. Without μP, doubling width means each neuron gets twice as many inputs, so gradients grow by 2×, and you need to shrink learning rate by 2× to compensate. μP bakes this compensation into the parameterization: it scales weight initialization and learning rates together so the “effective” update size stays constant. HyperP extends this to hypersphere constraints, finding that width scaling needs √width factor instead of 1/width because the sphere geometry changes the math.

Framework Shift

Before (AdamW + μP):                After (HyperP + Muon):

Weights in free space               Weights on hypersphere
    |                                   |
    v                                   v
Adam updates                        Muon projects to tangent
    |                                   |
    v                                   v
Scale LR by 1/width                 Scale LR by sqrt(width)
    |                                   |
    v                                   v
Hope for stability                  Guaranteed bounded norms
    |                                   |
    v                                   v
Retune at each scale                Tune once, transfer always

From unconstrained optimization with empirical stability to constrained optimization with provable stability, the core shift is geometry: moving from Euclidean space to a Riemannian manifold changes how scaling laws work.

Expert Assessment

Problem choice: Real gap. Hypersphere optimization is gaining traction (Muon, Shampoo variants), but nobody had transfer laws for it. The instability problem is also genuine—every lab scaling past 10B parameters has war stories about loss spikes. This sits at the intersection of optimization theory and practical engineering, which is where impactful work lives.

Method maturity: Mostly principled. The Frobenius-sphere constraint is clean, and the derivation of scaling laws follows logically from the geometry. The SqrtGate mechanism for MoE feels slightly ad-hoc—it works empirically but lacks the theoretical tightness of the main framework. The “magic exponent” 0.32 for data scaling is borrowed from prior work, not derived here, which is fine but worth noting.

Experimental integrity: Strong baselines. They compare against well-tuned Muon without HyperP, not a strawman. The 1.58× efficiency claim is at 6×10²¹ FLOPs, which is serious compute. Instability metrics (Z-values, activation outliers) are tracked across scales, not cherry-picked. One concern: experiments stop at ~10B parameters; would love to see 100B+ to really stress-test stability claims. The MoE experiments are smaller scale, which is understandable but limits confidence.

Writing quality: The paper front-loads theory and buries practical details. Section 3 (scaling laws) is dense—would benefit from a worked example with actual numbers. The related work section undersells how different this is from μP. Figure 2 (instability metrics) is the paper’s strongest asset but appears late. If I were rewriting, I’d lead with the stability story (show the problem viscerally) then introduce HyperP as the solution.

Verdict: strong accept — Solves a real problem with principled methods, delivers both efficiency and stability, and opens a new research direction for hypersphere optimization at scale.

Takeaways

Steal the hypersphere constraint idea even if you’re not scaling LLMs. Any time you’re training something with matrix weights and hitting instability, try constraining Frobenius norms—it’s a simple projection operation. The SqrtGate normalization (divide by √N when splitting into N branches) is a general trick for MoE or ensemble methods to keep signal magnitude constant. The broader lesson: when switching optimizers, don’t assume old scaling laws transfer—rederive them from the optimizer’s geometry. Finally, the experimental protocol of tracking multiple instability indicators (not just loss) across scales is worth copying for any large-scale training work.

论文: 2603.28743 作者: Liliang Ren, Yang Liu, Yelong Shen, Weizhu Chen 分类: cs.LG

缺口

缩放定律告诉我们如何高效扩大模型,但当超参数无法迁移时就失效了。

现有的迁移定律(如μP)适用于AdamW,但假设使用一阶优化。

当你切换到像Muon这样将权重约束在超球面上的新优化器时,旧规则就不管用了。

没人知道如何在超球面约束下跨宽度、深度和数据规模迁移学习率。

更糟的是,大规模训练仍会撞上不稳定性墙——损失尖峰、激活异常值、训练崩溃——即使精心调参也难免。

逻辑路径:如果超球面优化在结构上能防止某些不稳定性,如果我们能为它推导迁移定律,那么我们就能同时获得效率(调一次,处处用)和稳定性(不再有损失尖峰)。

问题:超参数迁移 + 大规模稳定性
    |
    v
观察:超球面约束改变优化器动力学
    |
    v
方法:为Frobenius球面 + Muon推导迁移定律
    |
    v
证据:单个学习率跨6个数量级迁移
    |
    v
结论:1.58倍效率 + 有界的不稳定性指标

增量

一句话: 之前,你在每个规模分别调超参数并祈祷训练保持稳定;

现在,你在小规模调一次就能在所有规模获得保证的稳定性。

核心机制

HyperP有三个协同工作的组件。

首先,它约束所有权重矩阵位于Frobenius范数超球面上——想象每个权重矩阵被强制具有完全相同的总幅度。

其次,它使用Muon优化器,沿球面表面而非自由空间更新权重。

第三,它推导缩放规则:当你将模型宽度翻倍时,学习率乘以√2;

当你增加深度时,保持每层学习率恒定但缩放基础速率。

数据流动是这样的:梯度到达 → Muon将其投影到超球面的切空间 → 更新沿球面移动权重 → Frobenius范数保持固定。

对于MoE模型,他们添加了SqrtGate,通过√(专家数量)归一化专家输出,以在改变粒度时保持信号幅度恒定。

把它想象成在行星表面训练。

在普通优化中,你可以在3D空间任意飞行——有时漂得太高(梯度爆炸)或坠入地面(梯度消失)。

HyperP把你锁定在行星表面。

Frobenius约束是行星半径——固定的。

Muon是你的移动规则:你只能沿表面行走,永远不能跳离。

缩放定律告诉你根据地形(模型架构)以多快速度行走。

当你遇到山脉(更深的模型)时,你不加速——保持相同的行走速度但调整基础速度。

当行星变大(更宽的模型)时,你走得成比例地更快,因为距离放大了。

SqrtGate就像当地面分裂成多条路径(MoE专家)时调整步幅——你补偿以使整体速度保持恒定。

关键概念

  • Frobenius球面约束: 想象你有一个权重矩阵——比如1000×1000的数字网格。

Frobenius范数就是所有平方项之和的平方根,就像测量矩阵中的”总能量”。

约束到Frobenius球面意味着这个总能量是固定的——如果一个权重增长,其他权重必须收缩以补偿。

具体来说,如果你的矩阵Frobenius范数为10,你将一个条目从0.5增加到0.6,你必须略微减少其他条目使总范数保持10。

这防止了任何方向的失控增长。

  • 超球面优化: 常规梯度下降沿减少损失的方向移动权重,没有限制。

超球面优化将该移动投影到球面上。

想象一个球:你想在损失景观上”下坡”移动,但你被粘在球面上。

所以你取梯度,移除径向分量(指向/远离中心),沿剩余部分移动——切线方向。

Muon自动执行这个投影。

好处:权重幅度不会爆炸,因为它们被锁定在球面半径上。

  • μP(最大更新参数化): 这是学习率应随模型宽度缩放以保持跨规模训练动力学相似的洞见。

没有μP,宽度翻倍意味着每个神经元获得两倍输入,所以梯度增长2倍,你需要将学习率缩小2倍来补偿。

μP将这种补偿烘焙到参数化中:它一起缩放权重初始化和学习率,使”有效”更新大小保持恒定。

HyperP将此扩展到超球面约束,发现宽度缩放需要√宽度因子而非1/宽度,因为球面几何改变了数学。

框架转变

之前(AdamW + μP):              之后(HyperP + Muon):

自由空间中的权重                  超球面上的权重
    |                                 |
    v                                 v
Adam更新                          Muon投影到切空间
    |                                 |
    v                                 v
学习率按1/宽度缩放                学习率按sqrt(宽度)缩放
    |                                 |
    v                                 v
期望稳定性                        保证有界范数
    |                                 |
    v                                 v
每个规模重新调参                  调一次,永远迁移

从具有经验稳定性的无约束优化到具有可证明稳定性的约束优化,核心转变是几何:从欧几里得空间移动到黎曼流形改变了缩放定律的工作方式。

专家评审

选题眼光: 真实缺口。

超球面优化正在获得关注(Muon、Shampoo变体),但没人为它制定迁移定律。

不稳定性问题也是真实的——每个扩展到100亿参数以上的实验室都有关于损失尖峰的战争故事。

这处于优化理论和实践工程的交叉点,这正是有影响力工作的所在。

方法成熟度: 大部分有原则。

Frobenius球面约束很干净,缩放定律的推导从几何逻辑地遵循。

MoE的SqrtGate机制感觉略微临时——它在经验上有效但缺乏主框架的理论严密性。

数据缩放的”魔法指数”0.32借用自先前工作,不是这里推导的,这没问题但值得注意。

实验诚意: 基线强劲。

他们与精心调优的无HyperP的Muon比较,不是稻草人。

1.58倍效率声明在6×10²¹ FLOPs,这是严肃的计算量。

不稳定性指标(Z值、激活异常值)跨规模跟踪,不是挑选的。

一个担忧:实验止于约100亿参数;

希望看到1000亿+以真正压力测试稳定性声明。

MoE实验规模较小,这可以理解但限制了信心。

写作功力: 论文前置理论并埋藏实践细节。

第3节(缩放定律)很密集——会受益于带实际数字的工作示例。

相关工作部分低估了这与μP的差异程度。

图2(不稳定性指标)是论文最强资产但出现较晚。

如果我重写,我会以稳定性故事开头(生动展示问题)然后引入HyperP作为解决方案。

判决: 强接收 — 用有原则的方法解决真实问题,同时提供效率和稳定性,并为大规模超球面优化开辟新研究方向。

要点总结

即使你不在缩放LLM,也要偷走超球面约束的想法。

任何时候你在训练带矩阵权重的东西并遇到不稳定性,尝试约束Frobenius范数——这是一个简单的投影操作。

SqrtGate归一化(分裂成N个分支时除以√N)是MoE或集成方法保持信号幅度恒定的通用技巧。

更广泛的教训:切换优化器时,不要假设旧缩放定律迁移——从优化器的几何重新推导它们。

最后,跨规模跟踪多个不稳定性指标(不仅仅是损失)的实验协议值得任何大规模训练工作复制。