Abstract
We prove quantitative convergence rates at which discrete Langevin-like processes converge to the invariant distribution of a related stochastic differential equation. We study the setup where the additive noise can be non-Gaussian and state-dependent and the potential function can be non-convex. We show that the key properties of these processes depend on the potential function and the second moment of the additive noise. We apply our theoretical findings to studying the convergence of Stochastic Gradient Descent (SGD) for non-convex problems and corroborate them with experiments using SGD to train deep neural networks on the CIFAR-10 dataset.
Introduction
Stochastic Gradient Descent (SGD) is the cornerstone of modern machine learning optimization. Despite its ubiquity, a rigorous explanation for why it often outperforms standard Gradient Descent remains a subject of intense research. One prominent theoretical framework views SGD as a discrete-time approximation of a continuous Stochastic Differential Equation (SDE), specifically Langevin diffusion.
However, classical Langevin theory typically assumes "well-behaved" noise—constant, isotropic, and Gaussian. In contrast, the noise in practical SGD is state-dependent (variance fluctuates across the loss landscape) and non-Gaussian, particularly when using small minibatches. This work bridges the gap by providing quantitative convergence rates for Langevin-like processes under these realistic, "messy" conditions, even with non-convex potential functions.
Methods
The study models SGD as a discrete-time approximation of an SDE. To establish convergence, the authors utilize several sophisticated mathematical frameworks:
- Wasserstein-1 ($W_1$) Distance: This metric is employed to quantify the proximity of the discrete process to the invariant distribution of the target continuous SDE.
- Lyapunov Functions & Coupling: To address non-convexity, where the loss landscape contains multiple local minima, the researchers construct specific Lyapunov functions to demonstrate that the process eventually contracts toward a stable steady state.
- Large-Noise SGD: A modified SGD variant that injects controlled additive noise was introduced to experimentally isolate the influence of noise covariance from other hyperparameters like step size.
Theoretical Insights: Noise as a Landscape Smoother
A central insight of this research is that state-dependent noise does not merely introduce error; it actively reshapes the effective optimization landscape. In a 1D motivating example, the authors demonstrate that if noise magnitude $M(x)$ is larger near a deep minimum of a potential $U(x)$, the algorithm may actually be biased toward a shallower minimum. This suggests that the "settled" state of the algorithm is a complex interplay between the loss geometry and the noise structure.
Furthermore, the theory posits that the specific distribution of the noise (e.g., Gaussian vs. uniform) is secondary to its covariance matrix. This supports the empirical observation that the ratio of learning rate ($\delta$) to batch size ($b$) is a fundamental driver of generalization, as it dictates the "temperature" of the sampling process.
Empirical Results
The theoretical predictions were validated through experiments on the CIFAR-10 dataset using Convolutional Neural Network (CNN) and VGG19 architectures.
Key findings include:
- Quantitative Bounds: The discretization error for Gaussian noise scales with $O(\sqrt{\delta})$, while non-Gaussian noise follows a more conservative bound of $O(\delta^{1/8})$.
- Covariance Correlation: Experiments revealed a clear linear relationship between the logarithm of noise covariance and final test accuracy, regardless of the specific batch size used to achieve that covariance.
- Distribution Invariance: Using "Large-Noise SGD," the researchers matched the performance of baseline SGD by simply matching the noise covariance, confirming that covariance is the primary driver of the final distribution.
Limitations and Future Work
While this work provides a rigorous foundation, several avenues for future research remain. The current proofs assume "almost surely" bounded noise, which excludes heavy-tailed distributions (like $\alpha$-stable noise) that some suggest characterize very deep networks. Additionally, the analysis assumes iterates remain within a bounded region or satisfy specific dissipativity conditions. Finally, the theoretical convergence rate for non-Gaussian noise ($O(\delta^{1/8})$) is relatively slow, suggesting potential for tighter bounds in future analyses.
Summary updated