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(d Sd−1)\mathbb{P} = \mathrm{Unif}(\sqrt{d}\,S^{d-1}). The generator set is

G={±σ(⟨w,⋅⟩):w∈Rd,  ∥w∥2≤1},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 r0≥∥f∥σ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 Sd−1S^{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 z0∈Sd−1z_0 \in S^{d-1} is

x↦Qℓ(⟨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 QℓQ_\ell is the Gegenbauer polynomial of degree ℓ\ell. As d→∞d\to\infty, Qℓ(v)→Heℓ(d v)Q_\ell(v) \to \mathrm{He}_\ell(\sqrt{d}\,v) (Hermite polynomials).

Hermite Coefficients and Finiteness

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

σ(d⟨w,x⟩)=∑ℓ=0∞σℓ Qℓ(⟨w,x⟩),σℓ=∫σ(d v) 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(ℓ)σℓ2∥Pℓf∥L22\|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(θ)=12n∥y−fn(θ)∥2\hat R_n(\theta) = \frac{1}{2n}\|y - f_n(\theta)\|^2.

The gradient flow is

θ˙t=−∇R^n(θt)=1n Dfn(θt)⊤(y−fn(θ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(yt−y).\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(θ)=12n∥y−fn(θ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−θ0∥≥r∗}t_* = \inf\{t : \|\theta_t - \theta_0\| \geq r_*\}. We show t∗=∞t_* = \infty.

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

∥Dfn(θt)−Dfn(θ0)∥op≤L∥θt−θ0∥<Lr∗=σmin22n⋅n1=σ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)−∥A−B∥op\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 ∥yt−y∥2\|y_t - y\|^2. Since y˙t=−1nKt(yt−y)\dot y_t = -\frac{1}{n}K_t(y_t - y):

ddt∥yt−y∥2=−2n⟨yt−y,Kt(yt−y)⟩≤−σmin22n∥yt−y∥2=−λ0∥yt−y∥2.\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 ∥yt−y∥2≤∥y0−y∥2e−λ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)⊤(y−yt)\dot\theta_t = \frac{1}{n}Df_n(\theta_t)^\top(y - y_t):

ddt∥yt−y∥=−1n∥Dfn(θt)(yt−y)∥2∥yt−y∥≤−σmin2⋅1n∥Dfn(θt)(yt−y)∥=−σ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 ⁣(∥yt−y∥+σ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

∥yt−y∥+σmin2∥θt−θ0∥≤∥y0−y∥.\boxed{\|y_t - y\| + \frac{\sigma_\mathrm{min}}{2}\|\theta_t - \theta_0\| \leq \|y_0 - y\|.}

Therefore ∥θt−θ0∥≤2∥y0−y∥/σ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 L∥y−fn(θ0)∥2≤14σmin2L\|y - f_n(\theta_0)\|_2 \leq \frac{1}{4}\sigma_\mathrm{min}^2 is satisfied when the network is wide (m→∞m\to\infty): at random Gaussian initialization, σmin(Dfn(θ0))=Ω(n)\sigma_\mathrm{min}(Df_n(\theta_0)) = \Omega(\sqrt{n}), ∥y−fn(θ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.