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 Barron Norm, Double Descent, and the Neural Tangent Kernel

ICTP Summer School on Machine Learning — Lecture 5 (Day 7)

These notes cover the Day 7 lecture by Andrea Montanari. The first half completes the story of Barron spaces begun in Lecture 4: we give a concrete spectral characterization of the Barron norm via spherical harmonics, show when it is finite, and note its invariance under low-dimensional projections. The second half turns to the empirical phenomenon of double descent, introduces the gradient flow ODE for neural network training, and proves the key theorem on convergence to a linearized (NTK) model when the network is sufficiently wide.

Completing the Barron Norm: Spherical Harmonics Representation

Recall from Lecture 4 the two-layer setting. We work on X=L2(Rd;P)X = L^2(\mathbb{R}^d; \mathbb{P}) with P=Unif(dSd1)\mathbb{P} = \mathrm{Unif}(\sqrt{d}\,S^{d-1}). The generator set is

G={±σ(w,):wRd,  w21},G = \{\pm\sigma(\langle w, \cdot \rangle) : w \in \mathbb{R}^d,\; \|w\|_2 \leq 1\},

and the Barron norm is fσ=inf{μ:f()=σ(w,)μ(dw)}=inf{λ>0:f/λBG}\|f\|_\sigma = \inf\{|\mu| : f(\cdot) = \int \sigma(\langle w, \cdot \rangle)\,\mu(dw)\} = \inf\{\lambda > 0 : f/\lambda \in B_G\}.

A function ff with fσ<\|f\|_\sigma < \infty can be represented using fσ2\approx \|f\|_\sigma^2 neurons with output-layer 1\ell^1 norm r0fσr_0 \geq \|f\|_\sigma.

Three Open Questions About fσ\|f\|_\sigma

  1. What is fσ\|f\|_\sigma concretely?

  2. How do we compute it?

  3. For which ff is it finite?

Spherical Harmonics and the Gegenbauer Expansion

The sphere Sd1S^{d-1} admits an orthonormal basis of spherical harmonics Y(w)=(Y,1(w),,Y,D()(w))Y_\ell(w) = (Y_{\ell,1}(w),\ldots,Y_{\ell,D(\ell)}(w)) with D()d/!D(\ell) \asymp d^\ell/\ell!, satisfying Y(w)Y(w)ν0(dw)=ID()\int Y_\ell(w)Y_\ell(w)^\top\nu_0(dw) = I_{D(\ell)} and Y,i,Y,j=δij\langle Y_{\ell,i}, Y_{\ell,j}\rangle = \delta_{ij}. The only degree-\ell polynomial invariant under rotations around z0Sd1z_0 \in S^{d-1} is

xQ(z0,x),Q(z0,x)=1D()Y(z0)Y(x),x \mapsto Q_\ell(\langle z_0, x\rangle), \qquad Q_\ell(\langle z_0, x\rangle) = \frac{1}{\sqrt{D(\ell)}}\,Y_\ell(z_0)^\top Y_\ell(x),

where QQ_\ell is the Gegenbauer polynomial of degree \ell. As dd\to\infty, Q(v)He(dv)Q_\ell(v) \to \mathrm{He}_\ell(\sqrt{d}\,v) (Hermite polynomials).

Hermite Coefficients and Finiteness

Working on dSd1\sqrt{d}\,S^{d-1}, any activation σ\sigma expands as

σ(dw,x)==0σQ(w,x),σ=σ(dv)Q(v)ςd(dv)dσ(u)He(u)γ(du).\sigma(\sqrt{d}\langle w,x\rangle) = \sum_{\ell=0}^\infty \sigma_\ell\,Q_\ell(\langle w,x\rangle), \qquad \sigma_\ell = \int \sigma(\sqrt{d}\,v)\,Q_\ell(v)\,\varsigma_d(dv) \xrightarrow{d\to\infty} \int \sigma(u)\,\mathrm{He}_\ell(u)\,\gamma(du).

The Barron norm satisfies fσ0D()σ2PfL22\|f\|_\sigma \leq \sqrt{\sum_{\ell\geq 0} \frac{D(\ell)}{\sigma_\ell^2}\|P_\ell f\|_{L^2}^2}.

Degenerate case: If σ(t)=t\sigma(t) = t (linear), then σ=0\sigma_\ell = 0 for 1\ell \neq 1 and fσ=\|f\|_\sigma = \infty for any nonlinear ff.

Invariance Under Low-Dimensional Projections


The Double Descent Phenomenon

Three Empirical Facts

In practice:

  1. Training error \ll test error — networks interpolate training data.

  2. Models are near optimal — test error approaches Bayes risk.

  3. No explicit regularization needed.

The Double Descent Curve

As p/np/n (parameters/samples) grows, test risk exhibits a double descent:

Two mechanisms explain why overparameterization helps:

Implicit (algorithmic) regularization — NTK regime. Gradient descent finds the minimum-norm interpolant, biased toward smooth solutions.

Benign overfitting (self-induced regularization). High-dimensional geometry makes certain interpolating solutions harmless: the spiky noise-fitting component is orthogonal to the signal in function space.


Gradient Flow and the NTK Linearization

Setup

Parameters θRp\theta \in \mathbb{R}^p, network output vector fn(θ)=(f(x1;θ),,f(xn;θ))f_n(\theta) = (f(x_1;\theta),\ldots,f(x_n;\theta))^\top, Jacobian Dfn(θ)Rn×pDf_n(\theta) \in \mathbb{R}^{n\times p}. Empirical risk R^n(θ)=12nyfn(θ)2\hat R_n(\theta) = \frac{1}{2n}\|y - f_n(\theta)\|^2.

The gradient flow is

θ˙t=R^n(θt)=1nDfn(θt)(yfn(θt)).\dot\theta_t = -\nabla\hat R_n(\theta_t) = \frac{1}{n}\,Df_n(\theta_t)^\top(y - f_n(\theta_t)).

Setting yt=fn(θt)y_t = f_n(\theta_t) and Kt=Dfn(θt)Dfn(θt)Rn×nK_t = Df_n(\theta_t)Df_n(\theta_t)^\top \in \mathbb{R}^{n\times n} (the NTK matrix):

y˙t=1nKt(yty).\dot y_t = -\frac{1}{n}K_t(y_t - y).

The Linearized Model

If gradient flow stays near θ0\theta_0, Taylor-expand: fn(θ)fn(θ0)+Dfn(θ0)(θθ0)f_n(\theta) \approx f_n(\theta_0) + Df_n(\theta_0)(\theta - \theta_0), giving the linearized empirical risk

R^nlin(θ)=12nyfn(θ0)Dfn(θ0)(θθ0)2.\hat R_n^\mathrm{lin}(\theta) = \frac{1}{2n}\|y - f_n(\theta_0) - Df_n(\theta_0)^\top(\theta-\theta_0)\|^2.

The corresponding gradient flow θˉ˙t=R^nlin(θˉt)\dot{\bar\theta}_t = -\nabla\hat R_n^\mathrm{lin}(\bar\theta_t) is linear and exactly solvable; the linearized predictor fˉlin()=f(;θ0)+Df(;θ0)(θˉtθ0)\bar f_\mathrm{lin}(\cdot) = f(\cdot;\theta_0) + Df(\cdot;\theta_0)(\bar\theta_t - \theta_0) converges to a kernel ridge regression solution.

Convergence Theorem

Full Proof of Part (i) and Part (ii)

Setup. Let σmin=σmin(Dfn(θ0))\sigma_\mathrm{min} = \sigma_\mathrm{min}(Df_n(\theta_0)), r=σmin2/(2Ln)r_* = \sigma_\mathrm{min}^2/(2Ln), and t=inf{t:θtθ0r}t_* = \inf\{t : \|\theta_t - \theta_0\| \geq r_*\}. We show t=t_* = \infty.

For t<tt < t_*, Lipschitz continuity of DfnDf_n gives

Dfn(θt)Dfn(θ0)opLθtθ0<Lr=σmin22nn1=σmin2,\|Df_n(\theta_t) - Df_n(\theta_0)\|_\mathrm{op} \leq L\|\theta_t - \theta_0\| < Lr_* = \frac{\sigma_\mathrm{min}^2}{2n} \cdot \frac{n}{1} = \frac{\sigma_\mathrm{min}}{2},

using the matrix inequality σmin(A)σmin(B)ABop\sigma_\mathrm{min}(A) \geq \sigma_\mathrm{min}(B) - \|A-B\|_\mathrm{op}:

σmin(Dfn(θt))σmin2,λmin(Kt)σmin24.\sigma_\mathrm{min}(Df_n(\theta_t)) \geq \frac{\sigma_\mathrm{min}}{2}, \quad \lambda_\mathrm{min}(K_t) \geq \frac{\sigma_\mathrm{min}^2}{4}.

Decay of yty2\|y_t - y\|^2. Since y˙t=1nKt(yty)\dot y_t = -\frac{1}{n}K_t(y_t - y):

ddtyty2=2nyty,Kt(yty)σmin22nyty2=λ0yty2.\frac{d}{dt}\|y_t - y\|^2 = -\frac{2}{n}\langle y_t - y, K_t(y_t-y)\rangle \leq -\frac{\sigma_\mathrm{min}^2}{2n}\|y_t - y\|^2 = -\lambda_0\|y_t-y\|^2.

This gives yty2y0y2eλ0t\|y_t - y\|^2 \leq \|y_0 - y\|^2 e^{-\lambda_0 t}, i.e., R^n(θt)R^n(θ0)eλ0t\hat R_n(\theta_t) \leq \hat R_n(\theta_0)e^{-\lambda_0 t}.

Bounding θtθ0\|\theta_t - \theta_0\|. From θ˙t=1nDfn(θt)(yyt)\dot\theta_t = \frac{1}{n}Df_n(\theta_t)^\top(y - y_t):

ddtyty=1nDfn(θt)(yty)2ytyσmin21nDfn(θt)(yty)=σmin2θ˙t.\frac{d}{dt}\|y_t - y\| = -\frac{1}{n}\frac{\|Df_n(\theta_t)(y_t-y)\|^2}{\|y_t-y\|} \leq -\frac{\sigma_\mathrm{min}}{2} \cdot \frac{1}{n}\|Df_n(\theta_t)(y_t-y)\| = -\frac{\sigma_\mathrm{min}}{2}\|\dot\theta_t\|.

Hence ddt ⁣(yty+σmin2θtθ0)0\frac{d}{dt}\!\left(\|y_t - y\| + \frac{\sigma_\mathrm{min}}{2}\|\theta_t - \theta_0\|\right) \leq 0, which integrates to

yty+σmin2θtθ0y0y.\boxed{\|y_t - y\| + \frac{\sigma_\mathrm{min}}{2}\|\theta_t - \theta_0\| \leq \|y_0 - y\|.}

Therefore θtθ02y0y/σmin<r\|\theta_t - \theta_0\| \leq 2\|y_0 - y\|/\sigma_\mathrm{min} < r_*, so t=t_* = \infty and both bounds hold globally. \square

Interpretation

The condition Lyfn(θ0)214σmin2L\|y - f_n(\theta_0)\|_2 \leq \frac{1}{4}\sigma_\mathrm{min}^2 is satisfied when the network is wide (mm\to\infty): at random Gaussian initialization, σmin(Dfn(θ0))=Ω(n)\sigma_\mathrm{min}(Df_n(\theta_0)) = \Omega(\sqrt{n}), yfn(θ0)2=O(n)\|y - f_n(\theta_0)\|_2 = O(\sqrt{n}), and L=O(1/m)L = O(1/\sqrt{m}), so the product is O(n/m)0O(\sqrt{n/m}) \to 0.

Since θtθ0\|\theta_t - \theta_0\| is bounded, fn(θt)fn(θˉt)f_n(\theta_t) \approx f_n(\bar\theta_t) throughout training — the lazy training (NTK) regime. The limit of gradient flow is the kernel ridge regression (KRR) estimator with the NTK kernel K(x,x)=Df(;x0,θ0),Df(;x,θ0)K(x,x') = \langle Df(\cdot;x_0,\theta_0), Df(\cdot;x',\theta_0)\rangle.

References
  1. Du, S. S., Zhai, X., Poczos, B., & Singh, A. (2019). Gradient descent finds global minima of non-convex neural networks. International Conference on Machine Learning.
  2. Chizat, L., & Bach, F. (2020). Implicit bias of gradient descent for wide two-layer neural networks trained with the logistic loss. Conference on Learning Theory.