Abstract
While infinitely wide neural networks converge to Gaussian Processes (GPs), the convergence rate for finite-width networks has remained largely qualitative. This paper provides the first explicit quantitative bounds for this convergence using the Quadratic Wasserstein distance ($W_2$). We demonstrate that the discrepancy from Gaussianity scales with the inverse square root of the hidden layer widths, providing a rigorous mathematical foundation for the NNGP approximation in practical architectures.
Introduction
In deep learning theory, the "wide limit" serves as a crucial bridge between complex neural architectures and tractable mathematical models. Under the assumption of infinite width, a randomly initialized neural network converges to a Gaussian Process (NNGP), allowing researchers to apply Bayesian inference and kernel methods to study deep learning behavior.
However, real-world networks are finite. While previous research proved that convergence happens, it did not specify the width required to reach a certain level of "Gaussian-ness." This paper addresses this gap by providing explicit inequalities that bound the distance between a finite-width network’s output distribution and its ideal Gaussian counterpart.
Theoretical Framework and Methods
The authors focus on fully connected neural networks (multi-layer perceptrons) with Xavier initialization, where weights are sampled from a Gaussian distribution scaled by the layer width.
The key technical innovation is the use of the Quadratic Wasserstein distance ($W_2$). Often called the "Earth Mover’s Distance," $W_2$ measures the minimum "work" required to transform one probability distribution into another. Unlike other metrics like KL divergence, the Wasserstein distance is particularly well-suited for tracking how errors accumulate layer-by-layer in a deep architecture.
The proof relies on an inductive argument:
- Base Case: A single-layer network is a linear transformation of Gaussian variables, which is exactly Gaussian.
- Inductive Step: For deeper layers, the authors show that if the previous layer is "close" to Gaussian, the next layer remains close, provided the hidden layer is wide enough. They use Central Limit Theorem (CLT) logic to show that as width ($n_\ell$) increases, the sum of signals at each neuron converges to a Gaussian distribution at a rate of $1/\sqrt{n_\ell}$.
Key Results and Insights
The primary result is Theorem 1, which provides the following bound for a network with $L$ layers: $$W_2(\mathbb{P}_{f^{(L)}}, \mathcal{N}(0, K^{(L)})) \leq C \sqrt{n_L} \sum_{\ell=1}^{L-1} \frac{1}{\sqrt{n_\ell}}$$ Where $n_L$ is the output size and $n_\ell$ are the hidden layer widths.
Key Insights
- The $1/\sqrt{n}$ Scaling: The "error" (the distance from a GP) vanishes at a rate proportional to the inverse square root of the hidden layer widths. To halve the discrepancy, one roughly needs to quadruple the width.
- The "Chaos" Threshold: The paper highlights a "critical" regime where the variance of the weights ($c_w$) is exactly 1. In this chaotic state, the Gaussian approximation becomes ineffective. The derived bounds explicitly show how the approximation degrades as the network approaches this regime.
- Layer-wise Accumulation: The error is not just determined by the narrowest layer; it is a sum of contributions from every hidden layer. Interestingly, errors from earlier layers are weighted by the properties (like Lipschitz constants) of the layers that follow them.
Numerical simulations validate these findings. On log-log plots, the empirical Wasserstein distance follows a linear slope of approximately $-0.5$, matching the predicted $n^{-1/2}$ convergence rate.
Limitations and Future Work
Despite providing explicit bounds, several areas remain for further exploration:
- Functional Spaces: The current bounds apply to a finite set of $k$ inputs. Extending this to continuous input spaces is mathematically challenging as it requires addressing infinite-dimensional spectral gaps.
- Architectural Constraints: The proof is currently limited to fully connected networks. While the framework could potentially extend to Convolutional Neural Networks (CNNs), this remains a future research direction.
- Post-Training Behavior: This study examines networks at initialization. A major open question is how these Gaussian approximations hold up after the network has undergone training via gradient descent.
Summary updated