Parameters as interacting particles: long time convergence and asymptotic error scaling of neural networks

Grant M. Rotskoff, Eric Vanden-EijndenNeurIPS 2018

Introduction

Despite the massive success of deep learning, a fundamental theoretical gap remains: why does Stochastic Gradient Descent (SGD) consistently find good solutions in a landscape that is notoriously non-convex and high-dimensional? While "Universal Approximation Theorems" guarantee that a sufficiently large network can represent a target function, they do not guarantee that standard optimization methods can actually find those parameters.

This paper tackles this discrepancy by moving away from analyzing individual weights. Instead, it re-imagines neural network parameters as a system of interacting particles. By applying tools from statistical mechanics, the authors prove that in the limit of infinitely many parameters, the training landscape becomes convex, providing a theoretical guarantee that wide networks can efficiently find global optima.

Theoretical Framework: The Mean-Field Approach

To understand the collective behavior of parameters during training, the researchers employ a mean-field approach, a technique borrowed from physics to study systems with many interacting components.

  1. Parameters as Particles: Each "neuron" (a weight and its coefficient) is mapped to a particle in a high-dimensional space. The loss function acts as an interaction potential, pulling particles toward a configuration that minimizes the overall error.
  2. The Infinite Limit: The authors analyze the network as the number of parameters, $n$, approaches infinity. In this "mean-field limit," the discrete particles transition into a continuous probability distribution.
  3. Evolution Equations: For standard Gradient Descent (GD), the parameter flow is described by a nonlinear Liouville equation. For SGD, the authors derive a Stochastic Partial Differential Equation (SPDE) that accounts for the noise introduced by mini-batching.
  4. Convexification: Crucially, while the loss landscape is highly non-convex relative to individual parameters, it becomes convex relative to the distribution of those parameters. This shift in perspective explains why over-parameterized (wide) networks are easier to train: they closely approximate this smooth, convex infinite limit.

Key Findings: Scaling Laws and the Role of Noise

By analyzing these continuous distributions, the paper derives rigorous scaling laws that govern network convergence:

  • Error Scaling ($O(n^{-1})$): The paper proves that the representation error drops inversely with the number of parameters $n$. This $O(n^{-1})$ scaling is highly favorable compared to many previous theoretical bounds.
  • Noise as a Feature: The noise inherent in SGD is shown to be "multiplicative"—it scales with the current error and diminishes as the network approaches the true function. This noise is actively beneficial, as it is just strong enough to wash out shallow local minima (of depth $O(n^{-1})$) that might otherwise trap the training process.
  • Dynamical Universal Approximation: The authors prove that the optimal representation of a function is not just theoretically existent, but is actually attainable via SGD in the large-$n$ limit. Furthermore, the rate of convergence to this optimal distribution does not depend on $n$ at the leading order.

Empirical Validation

To stress-test their theories, the authors avoided standard image benchmarks and instead used the Spherical 3-Spin Model. This complex, high-dimensional function ($d=50$) is known in physics for having an exponential number of local minima and saddle points.

Log-log plot demonstrating the $O(n^{-1})$ scaling of the representation error for a ReLU network on a high-dimensional ($d=50$) target function.

Evaluating their theories using both ReLU and Sigmoid networks, the experiments confirmed the theoretical $O(n^{-1})$ scaling for both the loss and the fluctuations. The identified fluctuation scale provides a rigorous theoretical basis for choosing batch sizes and learning rates in practice.

Limitations and Future Work

While this framework provides a powerful new lens for understanding neural network convergence, it has limitations. The proofs rely heavily on the final layer being very wide; while applicable to multi-layer networks, the "particle" interaction is most clearly defined for the final hidden-to-output transition. Additionally, the current model does not explicitly account for common regularization techniques like dropout or weight decay. Future work will need to explore how specific kernels and activation functions mathematically optimize for different types of target data distributions.

Summary updated

BibTeX
@inproceedings{rotskoff2018parameters,
  author = {Grant M. Rotskoff and Eric Vanden-Eijnden},
  title = {{Parameters as interacting particles: long time convergence and asymptotic error scaling of neural networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=rl_A_BaIxiz},
}
Figure