Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Lecture Notes

The NTK Limit, Kernel Ridge Regression, Benign Overfitting, and Mean Field

ICTP Summer School on Machine Learning — Lecture 6 (Day 8)

These notes cover the Day 8 lecture by Andrea Montanari. We begin by making the NTK theorem concrete: an explicit initialization scheme, the kernel trick giving a finite-width KRR predictor, and the Zhong 2023 theorem quantifying how large mm must be for the finite-width predictor to match the infinite-width one. We then state the GMMM theorem (Ghorbani–Mei–Misiakiewicz–Montanari 2021) characterizing the exact risk of the infinite-width KRR estimator — revealing a staircase structure — and explain the benign overfitting mechanism. The second half of the lecture introduces the mean field limit of two-layer networks as an alternative to lazy training that enables feature learning, described in three equivalent ways: McKean–Vlasov ODE, Fokker–Planck PDE, and JKO Wasserstein gradient flow.

Explicit NTK Construction and the Finite-Width KRR Predictor

A Concrete Initialization Scheme

The abstract NTK theorem (Lecture 5) applies to any network satisfying the Lipschitz condition. Here we specialize to a concrete symmetric initialization that gives a well-conditioned NTK. Consider

f(x;θ)=αmk=1mbkσ(wkx),b1==bm/2=+1,bm/2+1==bm=1  (fixed),f(x;\theta) = \frac{\alpha}{\sqrt{m}}\sum_{k=1}^m b_k\,\sigma(w_k^\top x), \qquad b_1 = \cdots = b_{m/2} = +1,\quad b_{m/2+1} = \cdots = b_m = -1 \;\text{(fixed)},

with w1,,wm/2Unif(Sd1)w_1,\ldots,w_{m/2} \sim \mathrm{Unif}(S^{d-1}) and wm/2+k=wkw_{m/2+k} = w_k. The outer weights bkb_k are fixed; only the wkw_k are trained. This ensures f(;θ0)=0f(\cdot;\theta_0) = 0 at initialization and σ0\sigma_\ell \neq 0 for all \ell.

The feature map is ϕ(x)=θf(x;θ0)Rp\phi(x) = \nabla_\theta f(x;\theta_0) \in \mathbb{R}^p (p=mdp = md), and the empirical NTK is

Km(x1,x2)=1mk=1mx1,x2dσ(wkx1)σ(wkx2).K_m(x_1,x_2) = \frac{1}{m}\sum_{k=1}^m \frac{\langle x_1,x_2\rangle}{d}\,\sigma'(w_k^\top x_1)\,\sigma'(w_k^\top x_2).

The Linearized Model and Kernel Trick

The linearized model is flin(x;θ)=ϕ(x),θθ0f_\mathrm{lin}(x;\theta) = \langle\phi(x), \theta - \theta_0\rangle, with feature matrix ΦRn×p\Phi \in \mathbb{R}^{n\times p}. The ridge-regularized solution is

b^λ=(ΦΦ+λIp)1Φy.\hat b_\lambda = (\Phi^\top\Phi + \lambda I_p)^{-1}\Phi^\top y.

By the kernel trick (pnp \gg n in the overparameterized regime):

b^λ=Φ(ΦΦKm,n+λIn)1y,f^λ(x)=Km(x,X)(λIn+Km,n)1y.\hat b_\lambda = \Phi^\top(\underbrace{\Phi\Phi^\top}_{K_{m,n}} + \lambda I_n)^{-1}y, \qquad \hat f_\lambda(x) = K_m(x,\mathbb{X})(\lambda I_n + K_{m,n})^{-1}y.

This is the finite-width KRR predictor f^lin,m,λ\hat f_{\mathrm{lin},m,\lambda}.

Infinite-Width Limit

As mm\to\infty, Km(x1,x2)K(x1,x2)=hd(x1,x2/d)K_m(x_1,x_2) \to K(x_1,x_2) = h_d(\langle x_1,x_2\rangle/d) where

hd(q)=qE[σ(G1)σ(G2)],(G1,G2)N ⁣(0,(1  qq  1)),h_d(q) = q\cdot\mathbb{E}[\sigma'(G_1)\sigma'(G_2)], \qquad (G_1,G_2) \sim \mathcal{N}\!\left(0,\binom{1\;q}{q\;1}\right),

and hddhh_d \xrightarrow{d\to\infty} h. The infinite-width NTK predictor is KRR with kernel KK:

f^,λ(x)=K(x,X)(λIn+K(X,X))1y.\hat f_{\infty,\lambda}(x) = K(x,\mathbb{X})(\lambda I_n + K(\mathbb{X},\mathbb{X}))^{-1}y.

Parenthesis: RKHS

For a kernel K(x1,x2)=λ2ψ(x1)ψ(x2)K(x_1,x_2) = \sum_\ell \lambda_\ell^2\psi_\ell(x_1)\psi_\ell(x_2), the RKHS norm is fK2=λ2ψ,f2\|f\|_K^2 = \sum_\ell \lambda_\ell^{-2}\langle\psi_\ell,f\rangle^2, and KRR solves

f^λ=arg minf{1ni(yif(xi))2+λfK2}.\hat f_\lambda = \operatorname*{arg\,min}_f\left\{\frac{1}{n}\sum_i(y_i-f(x_i))^2 + \lambda\|f\|_K^2\right\}.

Approximation Theorem: How Large Must mm Be?

As long as mdn(logn)cmd \gg n(\log n)^c, the finite-width predictor is statistically equivalent to the infinite-width one. All the GMMM theory below therefore applies to the actual finite-width network.

Proof Sketch: Matrix Bernstein

The key step is Km,nKnK_{m,n} \approx K_n. Write Km,n==1mZK_{m,n} = \sum_{\ell=1}^m Z_\ell (rank-dd i.i.d. matrices). Direct concentration fails since ZZ_\ell are not centered. Instead normalize:

Kn1/2Km,nKn1/2I==1mZ^,Z^=Kn1/2ZKn1/21mIn.K_n^{-1/2}K_{m,n}K_n^{-1/2} - I = \sum_{\ell=1}^m \hat Z_\ell, \qquad \hat Z_\ell = K_n^{-1/2}Z_\ell K_n^{-1/2} - \tfrac{1}{m}I_n.

The Z^\hat Z_\ell are mean-zero with bounded operator norm. Apply the matrix Bernstein inequality to get the desired concentration.


The GMMM Theorem: Staircase Risk of KRR

Setting

Data xi=dzix_i = \sqrt{d}\,z_i, ziiidUnif(Sd1)z_i \overset{\text{iid}}{\sim} \mathrm{Unif}(S^{d-1}), labels yi=f(xi)+εiy_i = f_*(x_i)+\varepsilon_i, Var(εi)=σ2\mathrm{Var}(\varepsilon_i) = \sigma^2. Kernel K(x1,x2)=h(x1,x2/d)K(x_1,x_2) = h(\langle x_1,x_2\rangle/d) with Gegenbauer expansion h(u)=bQ(u)h(u) = \sum_\ell b_\ell Q_\ell(u).

The Staircase

The KRR estimator learns all polynomial components up to degree \ell when ndn \asymp d^\ell, and nothing beyond. Test risk drops at each threshold ndjn \approx d^j by Pjf2\|P_j f_*\|^2, giving a staircase in logn\log n.

Mechanism: Kernel Matrix Eigenstructure

Kn[i,j]=bdY(zi)Y(zj)=0LbdY^,nY^,nKL+λ0I.K_n[i,j] = \sum_\ell \frac{b_\ell}{d^\ell}Y_\ell(z_i)^\top Y_\ell(z_j) \approx \underbrace{\sum_{\ell=0}^L \frac{b_\ell}{d^\ell}\hat Y_{\ell,n}\hat Y_{\ell,n}^\top}_{K_{\leq L}} + \lambda_0 I.

When D(L)nD(L+1)D(L) \ll n \ll D(L+1), the low-rank term KLK_{\leq L} dominates; K>Lλ0IK_{>L} \approx \lambda_0 I acts as self-induced ridge. The KRR predictor reduces to regression on degree-L\leq L features.


Benign Overfitting

Interpolation f^(xi)=yi\hat f(x_i) = y_i decomposes as f^=Pfsmooth+f^spiky\hat f = \underbrace{P_{\leq\ell}f_*}_\text{smooth} + \hat f_\text{spiky}. Benign overfitting requires:

  1. f^spikyL2=o(1)\|\hat f_\text{spiky}\|_{L^2} = o(1) — negligible test-error contribution,

  2. f^spiky(xi)εi\hat f_\text{spiky}(x_i) \approx \varepsilon_i — interpolates the noise.

Both hold in high dd: high-degree features have pointwise values D()1\sim\sqrt{D(\ell)} \gg 1 but L2L^2 norm 1\sim 1, and test points are nearly orthogonal to training points (concentration of measure). At fixed dd this fails: nearby test points “see” the spiky component.


Lazy Training: Single-Index Model

Data: xiUnif(dSd1)x_i \sim \mathrm{Unif}(\sqrt{d}\,S^{d-1}), f(x)=φ(wx)f_*(x) = \varphi(w_*^\top x), wSd1w_* \in S^{d-1}.

The \ell-th Hermite coefficient φ=He(u)φ(u)γ(du)\varphi_\ell = \int \mathrm{He}_\ell(u)\varphi(u)\,\gamma(du) (independent of dd as dd\to\infty) controls the staircase: PfL22=φ2\|P_\ell f_*\|_{L^2}^2 = \varphi_\ell^2. By the GMMM theorem, the NTK requires ndn \gg d^\ell if φ\varphi is not a degree-\ell polynomial.


Feature Learning Beats Lazy Training

Proposition (Single Neuron, Feature Learning)

Assume φ\varphi is strictly increasing with bounded derivative. If nCdlogdn \geq Cd\log d, then with high probability gradient descent on the single-neuron risk

R^n(w)=12ni(yiσ(wxi))2,φ=σ,\hat R_n(w) = \frac{1}{2n}\sum_i(y_i - \sigma(w^\top x_i))^2, \qquad \varphi = \sigma,

converges to w^\hat w with w^wCdlogd/n\|\hat w - w_*\| \leq C\sqrt{d\log d/n} and R(w^)=RBayes+O(dlogd/n)R(\hat w) = R_\mathrm{Bayes} + O(d\log d/n).

Two-Step Estimator (ndn \gg d Suffices)

Step 1. Form w~=1niyixi\tilde w = \frac{1}{n}\sum_i y_i x_i. By Stein’s lemma (E[gh(g)]=E[h(g)]\mathbb{E}[g\,h(g)] = \mathbb{E}[h'(g)]):

E[w~]=E[φ(wx)x]=E[φ(wx)]w=cw.\mathbb{E}[\tilde w] = \mathbb{E}[\varphi(w_*^\top x)\,x] = \mathbb{E}[\varphi'(w_*^\top x)]\,w_* = c\,w_*.

Variance Ew~Ew~2=O(d/n)\mathbb{E}\|\tilde w - \mathbb{E}\tilde w\|^2 = O(d/n), so ndw^w=O(d/n)0n \gg d \Rightarrow \|\hat w - w_*\| = O(\sqrt{d/n}) \to 0.

Step 2. Project: ti=w^,xit_i = \langle\hat w, x_i\rangle, fit yiφ(ti)y_i \sim \varphi(t_i) by 1D regression. Achieves Bayes risk.

The two-step estimator requires only ndn \gg d vs. ndn \gg d^\ell for NTK — exponentially fewer samples.


Mean Field Limit of Two-Layer Networks

Lazy vs. Mean Field

Plotting test error R(f^)RBayesR(\hat f) - R_\mathrm{Bayes} vs. number of neurons mm:

Setup

f(x)=1mk=1makσˉ(wk,x)=1mk=1mσˉ(x;θk),θk=(ak,wk)Rd+1.f(x) = \frac{1}{m}\sum_{k=1}^m a_k\,\bar\sigma(\langle w_k,x\rangle) = \frac{1}{m}\sum_{k=1}^m \bar\sigma(x;\theta_k), \qquad \theta_k = (a_k,w_k) \in \mathbb{R}^{d+1}.

SGD with square loss (y,f(x))=12(yf(x))2\ell(y,f(x)) = \frac{1}{2}(y-f(x))^2, parameters (θk)km(\theta_k)_{k\leq m} initialized i.i.d. from ρ0\rho_0:

θk+1=θkγmθ(yI(k),f(xI(k);θk)).\theta^{k+1} = \theta^k - \gamma m\,\nabla_\theta\ell(y_{I(k)}, f(x_{I(k)};\theta^k)).

Two settings: finite sample (I(k)Unif({1,,n})I(k)\sim\mathrm{Unif}(\{1,\ldots,n\})) or online SGD (fresh samples).

Mean Field Limit: mm\to\infty, γ0\gamma\to 0

Population gradient flow: Θ˙t=mθR(θt)\dot\Theta_t = -m\nabla_\theta R(\theta_t). The dynamics are permutation-invariant in neuron indices, motivating the empirical measure ρ^t(m)=1mkδθk(t)\hat\rho_t^{(m)} = \frac{1}{m}\sum_k\delta_{\theta_k(t)} with ft(x)=σ(x;θ)ρ^t(m)(dθ)f_t(x) = \int\sigma(x;\theta)\hat\rho_t^{(m)}(d\theta).

Since (θk)(\theta_k) are i.i.d. ρ0\sim\rho_0 initially, ρ^0(m)ρ0\hat\rho_0^{(m)}\Rightarrow\rho_0. The propagation of chaos hypothesis (“hope”):

ρ^t(m)ρtas m.\hat\rho_t^{(m)} \Rightarrow \rho_t \quad \text{as } m\to\infty.

Three Equivalent Descriptions

Define the one- and two-body potentials:

V(θ)=E{σ(x;θ)y},U(θ1,θ2)=E[σ(x;θ1)σ(x;θ2)].V(\theta) = -\mathbb{E}\{\sigma(x;\theta)y\}, \qquad U(\theta_1,\theta_2) = \mathbb{E}[\sigma(x;\theta_1)\,\sigma(x;\theta_2)].

(1) McKean–Vlasov ODE on Rd+1\mathbb{R}^{d+1}:

Θ˙t=θ ⁣[V(Θt)+U(Θt,θ)ρt(dθ)],ρt=Law(Θt),ρ0 given.\dot\Theta_t = -\nabla_\theta\!\left[V(\Theta_t) + \int U(\Theta_t,\theta)\,\rho_t(d\theta)\right], \qquad \rho_t = \mathrm{Law}(\Theta_t), \quad \rho_0 \text{ given.}

ρt\rho_t is the distribution of neuron parameters at time tt; Θt\Theta_t is the trajectory of a typical neuron.

The gradient takes the explicit form

Θ˙i=θi ⁣[V(θi)+1mjU(θi,θj)]mθ ⁣[V(Θt)+U(Θt,θ)ρt(dθ)].\dot\Theta_i = -\nabla_{\theta_i}\!\left[V(\theta_i) + \frac{1}{m}\sum_j U(\theta_i,\theta_j)\right] \xrightarrow{m\to\infty} -\nabla_\theta\!\left[V(\Theta_t) + \int U(\Theta_t,\theta)\rho_t(d\theta)\right].

(2) Fokker–Planck PDE (Continuity Equation):

For test function hh, ddtE[h(Θt)]=Eh(Θt),θΨ(θ;ρt)\frac{d}{dt}\mathbb{E}[h(\Theta_t)] = -\mathbb{E}\langle\nabla h(\Theta_t), \nabla_\theta\Psi(\theta;\rho_t)\rangle where Ψ(θ;ρt)=V(θ)+U(θ,θ)ρt(dθ)\Psi(\theta;\rho_t) = V(\theta) + \int U(\theta,\theta')\rho_t(d\theta'). Writing in density form:

tρt=[ρtΨ(θ;ρt)].\boxed{\partial_t\rho_t = \nabla\cdot\bigl[\rho_t\,\nabla\Psi(\theta;\rho_t)\bigr].}

This is gradient flow of R(ρ)R(\rho) in W2W_2, where

R(ρ)=12E ⁣[ ⁣(yσ(x;θ)ρ(dθ))2]=const+V(θ)ρ(dθ)+12U(θ1,θ2)ρ(dθ1)ρ(dθ2).R(\rho) = \tfrac{1}{2}\mathbb{E}\!\left[\!\left(y - \textstyle\int\sigma(x;\theta)\rho(d\theta)\right)^2\right] = \mathrm{const} + \int V(\theta)\rho(d\theta) + \tfrac{1}{2}\iint U(\theta_1,\theta_2)\rho(d\theta_1)\rho(d\theta_2).

(3) JKO Scheme / Minimizing Movements (DeGiorgi) on (P(Rd+1),W2)(\mathcal{P}(\mathbb{R}^{d+1}), W_2):

Gradient flow on Riemannian manifold (M,d)(M,d) is discretized by the proximal algorithm:

x0ε=x0,xk+1ε=arg minxM{12εd(x,xkε)2+F(x)}.x_0^\varepsilon = x_0, \qquad x_{k+1}^\varepsilon = \operatorname*{arg\,min}_{x\in M}\left\{\frac{1}{2\varepsilon}\,d(x,x_k^\varepsilon)^2 + F(x)\right\}.

In the Euclidean case d(x,y)=xyd(x,y)=\|x-y\| this recovers gradient descent: xk+1xkεF(xk)x_{k+1}\approx x_k - \varepsilon\nabla F(x_k). Interpolating by geodesics and taking ε0\varepsilon\to 0: if lim supε0,t[0,T]d(x(t),xε(t))=0\limsup_{\varepsilon\to 0, t\in[0,T]} d(x(t),x^\varepsilon(t)) = 0, then xx is the gradient flow for FF on (M,d)(M,d).

Applied to M=P(Rd+1)M = \mathcal{P}(\mathbb{R}^{d+1}) with W2W_2 and F=R(ρ)F = R(\rho), this is the JKO (Jordan–Kinderlehrer–Otto 1996) scheme, recovers the continuity equation, and connects to the minimizing movements framework of DeGiorgi.


Wasserstein Gradient Flow: Metric Space Foundations

Recap and the W2W_2 Distance

We recap the three descriptions of the mean field limit, now fleshing out the Wasserstein gradient flow structure that underlies description (3). The Wasserstein-2 distance between ρ1,ρ2P(Rd+1)\rho_1, \rho_2 \in \mathcal{P}(\mathbb{R}^{d+1}) is

W2(ρ1,ρ2)=infγC(ρ1,ρ2)θ1θ22γ(dθ1,dθ2),W_2(\rho_1,\rho_2) = \sqrt{\inf_{\gamma \in \mathcal{C}(\rho_1,\rho_2)} \int \|\theta_1 - \theta_2\|^2\,\gamma(d\theta_1,d\theta_2)},

where C(ρ1,ρ2)\mathcal{C}(\rho_1,\rho_2) is the set of couplings (joint distributions with marginals ρ1\rho_1 and ρ2\rho_2). The mean field dynamics are gradient flow of R(ρ)R(\rho) in (P(Rd+1),W2)(\mathcal{P}(\mathbb{R}^{d+1}), W_2).

Gradient Flow on a Metric Space: Metric Speed and Slope

To define gradient flow on a metric space (M,d)(M, d) without a linear structure, one works with the metric speed and metric slope of F:MRF : M \to \mathbb{R} Ambrosio et al., 2005:

x˙(t)=limε0d(x(t+ε),x(t))ε,F(x)=lim supd(z,x)0[F(z)F(x)]+d(z,x).|\dot x|(t) = \lim_{\varepsilon \to 0} \frac{d(x(t+\varepsilon), x(t))}{\varepsilon}, \qquad |\nabla F|(x) = \limsup_{d(z,x)\to 0} \frac{[F(z) - F(x)]^+}{d(z,x)}.

A curve tx(t)t \mapsto x(t) is a gradient flow for FF on (M,d)(M,d) if

ddtF(x(t))12{x˙(t)2+F2(x(t))},-\frac{d}{dt}F(x(t)) \geq \frac{1}{2}\bigl\{|\dot x|(t)^2 + |\nabla F|^2(x(t))\bigr\},

with equality if and only if xx is the gradient flow. The definition, due to Ambrosio, Gigli, and Savaré Ambrosio et al., 2005, generalizes the Euclidean identity ddtF(x(t))=x˙(t)2=F(x(t))2-\frac{d}{dt}F(x(t)) = \|\dot x(t)\|^2 = \|\nabla F(x(t))\|^2 and makes sense in any metric space.

Applying to (P,W2)(\mathcal{P}, W_2)

Setting x=ρx = \rho, d=W2d = W_2, F=RF = R, the metric speed of the mean field trajectory satisfies

ρ˙2(t)Ψ(θ;ρt)2ρt(dθ),|\dot\rho|^2(t) \leq \int \|\nabla\Psi(\theta;\rho_t)\|^2\,\rho_t(d\theta),

since the upper bound on W2(ρt+ε,ρt)W_2(\rho_{t+\varepsilon}, \rho_t) comes from pushing ρt\rho_t along the flow θ(t+ε)=θ(t)εΨ(θ(t);ρt)+o(ε)\theta(t+\varepsilon) = \theta(t) - \varepsilon\nabla\Psi(\theta(t);\rho_t) + o(\varepsilon). The metric slope satisfies

R(ρ)=limW2(ρ,ρ)0[R(ρ)R(ρ)]+W2(ρ,ρ)=(Ψ(θ;ρ)2ρ(dθ))1/2.|\nabla R|(\rho_*) = \lim_{\substack{W_2(\rho,\rho_*)\to 0}} \frac{[R(\rho) - R(\rho_*)]^+}{W_2(\rho,\rho_*)} = \left(\int \|\nabla\Psi(\theta;\rho_*)\|^2\,\rho_*(d\theta)\right)^{1/2}.

The verification uses the Taylor expansion of RR: for ρ=(I+εξ)#ρ\rho = (I + \varepsilon \xi)_\#\rho_* with displacement field ξ\xi,

R(ρ)R(ρ)=Ψ(θ0;ρ),θ1θ0γ(dθ0,dθ1)+O(W22)(Ψ2ρ)1/2W2(ρ,ρ)+O(W22).R(\rho) - R(\rho_*) = -\int\langle\nabla\Psi(\theta_0;\rho_*),\,\theta_1-\theta_0\rangle\,\gamma(d\theta_0,d\theta_1) + O(W_2^2) \leq \left(\int\|\nabla\Psi\|^2\rho_*\right)^{1/2} W_2(\rho,\rho_*) + O(W_2^2).

Hence ddtR(ρt)=Ψ(θ;ρt)2ρt(dθ)=12(ρ˙2+R2)-\frac{d}{dt}R(\rho_t) = \int\|\nabla\Psi(\theta;\rho_t)\|^2\,\rho_t(d\theta) = \frac{1}{2}(|\dot\rho|^2 + |\nabla R|^2), confirming the gradient flow identity.

Convergence Theorem for SGD to Mean Field

The proof uses the Dobrushin propagation of chaos technique Dobrushin (1979), coupling three dynamics initialized from the same ρ0\rho_0:

  1. SGD: θi(t+ε)=θi(t)εmθi(yI(t),f(xI(t);θ(t)))\theta_i(t+\varepsilon) = \theta_i(t) - \varepsilon m\,\nabla_{\theta_i}\ell(y_{I(t)}, f(x_{I(t)};\theta(t)))

  2. GD on empirical risk: θ^i(t+ε)=θ^i(t)mtt+εθiR(m)(θ^(s))ds\hat\theta_i(t+\varepsilon) = \hat\theta_i(t) - m\int_t^{t+\varepsilon}\nabla_{\theta_i}R^{(m)}(\hat\theta(s))\,ds, with θiR(m)=θiΨ(θ^i;ρ^t(m))\nabla_{\theta_i}R^{(m)} = \nabla_{\theta_i}\Psi(\hat\theta_i;\hat\rho_t^{(m)})

  3. Nonlinear McKean–Vlasov: θ~i(t+ε)=θ~i(t)mtt+εθiΨ(θ~i(s);ρs)ds\tilde\theta_i(t+\varepsilon) = \tilde\theta_i(t) - m\int_t^{t+\varepsilon}\nabla_{\theta_i}\Psi(\tilde\theta_i(s);\rho_s)\,ds, with (θ~i(t))imiidρt(\tilde\theta_i(t))_{i\leq m} \overset{\text{iid}}{\sim} \rho_t

The total error decomposes as fSGDfMFfSGDfGD+fGDfMF\|f_\mathrm{SGD} - f_\mathrm{MF}\| \leq \|f_\mathrm{SGD} - f_\mathrm{GD}\| + \|f_\mathrm{GD} - f_\mathrm{MF}\|. Term 1 is bounded by standard stochastic approximation; term 2 is the propagation of chaos error, controlled by the Dobrushin–McKean coupling.

Symmetry. For the single-index model xiN(0,Id)x_i \sim \mathcal{N}(0, I_d), yi=φ(wxi)+εiy_i = \varphi(w_*^\top x_i) + \varepsilon_i: if ρ0\rho_0 is invariant under rotations around ww_* then ρt\rho_t is for all tt. This reduces the effective dynamics to a 1D ODE in the projection w,w\langle w, w_*\rangle, a key simplification.

Fixed Points and Global Minimizers

The lemma is proved as follows. Since R(ρ)=12E[(yσ(x;θ)ρ(dθ))2]R(\rho) = \frac{1}{2}\mathbb{E}[(y-\int\sigma(x;\theta)\rho(d\theta))^2], its convexity follows from:

R(tρ1+(1t)ρ2)tR(ρ1)+(1t)R(ρ2),R(t\rho_1 + (1-t)\rho_2) \leq tR(\rho_1) + (1-t)R(\rho_2),

which holds since RR is a quadratic in the linear functional ρσ(x;θ)ρ(dθ)\rho \mapsto \int\sigma(x;\theta)\rho(d\theta). Expanding R(ρs)R(ρ)R(\rho_s) - R(\rho_*) for ρs=sρ+(1s)ρ\rho_s = s\rho + (1-s)\rho_* and differentiating at s=0s=0:

R(ρ)R(ρ)=Ψ(θ;ρ)(ρρ)(dθ)+O(W22)0    ρ    Ψ(θ;ρ)minθΨ(θ;ρ)    ρ-a.e.R(\rho) - R(\rho_*) = \int\Psi(\theta;\rho_*)(\rho - \rho_*)(d\theta) + O(W_2^2) \geq 0 \;\;\forall\rho \iff \Psi(\theta;\rho_*) \geq \min_\theta \Psi(\theta;\rho_*) \;\;\rho_*\text{-a.e.}

Part (1) follows from lower semicontinuity of RR under weak convergence (which holds because σ\sigma is continuous and bounded) and tightness of sublevel sets. Part (2) follows from the first-order optimality condition above.

This corollary captures the mean field intuition: if the dynamics collapse to a single neuron trajectory θ\theta^* (which happens, for example, in the single-index model under the symmetry reduction above), then that trajectory achieves the global minimum of RR.

References
  1. Oymak, S., & Soltanolkotabi, M. (2021). Toward the fundamental limits of neural network training algorithms. SIAM Journal on Optimization, 33(1).
  2. Zhong, Y. (2023). Universality of approximate message passing algorithms and tensor networks. arXiv Preprint arXiv:2206.13037.
  3. Ghorbani, B., Mei, S., Misiakiewicz, T., & Montanari, A. (2021). Linearized two-layers neural networks in high dimension. The Annals of Statistics, 49(2), 1029–1054.
  4. Ambrosio, L., Gigli, N., & Savaré, G. (2005). Gradient Flows in Metric Spaces and in the Space of Probability Measures. Birkhäuser.
  5. Mei, S., Montanari, A., & Nguyen, P.-M. (2018). A mean field view of the landscape of two-layer neural networks. Proceedings of the National Academy of Sciences, 115(33), E7665–E7671.
  6. Dobrushin, R. L. (1979). Vlasov equations. Functional Analysis and Its Applications, 13(2), 115–123.