NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Quantitative Propagation of Chaos for SGD in Wide Neural Networks

Valentin De Bortoli, Alain Durmus, Xavier Fontaine, Umut Simsekli

Abstract

In this paper, we investigate the limiting behavior of a continuous-time counterpart of the Stochastic Gradient Descent (SGD) algorithm applied to two-layer overparameterized neural networks, as the number or neurons (ie, the size of the hidden layer) $N \to +\infty$. Following a probabilistic approach, we show 'propagation of chaos' for the particle system defined by this continuous-time dynamics under different scenarios, indicating that the statistical interaction between the particles asymptotically vanishes. In particular, we establish quantitative convergence with respect to $N$ of any particle to a solution of a mean-field McKean-Vlasov equation in the metric space endowed with the Wasserstein distance. In comparison to previous works on the subject, we consider settings in which the sequence of stepsizes in SGD can potentially depend on the number of neurons and the iterations. We then identify two regimes under which different mean-field limits are obtained, one of them corresponding to an implicitly regularized version of the minimization problem at hand. We perform various experiments on real datasets to validate our theoretical results, assessing the existence of these two regimes on classification problems and illustrating our convergence results.

Introduction

In modern deep learning, "overparameterized" networks—those with far more parameters than data points—often generalize surprisingly well, defying classical statistical intuition. To understand why, researchers often study the "mean-field limit," looking at the behavior of a network as the number of neurons ($N$) goes to infinity.

Previous theoretical work suggested that in this infinite-width limit, the "noise" inherent in SGD completely disappears, leaving a deterministic system. However, practitioners know that SGD's noise is often a feature, not a bug, helping the model escape local minima. This paper addresses the gap between deterministic theory and stochastic practice by identifying specific conditions under which the noise persists even in infinitely wide networks.

Theoretical Framework: Propagation of Chaos

The authors analyze a two-layer neural network using a continuous-time counterpart of SGD. Their primary tool is the "Propagation of Chaos" framework. This probabilistic approach shows that as the network grows wider, the individual neurons (or "particles") begin to act independently, each following a distribution governed by a global "mean field."

Convergence of the empirical distribution of neurons to the theoretical limit density as the number of neurons $N$ increases for different parameter settings.

The key innovation is the introduction of a stepsize (learning rate) scaling parameter, $\beta$. They identify two regimes under which different mean-field limits are obtained:

  • The Deterministic Regime ($\beta < 1$): As $N$ grows, the stepsize effectively shrinks, and the system converges to a deterministic Ordinary Differential Equation (ODE).
  • The Stochastic Regime ($\beta = 1$): The stepsize is large enough that the variance of the gradient updates remains significant. The system converges to a McKean-Vlasov diffusion, where the noise remains a permanent part of the dynamics.

The authors provide quantitative convergence rates, proving exactly how fast a finite network of size $N$ approaches these theoretical infinite-width limits using the Wasserstein distance metric.

Key Insights and Empirical Results

The theoretical results are validated using standard benchmarks like MNIST and CIFAR-10. These experiments illustrate that the behavior of a wide network isn't just about its architecture; it’s about how you scale the learning rate as you add neurons.

Implicit Entropic Regularization

The authors show that the "stochastic regime" ($\beta=1$) is mathematically equivalent to adding an entropy-based penalty to the loss function. This means that simply using SGD with a specific scaling acts as a built-in regularizer, favoring "flatter" regions of the loss landscape.

Generalization Performance

On CIFAR-10, the stochastic regime consistently outperformed the deterministic regime. For example, with $N=50,000$, the stochastic regime achieved a test accuracy of 57.7% compared to 56.7% in the deterministic regime, despite having lower training accuracy (99% vs 100%). This confirms that the persistent noise helps prevent overfitting.

Comparison of weight distributions in the deterministic regime ($\beta=0.75$) where multiple runs converge to the same value, and the stochastic regime ($\beta=1.0$) where a distribution of values persists.

Histograms of weights during training clearly show these two distinct behaviors: for $\beta < 1$, multiple independent runs converge to the exact same weight value (deterministic), while for $\beta = 1$, independent runs result in a distribution of values (stochastic).

Conclusion and Future Work

This work demonstrates that stepsize scaling is a crucial "knob" in determining the behavior of overparameterized networks. While the current analysis is limited to two-layer architectures, it provides a rigorous foundation for understanding how SGD noise contributes to generalization. Future research will focus on extending "propagation of chaos" to deep, multi-layer architectures and tightening the bounds for discrete-time SGD implementations used in practice.

Summary updated

BibTeX
@inproceedings{bortoli2020quantitative,
  author = {Valentin De Bortoli and Alain Durmus and Xavier Fontaine and Umut Simsekli},
  title = {{Quantitative Propagation of Chaos for SGD in Wide Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=BSl-_XuiyZc},
}
Figure