betaFeedback

WorksMathematics

Lifting Finite-Sample Gaussian Approximation of Wide Neural Networks to Functional Convergence

Abstract

Randomly initialised neural networks of width mm converge to Gaussian processes as m→∞m \to \infty, with two types of quantitative bounds characterising this convergence. Finite-sample bounds compare the network with its Gaussian limit at a fixed finite sample set, on an arbitrary domain, in the quadratic Wasserstein distance W2\mathcal W_2, achieving a convergence rate of m−1/2m^{-1/2} with explicit constants. However, these constants grow with the number of samples, so the bound becomes uninformative as the sample set is refined. Functional bounds remove that dependence by comparing the two as random functions, at the price of spherical input, metrics weaker than W2\mathcal W_2, or slower rates. In this paper, we therefore lift a finite-sample bound to a functional one. The lifting refines the sample set until it is dense in the domain, so the bound must first be made independent of the number of samples. We achieve this by measuring the error per sample, which makes the constant uniform. For a polynomial activation and any compact input set, this gives a rate of m−1/2m^{-1/2} in the supremum norm, with an explicit constant.

Introduction

The connection between wide neural networks and Gaussian processes (GPs) was first established in [19], which showed that a randomly initialised single-hidden-layer network converges in distribution to a GP as its width grows. The limiting neural network Gaussian Process (NNGP) is fully specified by its covariance kernel, which depends explicitly on the network’s activation function and initialisation. For many standard activations, this kernel can be computed in closed form [26]. This convergence reduces the network to its kernel, enabling exact Bayesian inference for infinite-width networks [17], to distill large datasets into a handful of synthetic examples by optimizing them directly through the kernel [20], and to rank neural architectures without training them [10]. Beyond single-layer neural networks, this equivalence extends to architectures such as deep fully connected networks [17, 18]. Convergence to GPs has also been established for wide feedforward and recurrent architectures [27], with analogous kernels derived for transformers [14], graph convolutional networks [22], and graph transformers [3]. The same framework has since led to more refined and practical approximations, such as tensor programs and the maximal update parametrisation (μ\muP) [28, 29].

Although the qualitative picture is now well understood, the convergence rate to NNGP in terms of width mm remains less developed. Quantitative convergence has been studied from two distinct perspectives: comparing the finite-dimensional distributions of the network at a fixed finite sample set, or treating the network and its limit as random functions to establish convergence on a function space. Table 1 collects the results of both perspective.

ResultDepthInputsMetricActivationRatewith nn
finite sample
[6 Thm. 3.1]anyfiniteW2W_2Lipschitzm−1/2m^{-1/2}n\sqrt{n} §2.3
[7 Thm. 6]1finiteW1W_1C2C^2, poly. gr.m−1/2m^{-1/2}n\sqrt{n}
[4 Thm.1.1]anyfiniteW1W_1Lipschitzm−1/6m^{-1/6}implicit
[12 Thm. 3.6(1]anyfinite∗^*dcvxd_{\mathrm{cvx}}poly. gr.m−1/2m^{-1/2}
[24 Thm. 1.1(a]anyfinite∗^*WpW_pLipschitzm−1m^{-1}
[9 Thm. 5]anyfinite∗^*W2W_2C1C^1 or PLm−1m^{-1}
functional
[11 Thm. 2]1sphereW1(C0)W_1(C^0)polynomialm−1/6m^{-1/6}none
[11 Thm. 5]1sphereW1(C0)W_1(C^0)monomialm−1/2m^{-1/2}
[16 Thm. 1]1sphereW2(L2)W_2(L^2)polynomialm−1/2m^{-1/2}
[5 Thm. 1.2]anysphereW1(C0)W_1(C^0)Lipschitzm−qdm^{-q_d}
[12 Thm. 3.16]anyballW2(Ck)W_2(C^k)smoothm−1/8m^{-1/8}
This paper (Thm. 2)1compactW2(C0)W_2(C^0)polynomialm−1/2m^{-1/2}

Table 1. Quantitative Gaussian approximation for wide networks; rates are in the width mm, and nn is the number of inputs. Finite-sample bounds hold at a fixed sample set with a constant growing in nn; “implicit” means the bound depends on the input set, but this dependence is not quantified. Functional bounds avoid this at the cost of the input set, metric or rate. finite∗^*: finite input, non-degenerate kernel; dcvxd_{\mathrm{cvx}}: convex distance; poly. gr.: polynomial growth; PL: piecewise linear. Rates for Balasubramanian and Ross [ [4] and Balasubramanian et al. [ [5] are one-hidden-layer specialisations. For the latter, inputs lie on the unit sphere of Rd\mathbb{R}^d and qd=18d−2−εq_d = \frac{1}{8d-2} - \varepsilon for arbitrary ε>0\varepsilon> 0. By Corollary 1 the last row holds on every compact subset of Rd\mathbb{R}^d, with the constant of an enclosing hyperrectangle.

Finite-Sample Convergence. The first approach fixes a finite sample set X={x1,…,xn}\mathcal{X} = \{x_1, \ldots, x_n\} and compares the random vector f[X]f[\mathcal{X}] of nn network evaluations with the corresponding Gaussian vector G[X]G[\mathcal{X}]. The strength of the finite-input route is its broad applicability. Once the comparison is reduced to a pair of random vectors in Rn\mathbb{R}^n, the tools of finite-dimensional Gaussian approximation apply: the distance between two centred Gaussian laws is controlled by their covariances, and couplings can be constructed explicitly [6]. This yields bounds in the quadratic Wasserstein distance W2W_2, a stronger metric than the first-order W1W_1, with explicit constants, and it asks nothing of the input points themselves: they may form an arbitrary finite collection in any dimension, rather than requiring restrictive structural assumptions such as lying on a unit sphere. It also covers the standard Gaussian initialisation with bias terms and arbitrary depth [6]. Working with a finite sample set, however, introduces a dependence on its size.

A bound at X\mathcal{X} is a statement about a random vector in Rn\mathbb{R}^n, and with nn fixed, quantities that vary with nn are absorbed into the constants. For example in Basteri and Trevisan [ [6] these include the Frobenius norm of a n×nn \times n covariance fluctuation and the smallest strictly positive eigenvalue of the limiting covariance matrix K[X]K[\mathcal{X}]. Whether the bound survives refinement of the sample set depends on how these scale. In a learning-theoretic application the sample set is the training sample, so nn needs to be large. Arora et al. [ [2] bound the population error of kernel regression with the limiting kernel by a term of order n−1/2n^{-1/2}, and carrying that guarantee over to a network of width mm means comparing the two on that same sample. An nn-dependent constant that grows with the sample size can offset the statistical decay. Moreover, a finite-input bound describes the network only at the chosen inputs. Convergence of the finite-dimensional distributions is a statement about each fixed finite sample set, so it does not imply convergence of the laws on a function space. The second perspective treats the network directly as a random function.

Functional Convergence. Bracale et al. [ [8] and Hanin [ [13] establish functional convergence without rates. The lower half of Table 1 collects the quantitative results. These avoid the dependence on a prescribed finite sample set, but each restricts the settings elsewhere, in the domain or in the metric. The inputs lie on a sphere in Eldan et al. [ [11], Klukowski [ [16], Balasubramanian et al. [ [5], and Klukowski [ [16] draws the weights from a sphere as well. A sphere has no interior, so such a bound says nothing about a ball, a hyperrectangle, or any set with positive volume. The metric is the weaker W1W_1 distance in Eldan et al. [ [11], Balasubramanian et al. [ [5]. Since W1≤W2W_1 \le W_2, a bound in W2W_2 implies one in W1W_1 but not conversely. Closest to our setting is Favaro et al. [ [12] with an open ball in any dimension, arbitrary depth, the same Gaussian initialisation with biases, and a CkC^k norm stronger than ours, since it controls derivatives as well. Unlike a sphere, their ball is full-dimensional but they pay for the larger domain and the stronger metric with the rate m−1/8m^{-1/8}, against the m−1/2m^{-1/2} available on the sphere. Apart from the last row, no functional row of Table 1 combines a general compact set of inputs with the rate m−1/2m^{-1/2}.

The two perspectives are therefore complementary: finite-input bounds are general in the domain, the initialisation and the metric but carry a constant that depends on the input set. In contrast, functional bounds remove that dependence at the price of restricted domains and metrics. To our knowledge, no functional bound in the quadratic Wasserstein distance with respect to the supremum norm attains the rate m−1/2m^{-1/2} on a general compact domain under the standard Gaussian initialisation. A functional bound with the generality of the finite-input analysis would give guarantees that do not weaken as the sample grows.

Contribution. Our result combines the two perspectives. We start from the finite-sample bound of Basteri and Trevisan [2024] and prove that under an effective-rank condition, which we verify for polynomial activations, the constant of Basteri and Trevisan [2024] is at most of order n\sqrt{n}. The bound therefore reads n/m\sqrt{n/m}, so the width must grow at least as fast as the number of inputs for it to be informative. Measuring the error per input removes this growth entirely. Then we provide a chain of results that converts this finite-sample bound into a functional bound in the supremum norm. For one hidden layer, any polynomial activation, and inputs in a hyperrectangle, we obtain W_2^{C^0^{(1)}}(f,G)=O(m^{-1/2}) with explicit constants, and by restriction (Corollary 1) the bound holds on every compact subset of Rd\mathbb{R}^d. Among the functional bounds of Table 1, the rate m−1/2m^{-1/2} appears only on the sphere. Theorem 2 reaches it on an arbitrary compact set, so the spherical setting of Eldan et al. [2021], Klukowski [2022], Balasubramanian et al. [2023] is a special case. This is a first step towards merging the two formalisations of quantitative convergence, carrying the generality of the finite-sample bounds into a statement about the random function.

Section 2 fixes notation, introduces the network and its Gaussian process limit, and states the finite-sample bound we start from, whose constant grows at most like n\sqrt{n} and becomes independent of the input set once the error is measured per input. Section 3 turns that uniformity into a functional bound by refining the input set until it is dense in the domain, a limit that is available only because the constant no longer grows with the number of inputs. Section 4 discusses the open questions.

Preliminaries and notes on finite-sample bound

We fix here the objects and notation used throughout: the network and its Gaussian process limit (§ 2.1), the distance in which the two are compared (§ 2.3), and the finite-sample bound we start from, whose constant we track as the sample set grows (§ 2.3).

Notation. For v∈Rnv \in\mathbb{R}^n we write ∥v∥=(∑i=1nvi2)1/2\lVert v\rVert= \left(\sum_{i=1}^{n}v_i^2\right)^{1/2} for the Euclidean norm, and for a matrix A=(Aij)A=(A_{ij}) we write ∥A∥=(∑i,jAij2)1/2\lVert A\rVert= \left(\sum_{i,j}A_{ij}^2\right)^{1/2} for the Frobenius norm, which coincides with the Euclidean norm when AA is a vector. For a symmetric positive semi-definite A∈Rn×nA \in\mathbb{R}^{n\times n} with eigenvalues λ1,…,λn≥0\lambda_1,\ldots,\lambda_n \ge0 we write λmin⁡(A)=min⁡iλi\lambda_{\min}(A)=\min_i\lambda_i, λ+(A)=min⁡{λi:λi>0}\lambda^+(A)=\min\{\lambda_i:\lambda_i>0\}, and A\sqrt{A} for the symmetric positive semi-definite square root, obtained by replacing each λi\lambda_i by λi\sqrt{\lambda_i} in the spectral decomposition. λmin⁡\lambda_{\min} and λ+\lambda^+ differ exactly when AA is singular, which is the regime of § 2.3. For a function hh and a finite set T={t1,…,tn}\mathcal{T}=\{t_1,\ldots,t_n\} in its domain, fixed together with an enumeration, we write h[T]=(h(t1),…,h(tn))h[\mathcal{T}]=(h(t_1),\ldots,h(t_n)) for the vector of evaluations; if hh is Rm\mathbb{R}^m-valued, h[T]h[\mathcal{T}] is the m×nm\times n matrix whose ii-th column is h(ti)h(t_i). For a multi-index α=(α1,…,αd)∈N0d\alpha=(\alpha_1,\ldots,\alpha_d)\in\mathbb{N}_0^d we write ∣α∣=∑j=1dαj|\alpha|=\sum_{j=1}^d\alpha_j and xα=x1α1⋯xdαdx^\alpha=x_1^{\alpha_1}\cdots x_d^{\alpha_d} for x∈Rdx\in\mathbb{R}^d. The polynomials of total degree at most rr in dd variables form a vector space of dimension (r+dd)\binom{r+d}{d}, spanned by {xα:∣α∣≤r}\{x^\alpha:|\alpha|\le r\}.

Gaussian vectors. For a random vector X∈RnX\in\mathbb{R}^n with finite second moment, its covariance matrix is defined as Σ(X)=E[(X−E[X])(X−E[X])T]\Sigma(X)=\mathbb{E}\left[(X-\mathbb{E}[X])(X-\mathbb{E}[X])^\mathsf{T}\right]. If XX is centred then Σ(X)=E[XXT]\Sigma(X)=\mathbb{E}[XX^\mathsf{T}]. We write N(0,Σ)\mathcal{N}(0,\Sigma) for the centred Gaussian law on Rn\mathbb{R}^n with covariance Σ\Sigma.

Random neural networks and their Gaussian process (GP) limit

References

  1. [2]Sanjeev Arora, Simon S. Du, Wei Hu, Zhiyuan Li, and Ruosong Wang. Fine-grained analysis of optimization and generalization for overparameterized two-layer neural networks. In International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 322–332, 2019.arxiv.org/abs/1901.08584
  2. [3]Nil Ayday, Lingchu Yang, and Debarghya Ghoshdastidar. Gaussian process limit reveals structural benefits of graph transformers. In Conference on Uncertainty in Artificial Intelligence, 2026.arxiv.org/abs/2603.17569
  3. [4]Krishnakumar Balasubramanian and Nathan Ross. Finite-dimensional Gaussian approximation for deep neural networks: Universality in random weights. CoRR, 2025.arxiv.org/abs/2507.12686
  4. [5]Krishnakumar Balasubramanian, Larry Goldstein, Nathan Ross, and Adil Salim. Gaussian random field approximation via Stein’s method with applications to wide random neural networks. CoRR, 2023.arxiv.org/abs/2306.16308
  5. [6]Andrea Basteri and Dario Trevisan. Quantitative Gaussian approximation of randomly initialized deep neural networks. Machine Learning, 113(9):6373–6393, 2024.arxiv.org/abs/2203.07379
  6. [7]Alberto Bordino, Stefano Favaro, and Sandra Fortini. Non-asymptotic approximations of Gaussian neural networks via second-order poincaré inequalities. In Symposium on Advances in Approximate Bayesian Inference, volume 253 of Proceedings of Machine Learning Research, pages 45–78, 2024.arxiv.org/abs/2304.04010
  7. [8]Daniele Bracale, Stefano Favaro, Sandra Fortini, and Stefano Peluchetti. Large-width functional asymptotics for deep Gaussian neural networks. In International Conference on Learning Representations, 2021.arxiv.org/abs/2102.10307
  8. [9]Lucia Celli and Giovanni Peccati. Entropic bounds for conditionally Gaussian vectors and applications to neural networks. CoRR, 2025.arxiv.org/abs/2504.08335
  9. [10]Wuyang Chen, Xinyu Gong, and Zhangyang Wang. Neural architecture search on imagenet in four GPU hours: A theoretically inspired perspective. In International Conference on Learning Representations, 2021.arxiv.org/abs/2102.11535
  10. [11]Ronen Eldan, Dan Mikulincer, and Tselil Schramm. Non-asymptotic approximations of neural networks by Gaussian processes. In Conference on Learning Theory, volume 134 of Proceedings of Machine Learning Research, pages 1754–1775, 2021.arxiv.org/abs/2102.08668
  11. [12]S. Favaro, B. Hanin, D. Marinucci, I. Nourdin, and G. Peccati. Quantitative CLTs in deep neural networks. Probability Theory and Related Fields, 191(3):933–977, 2025.arxiv.org/abs/2307.06092
  12. [13]Boris Hanin. Random neural networks in the infinite width limit as Gaussian processes. CoRR, 2021.arxiv.org/abs/2107.01562
  13. [14]Jiri Hron, Yasaman Bahri, Jascha Sohl-Dickstein, and Roman Novak. Infinite attention: NNGP and NTK for deep attention networks. In International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 4376–4386, 2020.arxiv.org/abs/2006.10540
  14. [15]Olav Kallenberg. Foundations of modern probability. Probability and its Applications. Springer-Verlag, New York, second edition, 2002.
  15. [16]Adam Klukowski. Rate of convergence of polynomial networks to Gaussian processes. In Conference on Learning Theory, Proceedings of Machine Learning Research, pages 701–722, 2022.arxiv.org/abs/2111.03175
  16. [17]Jaehoon Lee, Yasaman Bahri, Roman Novak, Samuel S. Schoenholz, Jeffrey Pennington, and Jascha Sohl-Dickstein. Deep neural networks as Gaussian processes. In International Conference on Learning Representations, 2018.arxiv.org/abs/1711.00165
  17. [18]Alexander G. de G. Matthews, Jiri Hron, Mark Rowland, Richard E. Turner, and Zoubin Ghahramani. Gaussian process behaviour in wide deep neural networks. In International Conference on Learning Representations, 2018.arxiv.org/abs/1804.11271
  18. [19]Radford M. Neal. Priors for Infinite Networks, pages 29–53. Springer New York, 1996.DOI
  19. [20]Timothy Nguyen, Roman Novak, Lechao Xiao, and Jakeho Lee. Dataset distillation with infinitely wide convolutional networks. In Neural Information Processing Systems, pages 5186–5198, 2021.arxiv.org/abs/2107.13034
  20. [21]L. Nirenberg. On Elliptic Partial Differential Equations. Springer, 2011.DOI
  21. [22]Zehao Niu, Mihai Anitescu, and Jie Chen. Graph neural network-inspired kernels for Gaussian processes in semi-supervised learning. In International Conference on Learning Representations, 2023.arxiv.org/abs/2302.05828
  22. [23]Daniel Revuz and Marc Yor. Continuous Martingales and Brownian Motion, volume 293 of Grundlehren der mathematischen Wissenschaften. Springer, 3 edition, 1999.
  23. [24]Dario Trevisan. Wide deep neural networks with Gaussian weights are very close to Gaussian processes. 2023.arxiv.org/abs/2312.11737
  24. [25]Cédric Villani. Optimal transport: Old and new. 2008.
  25. [26]Christopher K. I. Williams. Computing with infinite networks. In Advances in Neural Information Processing Systems, pages 295–301. MIT Press, 1996.
  26. [27]Greg Yang. Tensor programs I: wide feedforward or recurrent neural networks of any architecture are Gaussian processes. CoRR, 2019.arxiv.org/abs/1910.12478
  27. [28]Greg Yang and Edward J. Hu. Tensor programs IV: feature learning in infinite-width neural networks. In International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 11727–11737, 2021.
  28. [29]Greg Yang, Edward J. Hu, Igor Babuschkin, Szymon Sidor, Xiaodong Liu, David Farhi, Nick Ryder, Jakub Pachocki, Weizhu Chen, and Jianfeng Gao. Tensor programs V: tuning large neural networks via zero-shot hyperparameter transfer. CoRR, 2022.arxiv.org/abs/2203.03466

Paper details

vlnc:W_g7q3d7w8
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

ChatGPT (OpenAI), Claude (Anthropic)

View statement
Looking for related papers…
Contents