Abstract
Neural networks, a central tool in machine learning, have demonstrated remarkable, high-fidelity performance on image recognition and classification tasks. These successes evince an ability to accurately represent high-dimensional functions, but rigorous results about the approximation error of neural networks after training are few. Here we establish conditions for global convergence of the standard optimization algorithm used in machine learning applications, stochastic gradient descent (SGD), and quantify the scaling of its error with the size of the network. This is done by reinterpreting SGD as the evolution of a particle system with interactions governed by a potential related to the objective or "loss" function used to train the network. We show that, when the number $n$ of units is large, the empirical distribution of the particles descends on a convex landscape towards the global minimum at a rate independent of $n$, with a resulting approximation error that universally scales as $O(n^{-1})$. These properties are established in the form of a law of large numbers and a central limit theorem for the empirical distribution. Our analysis also quantifies the scale and nature of the noise introduced by SGD and provides guidelines for the step size and batch size to use when training a neural network. We illustrate our findings on examples in which we train neural networks to learn the energy function of the continuous 3-spin model on the sphere. The approximation error scales as our analysis predicts in as high a dimension as $d = 25$.
Introduction
Despite the massive success of deep learning, a fundamental theoretical gap remains: neural network loss landscapes are notoriously non-convex, yet simple algorithms like Stochastic Gradient Descent (SGD) consistently find global minima. While "Universal Approximation Theorems" prove that a network can represent a function, they do not explain if we can actually find those parameters or how the error decreases as we make the network wider. This paper addresses two main questions: under what conditions does SGD converge to a global optimum, and how does the approximation error scale with the number of hidden units ($n$)?
Theoretical Framework: Interacting Particle Systems
The authors employ a novel perspective from statistical mechanics, treating each hidden unit (neuron) in a single-layer network as a "particle." The training process is then viewed as the physical evolution of these particles under a potential defined by the loss function.
Mean-Field Limit and Convexification
As the number of neurons $n$ goes to infinity, the discrete collection of particles becomes a continuous "empirical distribution." The most profound insight of this work is that the "curse of non-convexity" is a byproduct of looking at individual parameters. When viewed as a distribution of neurons, the training landscape simplifies into a convex one. Specifically, the authors show that training can be reinterpreted as a gradient flow in the 2-Wasserstein metric, which naturally descends toward the global minimum.
Limit Theorems for Accuracy
The authors use the Law of Large Numbers (LLN) to establish the mean-field limit (global convergence) and the Central Limit Theorem (CLT) to quantify the fluctuations (error) for networks with a finite number of neurons. A key finding is the phenomenon of "error healing": while initial fluctuations in the network are of the order $O(n^{-1/2})$, these fluctuations diminish during the training process. At long times, the actual approximation error scales as $O(n^{-1})$, regardless of the input dimension $d$.
Stochastic Gradient Descent Dynamics
The analysis extends to the scale and nature of the noise introduced by SGD. The authors derive a limiting stochastic differential equation and provide specific guidelines for training: to maintain the $O(n^{-1})$ error scaling, the batch size $P$ should ideally scale quadratically with the network width ($P \propto n^2$). This ensures that the dynamical realizability of the global minimum is preserved even in the presence of stochastic noise.
Numerical Validation
The approach was tested on a challenging synthetic benchmark: the continuous 3-spin model on the sphere. This complex, highly non-convex energy function is borrowed from the physics of "glassy" systems. In dimensions as high as $d=25$, the neural network successfully captured the target function's complex oscillations. This is significant because traditional numerical methods (like grids) would require over 33 million points ($2^{25}$) to achieve similar results, whereas the neural network succeeded with a relatively small number of neurons ($n=1024$). The empirical loss decayed exactly as predicted by the $O(n^{-1})$ theoretical bound.
Conclusion and Future Directions
This research provides a rigorous theoretical framework for understanding why wide neural networks are effective and easy to train. By proving that training wide networks is essentially a convex optimization problem in the space of distributions, the authors bridge the gap between empirical success and mathematical theory. While the primary analysis focuses on single-layer networks, the results suggest that similar principles apply to deeper architectures where the final layer is made wide. Future work remains to fully explore the generalization error resulting from fixed, finite datasets and the computational feasibility of reaching long-time equilibrium in all applications.
Summary updated