[Paper Review] Fractional Underdamped Langevin Dynamics: Retargeting SGD with Momentum under Heavy-Tailed Gradient Noise
This paper proposes fractional underdamped Langevin dynamics (FULD), a novel continuous-time optimization framework that corrects the bias introduced by heavy-tailed gradient noise in stochastic gradient descent with momentum (SGDm). By modeling noise as α-stable Lévy flights and deriving a fractional SDE, FULD ensures the stationary distribution matches the true loss optima, improving generalization—validated empirically with up to 4.5% accuracy gain on CIFAR-10 and 2% on MNIST at α=1.75.
Stochastic gradient descent with momentum (SGDm) is one of the most popular optimization algorithms in deep learning. While there is a rich theory of SGDm for convex problems, the theory is considerably less developed in the context of deep learning where the problem is non-convex and the gradient noise might exhibit a heavy-tailed behavior, as empirically observed in recent studies. In this study, we consider a \emph{continuous-time} variant of SGDm, known as the underdamped Langevin dynamics (ULD), and investigate its asymptotic properties under heavy-tailed perturbations. Supported by recent studies from statistical physics, we argue both theoretically and empirically that the heavy-tails of such perturbations can result in a bias even when the step-size is small, in the sense that \emph{the optima of stationary distribution} of the dynamics might not match \emph{the optima of the cost function to be optimized}. As a remedy, we develop a novel framework, which we coin as \emph{fractional} ULD (FULD), and prove that FULD targets the so-called Gibbs distribution, whose optima exactly match the optima of the original cost. We observe that the Euler discretization of FULD has noteworthy algorithmic similarities with \emph{natural gradient} methods and \emph{gradient clipping}, bringing a new perspective on understanding their role in deep learning. We support our theory with experiments conducted on a synthetic model and neural networks.
Motivation & Objective
- To address the bias in SGDm caused by heavy-tailed gradient noise, which distorts the stationary distribution away from the true loss optima.
- To develop a continuous-time optimization framework that exactly targets the Gibbs distribution, ensuring optima alignment with the original cost function.
- To bridge theoretical gaps in understanding momentum-based optimization under non-Gaussian noise, particularly α-stable distributions.
- To provide a principled explanation for the success of practical techniques like gradient clipping and natural gradient methods via the Euler discretization of FULD.
Proposed method
- Model the stochastic gradient noise as an α-stable Lévy process (SαS) with α ∈ (1,2), capturing heavy-tailed behavior observed in deep learning.
- Derive a fractional underdamped Langevin dynamics (FULD) via a generalized Fokker-Planck equation, ensuring the invariant measure is the Gibbs distribution exp(−β(f(x) + ||v||²/2)).
- Establish weak convergence of the Euler-Maruyama discretization of FULD to the continuous-time process under mild conditions.
- Approximate the fractional gradient ∇Gα using precomputed one-dimensional SαS densities and linear interpolation for efficient implementation.
- Relate the Euler discretization of FULD to existing deep learning practices, showing algorithmic similarity to natural gradient and gradient clipping.
- Validate the framework on synthetic models and fully connected neural networks using MNIST and CIFAR-10 with varying network widths and α values.
Experimental results
Research questions
- RQ1Does heavy-tailed gradient noise in SGDm induce a bias in the stationary distribution, even with small step-sizes?
- RQ2Can a fractional SDE be constructed such that its invariant distribution exactly matches the Gibbs measure of the original loss function?
- RQ3How does the Euler discretization of the proposed FULD framework relate to practical deep learning optimization techniques like gradient clipping and natural gradient methods?
- RQ4What value of the α-stable index optimizes generalization performance in neural network training under heavy-tailed noise?
Key findings
- The standard underdamped Langevin dynamics (ULD) with heavy-tailed noise fails to target the Gibbs distribution, introducing a systematic bias in the stationary distribution.
- FULD successfully targets the Gibbs distribution, ensuring that the optima of the stationary distribution align exactly with the optima of the original loss function.
- On MNIST, setting α=1.75 in FULD yielded a 2% higher test accuracy compared to standard SGDm, with the best performance observed at width 256.
- On CIFAR-10, FULD with α=1.75 achieved a 4.5% higher test accuracy than baseline SGDm, indicating strong generalization gains under heavy-tailed noise.
- The performance of FULD is sensitive to network width: α=2 (Gaussian) performed best at width 512, suggesting a transition toward Gaussian noise in wider networks.
- The Euler discretization of FULD exhibits structural similarities to gradient clipping and natural gradient methods, offering a new theoretical perspective on their empirical success.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.