[Paper Review] Quantitative Propagation of Chaos for SGD in Wide Neural Networks
This paper establishes quantitative propagation of chaos for a continuous-time variant of stochastic gradient descent (SGD) in wide two-layer neural networks, showing that as the number of neurons $N \to \infty$, individual neurons converge to a mean-field McKean-Vlasov diffusion. The key contribution is identifying two distinct mean-field regimes—one deterministic and one implicitly regularized—depending on how the stepsize scales with $N$, with explicit convergence rates in Wasserstein distance provided.
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 o +\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.
Motivation & Objective
- To understand the limiting behavior of SGD in overparameterized two-layer neural networks as the number of neurons $N \to \infty$.
- To analyze how stepsize scaling with $N$ affects the mean-field limit of the particle system formed by the network's weights.
- To establish quantitative convergence rates of individual neurons to their mean-field limit in the Wasserstein metric.
- To identify and characterize two distinct mean-field regimes, one deterministic and one implicitly regularized, arising from different stepsize dependencies.
- To validate theoretical findings experimentally on real datasets like MNIST and CIFAR-10.
Proposed method
- Formulates a continuous-time counterpart of SGD for two-layer overparameterized neural networks with $N$ hidden units.
- Applies a probabilistic framework to study the particle system defined by the network weights, proving propagation of chaos as $N \to \infty$.
- Uses the Wasserstein distance to quantify convergence of the empirical measure of weights to the mean-field limit.
- Derives a McKean-Vlasov SDE as the mean-field limit, with the noise structure depending on data distribution and stepsize scaling.
- Considers stepsize sequences that depend on both $N$ and iteration count, allowing for time-varying and $N$-dependent learning rates.
- Performs numerical experiments on MNIST and CIFAR-10 using PyTorch to validate convergence of weight distributions to the predicted limiting measures.
Experimental results
Research questions
- RQ1How does the scaling of the SGD stepsize with the number of neurons $N$ affect the mean-field limit of the network's weight dynamics?
- RQ2Under what conditions does the mean-field limit exhibit non-zero diffusion (i.e., implicit regularization), and how does this differ from the standard deterministic mean-field limit?
- RQ3What is the quantitative rate of convergence of individual neurons to the mean-field solution in the Wasserstein metric as $N \to \infty$?
- RQ4Can the theoretical mean-field regimes be observed empirically in training real neural networks on standard datasets?
- RQ5How does the batch size $M$ influence the convergence to the mean-field regime?
Key findings
- The paper establishes quantitative convergence of the empirical measure of network weights to the mean-field McKean-Vlasov solution at a rate that depends on $N$, measured in Wasserstein distance.
- Two distinct mean-field regimes emerge: one corresponding to a deterministic ODE flow (standard mean-field limit), and another corresponding to a non-degenerate McKean-Vlasov SDE with data-dependent diffusion.
- The implicitly regularized regime arises when the stepsize scales as $\gamma N^\beta$ with $\beta = 1$, leading to a non-zero covariance in the limiting SDE.
- For $\beta < 1$, the limiting dynamics are deterministic, while for $\beta = 1$, the dynamics are stochastic with a diffusion coefficient depending on the data distribution.
- Experiments on MNIST and CIFAR-10 confirm the existence of the two regimes: histograms of weight distributions converge to distinct limiting distributions depending on $\beta$, with clear separation at $\beta = 1$.
- The convergence of empirical weight distributions to the mean-field limit is observed to improve with increasing $N$, and is also influenced by the batch size $M$, with convergence to the limit as $M \to \infty$.
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.