arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.22644cs.LG
收藏

为何SGD不是布朗运动:对随机动力学的新视角

Why SGD is not Brownian Motion: A New Perspective on Stochastic Dynamics

Basic Research of Artificial Intelligence Laboratory (BRAIn Lab)(人工智能基础研究实验室(BRAIn Lab));Innopolis University(因诺普利斯大学);P.N. Lebedev Physical Institute of the Russian Academy of Sciences(俄罗斯科学院皮亚琴佐·列别杰夫物理研究所)

Igor Ignashin, Anna Radovskaya, Andrew Semenov, Egor Lopatin, Stanislav Potapov, Aleksandr Kovalenko, Andrey Veprikov, Aleksandr Shestakov, Andrey Leonidov, Aleksandr Beznosikov

AI总结:

本文从离散更新出发,提出了一种将SGD视为在波动损失景观中确定性动力学的新方法,揭示了在临界点附近SGD的动力学行为,并通过实验验证了其在神经网络模型中的表现。

摘要:

随机梯度下降(SGD)通常被建模为兰格汉斯过程,假设小批量噪声充当布朗运动。然而,这种近似依赖于连续时间极限和sqrt(eta)噪声缩放,这与有限学习率下的离散SGD更新不匹配。本文提出了一种替代方法,将SGD视为由小批量采样诱导的波动损失景观中的确定性动力学。从离散更新出发,我们推导了参数分布的主方程,并获得了与标准兰格汉斯形式在eta^2阶不同的离散福克-平克方程。利用这一框架,我们分析了SGD在损失临界点附近的行为。我们表明,其行为沿均值海森矩阵的本征基分解为质地上不同的区域。特别是,几乎平坦的方向不具有平稳分布:方差随时间增长,对应于沿山谷的有效扩散,系数与学习率成比例。我们提供了支持这些预测的实验证据,通过计算机视觉和自然语言处理的神经网络模型,观察到受限和扩散模式之间的明显质别。

英文摘要:

Stochastic Gradient Descent (SGD) is commonly modeled as a Langevin process, assuming that minibatch noise acts as Brownian motion. However, this approximation relies on a continuous-time limit and a sqrt(eta) noise scaling that does not match the discrete SGD update at finite learning rate. In this work, we propose an alternative formulation of SGD as deterministic dynamics in a fluctuating loss landscape induced by minibatch sampling. Starting directly from the discrete update, we derive a master equation for the parameter distribution and obtain a discrete Fokker--Planck equation that differs from the standard Langevin form at order eta^2. Using this framework, we analyze SGD dynamics near critical points of the loss. We show that the behavior decomposes along the eigenbasis of the mean Hessian into qualitatively distinct regimes. In particular, nearly-flat directions do not admit a stationary distribution: the variance grows over time, corresponding to effective diffusion along valleys with a coefficient proportional to the learning rate. We provide empirical evidence supporting these predictions on neural network models in computer vision and natural language processing, observing a clear qualitative separation between confined and diffusive modes.

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

↑