Skip to main content
QUICK REVIEW

[Paper Review] On the Heavy-Tailed Theory of Stochastic Gradient Descent for Deep Neural Networks

Umut Şimşekli, Mert Gürbüzbalaban|arXiv (Cornell University)|Nov 29, 2019
Stochastic Gradient Optimization TechniquesComputer Science90 references22 citations
TL;DR

This paper challenges the common assumption that stochastic gradient noise (GN) in deep learning is Gaussian, proposing instead that GN follows a heavy-tailed $α$-stable distribution. By modeling SGD as a discretization of a Lévy-driven stochastic differential equation (SDE), the authors show that heavier tails (lower $α$) lead to slower convergence rates and explain why SGD favors wide minima through metastability theory, validated empirically across architectures, datasets, and loss functions.

ABSTRACT

The gradient noise (GN) in the stochastic gradient descent (SGD) algorithm is often considered to be Gaussian in the large data regime by assuming that the \emph{classical} central limit theorem (CLT) kicks in. This assumption is often made for mathematical convenience, since it enables SGD to be analyzed as a stochastic differential equation (SDE) driven by a Brownian motion. We argue that the Gaussianity assumption might fail to hold in deep learning settings and hence render the Brownian motion-based analyses inappropriate. Inspired by non-Gaussian natural phenomena, we consider the GN in a more general context and invoke the \emph{generalized} CLT, which suggests that the GN converges to a \emph{heavy-tailed} $α$-stable random vector, where \emph{tail-index} $α$ determines the heavy-tailedness of the distribution. Accordingly, we propose to analyze SGD as a discretization of an SDE driven by a Lévy motion. Such SDEs can incur `jumps', which force the SDE and its discretization \emph{transition} from narrow minima to wider minima, as proven by existing metastability theory and the extensions that we proved recently. In this study, under the $α$-stable GN assumption, we further establish an explicit connection between the convergence rate of SGD to a local minimum and the tail-index $α$. To validate the $α$-stable assumption, we conduct experiments on common deep learning scenarios and show that in all settings, the GN is highly non-Gaussian and admits heavy-tails. We investigate the tail behavior in varying network architectures and sizes, loss functions, and datasets. Our results open up a different perspective and shed more light on the belief that SGD prefers wide minima.

Motivation & Objective

  • To challenge the widespread assumption that gradient noise (GN) in SGD is Gaussian, especially in deep neural networks.
  • To propose a new theoretical framework where GN converges to an $α$-stable distribution under the generalized central limit theorem, rather than a Gaussian.
  • To analyze SGD as a discretization of a Lévy-driven SDE, enabling jumps that facilitate escape from narrow minima.
  • To establish a quantitative link between the tail index $α$ of GN and the convergence rate of SGD to local minima.
  • To empirically validate the heavy-tailed nature of GN across diverse network architectures, loss functions, datasets, and training regimes.

Proposed method

  • Theoretical analysis is grounded in the generalized central limit theorem, which justifies the convergence of GN to an $α$-stable distribution when the variance is infinite.
  • SGD is modeled as a discrete-time approximation of a continuous-time SDE driven by Lévy motion, allowing for jump dynamics instead of diffusive Brownian motion.
  • Metastability theory is applied to show that Lévy-driven SDEs can transition from narrow to wider minima due to large jumps.
  • A convergence rate analysis is derived under the $α$-stable GN assumption, showing that convergence slows as $α$ decreases (heavier tails).
  • Tail index $α$ is estimated using the Hill estimator on empirical gradient noise samples from trained models.
  • Experiments systematically vary network size, minibatch size, and training stage to assess tail behavior across architectures and datasets.

Experimental results

Research questions

  • RQ1Does the gradient noise in SGD for deep neural networks exhibit heavy-tailed behavior, contradicting the classical Gaussian assumption?
  • RQ2How does the tail index $α$ of the gradient noise distribution affect the convergence rate of SGD?
  • RQ3Can modeling SGD as a discretization of a Lévy-driven SDE explain its tendency to favor wide minima in deep learning?
  • RQ4To what extent is the heavy-tailed nature of GN robust across different network architectures, loss functions, and datasets?
  • RQ5Is there a measurable connection between the tail index $α$ and generalization performance in trained models?

Key findings

  • Empirical results confirm that gradient noise in all tested deep learning setups is highly non-Gaussian and exhibits heavy-tailed behavior, with tail indices $α$ consistently below 2.
  • The tail index $α$ is found to be robust across varying network sizes, architectures, and datasets, indicating a universal heavy-tailed nature of GN.
  • Smaller minibatch sizes lead to heavier tails (lower $α$), suggesting a direct link between stochasticity and heavy-tailed noise.
  • The convergence rate of SGD is shown to depend explicitly on $α$, with slower convergence for heavier tails, as predicted by the theoretical analysis.
  • Theoretical and empirical results support the hypothesis that Lévy-driven dynamics enable SGD to escape narrow minima and converge to wider, more generalizable solutions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.