[Paper Review] Scaling Limit of Neural Networks with the Xavier Initialization and Convergence to a Global Minimum
This paper establishes that single-layer neural networks with Xavier initialization ($1/\sqrt{N}$ scaling) converge in distribution to a random ordinary differential equation (SDE) as the number of hidden units $N$ and training steps $TN$ grow large. Despite the non-convex optimization landscape in finite $N$, the limiting system minimizes a convex quadratic objective and converges to a global minimum with zero training loss under mild conditions.
We analyze single-layer neural networks with the Xavier initialization in the asymptotic regime of large numbers of hidden units and large numbers of stochastic gradient descent training steps. The evolution of the neural network during training can be viewed as a stochastic system and, using techniques from stochastic analysis, we prove the neural network converges in distribution to a random ODE with a Gaussian distribution. The limit is completely different than in the typical mean-field results for neural networks due to the $\frac{1}{\sqrt{N}}$ normalization factor in the Xavier initialization (versus the $\frac{1}{N}$ factor in the typical mean-field framework). Although the pre-limit problem of optimizing a neural network is non-convex (and therefore the neural network may converge to a local minimum), the limit equation minimizes a (quadratic) convex objective function and therefore converges to a global minimum. Furthermore, under reasonable assumptions, the matrix in the limiting quadratic objective function is positive definite and thus the neural network (in the limit) will converge to a global minimum with zero loss on the training set.
Motivation & Objective
- To rigorously analyze the scaling limit of single-layer neural networks trained with stochastic gradient descent under Xavier initialization.
- To resolve the open question of whether the neural network output converges as $N \to \infty$ despite correlations between parameters in the pre-limit model.
- To show that although the finite-$N$ optimization is non-convex, the limiting system minimizes a convex quadratic objective function.
- To establish conditions under which the limiting system converges to a global minimum with zero training loss.
- To provide a theoretical foundation for the empirical success of Xavier initialization in deep learning by linking it to convergence to global optima in the large-$N$ limit.
Proposed method
- Uses stochastic analysis and weak convergence techniques to study the joint evolution of the empirical measure $\nu_k^N$ and network output $g_k^N$.
- Introduces scaled processes $h_t^N = g_{\lfloor Nt \rfloor}^N$ and $\mu_t^N = \nu_{\lfloor Nt \rfloor}^N$ to analyze the system in continuous time.
- Proves convergence in distribution of $(\mu_t^N, h_t^N)$ to a solution of a random ODE driven by a Gaussian process.
- Applies Prokhorov’s theorem and relative compactness in the Skorokhod space $D_E([0,T])$ to establish weak convergence of the finite-dimensional distributions.
- Characterizes the limiting objective function as a quadratic form with a matrix $A$ that is shown to be positive definite under mild assumptions.
- Uses the fact that the limiting system minimizes a convex quadratic objective to prove convergence to a global minimum with zero loss.
Experimental results
Research questions
- RQ1Does the neural network output $g^N(x)$ converge as $N \to \infty$ despite parameter correlations in the pre-limit model?
- RQ2What is the limiting behavior of the stochastic gradient descent dynamics in the large-$N$ regime with Xavier initialization?
- RQ3How does the limiting system differ from mean-field models that use $1/N$ scaling instead of $1/\sqrt{N}$?
- RQ4Can the limiting system be shown to minimize a convex objective function, even though the finite-$N$ problem is non-convex?
- RQ5Under what conditions is the limiting quadratic objective function positive definite, ensuring convergence to a global minimum with zero training loss?
Key findings
- The neural network output $g_k^N(x)$ converges in distribution to the solution of a random ODE as $N \to \infty$, with the limit depending on the initial distribution $\mu_0$ and data distribution $\pi$.
- The limiting system minimizes a convex quadratic objective function, implying convergence to a global minimum despite the non-convexity of the finite-$N$ problem.
- The matrix $A$ in the limiting quadratic objective is positive definite under mild assumptions, such as linear independence of the feature maps $\sigma(W \cdot x)$ across data points.
- The limiting system achieves zero training loss almost surely when $A$ is positive definite, due to the convexity and strict minimization of the objective.
- The convergence to a global minimum is guaranteed in the limit, providing a theoretical justification for the success of Xavier initialization in deep learning.
- The scaling $1/\sqrt{N}$ in Xavier initialization leads to a fundamentally different limit than the $1/N$ scaling in typical mean-field models, resulting in a non-degenerate stochastic ODE limit.
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.