Paper: 2606.23676 Authors: Dingzhi Yu, Hongyi Tao, Yuanyu Wan, Luo Luo, Lijun Zhang Categories: cs.LG, cs.AI, math.OC, stat.ML
The Gap
Existing theory for adaptive optimizers like AdamW assumes finite-variance gradient noise — which is convenient but increasingly unrealistic. Large language model (LLM) pretraining empirically produces heavy-tailed noise: occasional gradient spikes with infinite variance, typical of Pareto-like distributions. Meanwhile, sign-based optimizers (Lion, Muon) and AdaGrad have been proven to converge under heavy-tailed noise. AdamW, the de facto choice in LLM training, lacks any rigorous convergence guarantee in this regime. The logical path:
Problem: AdamW convergence under heavy-tailed noise is unknown
|
v
Assumption (common): finite variance + i.i.d. gradients
|
v
Observation: LLM gradients are heavy-tailed (infinite variance)
|
v
Gap: no heavy-tailed theory for AdamW exists
|
v
Method: formulate as open problem + prove two things:
(1) a weighted-metric benchmark (positive)
(2) a "corridor lower-bound" that shows how
the second-moment accumulator can obstruct
convergence by masking large gradients
|
v
Evidence: theoretical derivations, no experiments needed
|
v
Conclusion: AdamW's heavy-tailed behavior is not trivial;
the corridor mechanism makes it a genuine open problem
The Increment
One sentence: Before this paper, heavy-tailed convergence theory existed for sign-based methods and AdaGrad but not for AdamW — now the absence is formally recognized, a positive benchmark is given, and a lower-bound mechanism shows why the answer is not obvious.
Core Mechanism
The paper does not propose a new algorithm; instead it dissects the AdamW update under heavy-tailed noise. AdamW maintains two state variables: the biased first moment ( m_t ) (exponential moving average of gradient ( g_t )) and the biased second moment ( v_t ) (EMA of ( g_t^2 )). The parameter update is:
(the weight decay term).
Under heavy-tailed noise, occasional huge gradients can make ( v_t ) spike, shrinking the effective step size for many subsequent steps. The authors prove that in a “corridor” (a critical parameter region), this memory effect can cause an obstruction: gradients may be hidden by the denominator, preventing convergence even when the noise is well-behaved on average.
[ASCII diagram of method internals — the AdamW update with heavy-tailed input]
Time t: g_t ~ heavy-tailed (infinite variance)
|
v
m_t = beta1 * m_{t-1} + (1-beta1) * g_t
v_t = beta2 * v_{t-1} + (1-beta2) * g_t^2
| |
| v
| sqrt(v_t) + epsilon
| |
v v
theta_{t+1} = theta_t - eta * (m_t / (sqrt(v_t)+eps)) - eta * lambda * theta_t
|
v
output next parameter
The key structural insight is the corridor lower-bound: for a range of ( v_t ) values relative to the gradient magnitude, the update is bounded away from zero regardless of how large ( g_t ) is — the denominator “hides” the gradient. This does not happen for sign-based optimizers (where the update is ±η) or for AdaGrad (which uses cumulative sums rather than EMAs, so spikes decay more slowly but don’t cause a corridor).
Key Concepts
-
Heavy-tailed noise: Random variables where the tail decays like a power law, e.g., ( P(|X| > x) \approx x^{-\alpha} ) with . This means the variance is infinite (or undefined), and even the mean may not exist. In LLM training, the gradient distribution often resembles a Pareto with α between 1 and 2. Concretely: imagine a gradient that is usually between -1 and 1, but every thousand steps it jumps to 10⁶. A finite-variance optimizer might treat that as an anomaly; heavy-tailed theory must handle it systematically.
-
Second-moment accumulator (v_t): In AdamW, ( v_t ) is an exponential moving average of squared gradients. Under heavy-tailed noise, one huge gradient can make ( v_t ) huge for many steps, even after the spike has passed. This is like a thermometer that, after measuring a boiling pot, stays hot for a long time and incorrectly suggests everything is still boiling. The paper shows this memory can create a “corridor” where the update step is tiny, effectively hiding the true gradient direction.
-
Corridor lower-bound: A formal mechanism: given certain assumptions on the sequence of ( v_t ) and the current gradient ( g_t ), the effective update magnitude ( \eta m_t/(\sqrt{v_t}+\epsilon) ) is bounded below by a positive constant that does not depend on the size of ( g_t ). This means increasing the gradient does not increase the update — a form of gradient vanishing caused by the accumulator. The authors prove that this corridor exists for some heavy-tailed configurations, making convergence impossible unless specific conditions on the parameters or noise decay hold.
Framework Shift
Before (mainstream heavy-tailed theory): After (this paper):
+-------------------------------+ +-------------------------------+
| Heavy-tailed noise assumed | | AdamW explicitly analyzed |
| for sign-based (Lion, Muon) | | under same heavy-tailed noise |
| and AdaGrad. | | |
| AdamW only analyzed under | | Positive benchmark: weighted |
| finite variance. | | metric can ensure convergence |
| | | if epsilon is chosen right. |
+-------------------------------+ | Negative result: corridor |
| lower-bound shows obstruction.|
| Open problem: which regime |
| dominates? |
+-------------------------------+
One sentence: From assuming AdamW works by analogy with finite-variance theory, to proving that its EMA second-moment accumulator introduces a genuine obstruction under heavy-tailed noise — shifting the burden of proof onto a non-trivial open question.
Expert Assessment
Problem choice: This is a real gap. LLM practitioners rely on AdamW but the theory community had largely ignored heavy-tailed noise. The paper correctly identifies a missing piece in the convergence theory of one of the most used optimizers. It sits at a timely intersection of optimization theory and large-scale ML.
Method maturity: The contribution is a problem statement plus a theoretical lower-bound — clever rather than brute force. There is no simpler approach because the question is still open; the paper provides the first rigorous boundary. The corridor mechanism is a clean insight suggesting that the answer won’t be a simple “yes.”
Experimental integrity: No experiments are presented (the paper explicitly states none are needed for a theoretical open problem). This is fine given the genre. The derived bounds are mathematically sound; no red flags in the theoretical assumptions.
Writing quality: The structure is clear, but some sections (like the weighted-metric benchmark proof) are dense and under-motivated. The corridor lower-bound part is the highlight and should be expanded with an intuitive example. The abstract is concise. A rewrite of the proof sketches with more intuition would elevate the paper.
Verdict: weak accept — An honest, well-scoped open problem with a nontrivial lower-bound; it doesn’t solve AdamW’s heavy-tailed case but correctly reframes the research agenda. It’s worth attention for optimizer theorists, but practitioners should not change workflows yet.
Takeaways
- The “corridor lower-bound” idea is transferable: any optimizer with an EMA of squared gradients (RMSprop, Nadam) may face similar hiding effects under heavy-tailed noise. Practitioners using such optimizers for long-tailed input distributions should be cautious.
- The weighted-metric benchmark suggests that adding a large enough epsilon (or a different normalization) might circumvent the corridor. This is a concrete knob to turn in future optimizer designs.
- The paper’s framing — “here’s why the naive analogy fails” — is a useful style for other open problems in optimizer theory. Steal that rhetorical structure.
论文: 2606.23676 作者: Dingzhi Yu, Hongyi Tao, Yuanyu Wan, Luo Luo, Lijun Zhang 分类: cs.LG, cs.AI, math.OC, stat.ML
缺口
现有自适应优化器(如 AdamW)的收敛理论几乎全部假设随机梯度噪声具有有限方差。 这个假设虽然方便,但越来越脱离现实——大语言模型(LLM)预训练产生的梯度噪声经验上呈现重尾分布: 偶尔出现的巨大梯度,其方差可能无穷大(典型的帕累托分布)。 与此同时,基于符号的优化器(Lion、Muon)和 AdaGrad 已经被证明能在重尾噪声下收敛; 而被广泛使用的 AdamW 却没有任何严格的重尾收敛保证。 这条推理链如下:
问题:AdamW 在重尾噪声下的收敛性未知
|
v
常见假设:有限方差 + 独立同分布梯度
|
v
观察:LLM 梯度是重尾的(方差无穷)
|
v
缺口:AdamW 缺少重尾理论
|
v
方法:将问题形式化为开放问题 + 证明两点:
(1) 一个加权限定正基准(加权度量可确保收敛)
(2) 一个"走廊下界"机制,展示
二阶矩累加器如何通过掩盖大梯度
阻碍收敛
|
v
证据:理论推导,无需实验
|
v
结论:AdamW 的重尾行为并非平凡问题;
走廊机制使答案成为一个真正的开放问题
增量
一句话:在此之前,重尾收敛理论已为符号方法和 AdaGrad 建立,但 AdamW 缺席; 本文正式承认了这个空缺,给出了一个正向基准,并揭示了走廊下界机制以说明答案并不显然。
核心机制
本文并未提出新算法,而是剖析了 AdamW 在重尾噪声下的更新过程。
AdamW 维护两个状态量:一阶矩 ( m_t )(梯度 ( g_t ) 的指数滑动平均)和二阶矩 ( v_t )(( g_t^2 ) 的 EMA)。
参数更新为:
(最后一项为权重衰减)。
在重尾噪声下,偶尔的巨大梯度会使 ( v_t ) 飙升,从而在之后很多步内缩小有效步长。
作者证明在某个”走廊”(关键参数区域)中,这种记忆效应会导致阻碍:
即使梯度序列在平均意义上表现良好,分母也可能掩盖真正的梯度方向。
[方法内部结构的 ASCII 图 — 带重尾输入的 AdamW 更新]
时间 t:g_t ~ 重尾(方差无穷)
|
v
m_t = beta1 * m_{t-1} + (1-beta1) * g_t
v_t = beta2 * v_{t-1} + (1-beta2) * g_t^2
| |
| v
| sqrt(v_t) + epsilon
| |
v v
theta_{t+1} = theta_t - eta * (m_t / (sqrt(v_t)+eps)) - eta * lambda * theta_t
|
v
输出下一参数
核心结构洞察是”走廊下界”: 在一定范围内,无论 ( g_t ) 有多大,更新步长都被某个正数所限制——分母”隐藏”了梯度。 这种现象在符号优化器(更新量仅为 ±η)或 AdaGrad(使用累加和而非 EMA,尖峰衰减更慢但不会形成走廊)中均不会出现。
关键概念
-
重尾噪声:随机变量的尾部像幂律衰减,例如 ( P(|X| > x) \approx x^{-\alpha} ) 且 。 这意味着方差无穷大(或不存在),甚至均值都可能不存在。 在 LLM 训练中,梯度分布常近似为 α 在 1 到 2 之间的帕累托分布。 具体例子:梯度通常介于 -1 和 1 之间,但每千步突然跳至 10⁶。 有限方差优化器可能将其视为异常;而重尾理论必须系统性地处理它。
-
二阶矩累加器 (v_t):AdamW 中的 ( v_t ) 是梯度平方的指数滑动平均。 在重尾噪声下,一个巨大梯度足以让 ( v_t ) 在之后很多步内维持在很大数值,即使尖峰早已过去。 这就像一支体温计:测过沸水后长时间显示高温,错误地暗示周围仍在沸腾。 本文表明,这种记忆可以制造一个”走廊”——更新步长变得极小,从而掩盖真实梯度方向。
-
走廊下界:一个形式化机制:在一定假设下(关于 ( v_t ) 序列和当前梯度 ( g_t ) 的关系), 有效更新幅度 ( \eta m_t/(\sqrt{v_t}+\epsilon) ) 被一个与 ( g_t ) 大小无关的正数下界所限制。 这意味着增大梯度不会增大更新量——一种由累加器导致的梯度消失。 作者证明对于某些重尾配置,走廊确实存在,使得除非参数或噪声衰减满足特定条件,否则收敛不可能。
框架转变
之前(主流重尾理论): 之后(本文):
+-----------------------------+ +-----------------------------+
| 重尾噪声已用于分析 | | 明确分析了 AdamW 在相同 |
| 符号型优化器(Lion, Muon) | | 重尾噪声下的行为 |
| 和 AdaGrad。 | | |
| AdamW 仅在有限方差下分析。 | | 正向基准:若选择适当 epsilon |
| | | 加权度量可保证收敛。 |
+-----------------------------+ | 负面结果:走廊下界显示有阻碍。|
| 开放问题:哪个机制占主导? |
+-----------------------------+
一句话:从默认 AdamW 凭有限方差理论的类比也能工作,到证明其 EMA 二阶矩累加器在重尾噪声下会产生真正的阻碍——将证明责任转移到一个非平凡的开放问题上。
专家评审
选题眼光:这是真缺口。LLM 从业者普遍使用 AdamW,但理论界一直忽视重尾噪声。 本文精准地指出了最常用优化器之一的收敛理论中缺失的一块。 它处于优化理论与大规模机器学习在时间上的交汇点。
方法成熟度:贡献在于提出开放问题并提供理论下界——巧劲而非蛮力。 不存在更简单的方法,因为问题本身仍是开放的;本文给出了第一层严格边界。 走廊机理是一个简洁的洞察,暗示答案不会是简单的”是”。
实验诚意:没有实验(论文明确说明理论开放问题不需要实验)。这在该类型中完全合适。 推导的边界数学上成立;理论假设没有值得警惕之处。
写作功力:结构清晰,但部分内容(如加权度量正基准的证明)比较密集且动机阐述不足。 走廊下界部分是亮点,应扩展并配上直观例子。 摘要简明扼要。重写证明草图并加强直觉会提升整篇文章的档次。
判决:弱接收——一个诚实、范围恰当的开放问题,带有非平凡下界; 它并未解决 AdamW 的重尾收敛问题,但正确地重新设定了研究议程。 对于优化理论研究者值得关注,但实践者暂时无需改变工作流。
要点总结
- “走廊下界”的思想是可迁移的:任何使用梯度平方 EMA 的优化器(RMSprop、Nadam)在重尾输入下都可能面临类似隐藏效应。 使用这类优化器处理长尾输入分布的实践者应保持谨慎。
- 加权度量正基准表明,加入足够大的 epsilon(或不同的归一化方式)可能绕过走廊。 这是未来优化器设计中一个具体可调的旋钮。
- 本文的框架——“为什么朴素类比会失效”——是其他优化器开放问题的一种有用表述方式。 可以”偷”走这种修辞结构。