Result 1: a one-hidden-layer network converges to a Gaussian process as
ProvedLesHouchesWidth.nngp_limit_one_hidden_layerConsider a fully connected network with one hidden layer of width , input width and output width , with independent parameters
and a measurable nonlinearity . Fix inputs such that is integrable against for each . Then, as , the vector converges in distribution to a centered Gaussian vector with covariance
with the matrix of values. In particular the output is a Gaussian process with mean and kernel , and distinct outputs are independent.
This is Neal's observation that wide single-hidden-layer networks define Gaussian process priors over functions.
Formalization Note Convergence in distribution is expressed with bounded continuous test functions. Lecture 1 writes and for what is and here.
import Mathlib import Definitions.Def_LesHouchesWidth_GaussianMLP
namespace LesHouchesWidth
open MeasureTheory ProbabilityTheory
theorem nngp_limit_one_hidden_layer (σb σw : ℝ) (φ : ℝ → ℝ) (hφ : Measurable φ)
(n0 n2 m : ℕ) (xs : Fin m → Fin n0 → ℝ)
(hφ2 : ∀ a, Integrable (fun u => φ u ^ 2)
(gaussianReal 0 (nngpKernel (σb ^ 2) (σw ^ 2) φ 1 (xs a) (xs a)).toNNReal))
(g : BoundedContinuousFunction (EuclideanSpace ℝ (Fin n2 × Fin m)) ℝ) :
Filter.Tendsto
(fun N : ℕ => ∫ θ, g (outputVector (σb ^ 2) (σw ^ 2) φ
(uniformWidths_last n0 n2 1 N) xs θ)
∂(stdGaussianParams (uniformWidths n0 n2 1 N) 1))
Filter.atTop
(nhds (∫ v, g v ∂(multivariateGaussian 0
(blockDiagCov (k := n2) fun a b => nngpKernel (σb ^ 2) (σw ^ 2) φ 2 (xs a) (xs b))))) := by sorry
end LesHouchesWidthRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) - non-blind, same agent as drafter
Non-blind read-back. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement, with full knowledge of the source and of the intended meaning. It is not independent testimony and should not be treated as a blind audit; an independent read-back is still recommended before launch.
Let and let be measurable. Let and inputs . Assume that for each the function is integrable against the centered normal law with variance , where . Let be any bounded continuous real function on the Euclidean space indexed by pairs , , . For each , take the depth-one network (one hidden layer) with widths , biases and weights for i.i.d. standard normal . Let . The theorem asserts as . Here and
K_2(x,y)=\sigma_b^2+\sigma_w^2\int\varphi(u_0)\varphi(u_1)\,d\mathcal N\Big(0,\begin{psmallmatrix}K_1(x,x)&K_1(x,y)\\K_1(x,y)&K_1(y,y)\end{psmallmatrix}\Big)(u).No integrability of beyond the stated square-integrability, and no continuity, is assumed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.