arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2602.13413cs.LGcs.NAmath.NAmath.OCstat.ML

为何偏好归一化?针对在重尾噪声下的随机预条件SGD的最坏情况复杂性理论

Why is Normalization Preferred? A Worst-Case Complexity Theory for Stochastically Preconditioned SGD under Heavy-Tailed Noise

Department of Mathematics, University of California, Berkeley, CA, USA(加州大学伯克利分校数学系);Department of EECS, University of California, Berkeley, CA, USA(加州大学伯克利分校电子工程与计算机科学系);Department of IEOR, University of California, Berkeley, CA, USA(加州大学伯克利分校工业工程与运营研究系)

Yuchen Fang, James Demmel, Javad Lavaei

AI总结:

本文提出针对重尾噪声下的随机预条件SGD的最坏情况复杂性理论,证明归一化在收敛速率上优于裁剪,解释了大规模训练中归一化的偏好。

摘要:

我们开发了针对在重尾噪声下的随机预条件随机梯度下降(SPSGD)及其加速变体的最坏情况复杂性理论,该设定涵盖了广泛使用的自适应方法,如Adam、RMSProp和Shampoo。我们假设随机梯度噪声具有有限的p阶矩,其中p∈(1,2],并在T次迭代后测量收敛性。尽管裁剪和归一化是稳定SGD训练的平行工具,但在随机预条件设置中,它们的最坏情况属性存在根本性差异。我们证明,当问题参数已知时,归一化能够以O(T^(- (p-1)/(3p-2)))的速率收敛到一个一阶 stationary 点,当问题参数未知时,收敛速率则为O(T^(- (p-1)/(2p))),分别匹配归一化SGD的最优速率。相比之下,我们证明,由于随机预条件器与梯度估计之间的统计依赖性,裁剪在最坏情况下可能无法收敛。为了进行分析,我们开发了一种新的向量值Burkholder型不等式,这可能具有独立兴趣。这些结果为大规模模型训练中归一化优于裁剪的实证偏好提供了理论解释。

英文摘要:

We develop a worst-case complexity theory for stochastically preconditioned stochastic gradient descent (SPSGD) and its accelerated variants under heavy-tailed noise, a setting that encompasses widely used adaptive methods such as Adam, RMSProp, and Shampoo. We assume the stochastic gradient noise has a finite $p$-th moment for some $p \in (1,2]$, and measure convergence after $T$ iterations. While clipping and normalization are parallel tools for stabilizing training of SGD under heavy-tailed noise, there is a fundamental separation in their worst-case properties in stochastically preconditioned settings. We demonstrate that normalization guarantees convergence to a first-order stationary point at rate $\mathcal{O}(T^{-\frac{p-1}{3p-2}})$ when problem parameters are known, and $\mathcal{O}(T^{-\frac{p-1}{2p}})$ when problem parameters are unknown, matching the optimal rates for normalized SGD, respectively. In contrast, we prove that clipping may fail to converge in the worst case due to the statistical dependence between the stochastic preconditioner and the gradient estimates. To enable the analysis, we develop a novel vector-valued Burkholder-type inequality that may be of independent interest. These results provide a theoretical explanation for the empirical preference for normalization over clipping in large-scale model training.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑