Skip to main content

Modern Generalization

Neural Tangent Kernel: Lazy Training, Kernel Equivalence, μP, and the Limits of Width

In the infinite-width NTK parameterization, training a neural network with gradient descent is mathematically equivalent to kernel regression. The same limit suppresses feature learning, which is why μP and mean-field parameterizations exist. NTK is the precise boundary between the kernel and feature-learning regimes.

AdvancedTier 1CurrentCore spine~95 min

Learning position

Place this page in a reading path.

modern-generalization | layer 4 | tier 1. This page has 6 direct prerequisites and 5 published dependents.

What next

Double Descent

This is the first curated or graph-derived continuation from the current page.

Evidence badge

Source-grounded page

This page has no public Lean mapping yet. Use the evidence page to inspect how claim status labels work.

Show the backing system

Why This Matters

Two scaling limits of a wide network. Under NTK scaling (1/sqrt(m)) particles barely move; under mean field scaling (1/m) they reorganize into feature clusters.

weight-space coordinateNTK regime (1/sqrt(m))particles move O(1/sqrt(m)) — features are frozenweight-space coordinateMean field regime (1/m)particles move O(1) — features are learnedinitializationfinal weights (NTK)final weights (mean field)

The Neural Tangent Kernel is one of the most cleanly stated theoretical results in modern deep learning. It shows that in a specific limit (infinite width with NTK parameterization), training a neural network with gradient descent is mathematically equivalent to kernel regression with a particular kernel. This gave the field a rigorous connection between deep networks and classical kernel theory, with explicit convergence rates and generalization bounds.

The NTK result is also, in large part, a negative result about its own regime. The lazy-training limit it describes is precisely the regime where networks do not learn features: the representation stays at initialization. Real finite-width networks operate outside the NTK regime when feature learning matters, which is why mean-field and maximal-update (μP) parameterizations are needed to describe practical training. NTK is best understood as a clean boundary case, not an explanation of why finite networks generalize.

The picture matters for three concrete reasons. First, kernel-ridge equivalence (proven below) imports the entire theory of ridge regression into deep learning: the infinite-width network with weight decay λ\lambda behaves like RKHS-regularized regression, with explicit bias-variance and double-descent predictions. Second, the NTK spectrum controls both convergence speed and generalization: small eigenvalues mean slow learning, and the eigenvalue decay rate determines the test-error rate. Third, the μP parameterization (Yang-Hu Tensor Programs IV/V) lets practitioners tune hyperparameters at small width and reuse them at large width. That transfer is an empirical finding; the first proof (Hayou 2025) covers only the learning rate of linear networks (see below).

Mental Model

Consider a neural network f(x;θ)f(x; \theta) with parameters θ\theta. At initialization θ0\theta_0, linearize the network around θ0\theta_0:

f(x;θ)≈f(x;θ0)+∇θf(x;θ0)⊤(θ−θ0)f(x; \theta) \approx f(x; \theta_0) + \nabla_\theta f(x; \theta_0)^\top (\theta - \theta_0)

This is just a first-order Taylor expansion. The key insight of NTK theory: when the network is sufficiently wide, the parameters θ\theta barely move during training (relative to their scale), so this linearization is accurate throughout training. The linearized model is a kernel method with kernel determined by ∇θf\nabla_\theta f.

Three parameterizations give three qualitatively different infinite-width limits, and the choice is not cosmetic.

ParameterizationPer-weight scaleOutput scaleLimit
Standard (PyTorch default)1/m1/\sqrt{m}Θ(1)\Theta(1)Output diverges; not a clean limit
NTKΘ(1)\Theta(1) at init, output ∝1/m\propto 1/\sqrt{m}Θ(1)\Theta(1)Lazy: kernel regression with Θ∗\Theta^*
Mean-field / μPΘ(1/m)\Theta(1/m)Θ(1)\Theta(1)Rich: features evolve, transfer across widths

Under NTK parameterization the per-coordinate weight movement is O(1/m)O(1/\sqrt{m}), so each feature ∂f/∂θk\partial f / \partial \theta_k stays near its initialization. Under mean-field the per-coordinate movement is Θ(1)\Theta(1), so features actively evolve. Yang's Tensor Programs IV classified all parameterizations of feedforward networks and showed μP is the unique parameterization in which every layer, including the embedding layer and the output layer, is in the maximal feature-learning limit.

The Neural Tangent Kernel

Definition

Neural Tangent Kernel

For a neural network f(x;θ)f(x; \theta) with parameters θ\theta, the Neural Tangent Kernel is:

Θ(x,x′)=⟨∇θf(x;θ),  ∇θf(x′;θ)⟩=∑k∂f(x;θ)∂θk∂f(x′;θ)∂θk\Theta(x, x') = \left\langle \nabla_\theta f(x; \theta), \; \nabla_\theta f(x'; \theta) \right\rangle = \sum_{k} \frac{\partial f(x; \theta)}{\partial \theta_k} \frac{\partial f(x'; \theta)}{\partial \theta_k}

This is the inner product of the gradients of the network output with respect to all parameters, evaluated at inputs xx and x′x'.

At initialization θ0\theta_0, this defines Θ0(x,x′)\Theta_0(x, x'). The kernel depends on the architecture (depth, width, activation function) and the initialization distribution.

Definition

Lazy Training Regime

A neural network is in the lazy training regime if and only if the parameters stay close to their initialization throughout training:

∥θt−θ0∥=o(∥θ0∥)\|\theta_t - \theta_0\| = o(\|\theta_0\|)

In this regime, the NTK Θt(x,x′)≈Θ0(x,x′)\Theta_t(x, x') \approx \Theta_0(x, x') remains approximately constant, and the network dynamics are well-approximated by the linearized model. The name "lazy" reflects that the features (the gradients ∇θf\nabla_\theta f) do not change. Only the linear combination of features is learned.

Definition

NTK Parameterization

A two-layer network has NTK parameterization if and only if it is written as

f(x;W,a)=1m∑j=1maj σ ⁣(1dwj⊤x),f(x; W, a) = \frac{1}{\sqrt{m}} \sum_{j=1}^m a_j \, \sigma\!\left(\frac{1}{\sqrt{d}} w_j^\top x\right),

with aj∼N(0,1)a_j \sim \mathcal{N}(0, 1) and wj∼N(0,Id)w_j \sim \mathcal{N}(0, I_d) at initialization. The crucial features are the per-layer 1/min1/\sqrt{m_\text{in}} input scaling (so each pre-activation has Θ(1)\Theta(1) variance) and the 1/m1/\sqrt{m} output normalization (so the output has Θ(1)\Theta(1) variance). For deeper networks the same scaling is applied layer by layer.

The standard PyTorch default initialization uses different scaling: 1/min1/\sqrt{m_\text{in}} folded into the weights themselves (wj∼N(0,1/min)w_j \sim \mathcal{N}(0, 1/m_\text{in})). This standard parameterization gives the same forward computation but a different per-weight learning-rate sensitivity, which produces a different infinite-width limit (output diverges unless the learning rate is rescaled by 1/m1/m). Yang and Hu (2021, Tensor Programs IV) classified all per-layer scaling choices into three classes: NTK (lazy), mean-field (feature-learning at the readout only), and μP (feature-learning at every layer including the embedding and readout).

Core Theoretical Results

Theorem

NTK Convergence at Infinite Width

Statement

Consider a fully connected network with LL hidden layers of width mm, with NTK parameterization. As m→∞m \to \infty:

  1. The random kernel Θ0(x,x′)\Theta_0(x, x') converges in probability to a deterministic kernel Θ∗(x,x′)\Theta^*(x, x')
  2. The limiting kernel Θ∗\Theta^* depends only on the architecture (depth, activation function) and is independent of the random initialization

The limiting kernel can be computed recursively layer by layer.

Intuition

At infinite width, the law of large numbers kicks in: each layer computes a sum of many independent random terms, which concentrates around its expectation. The randomness of initialization washes out, leaving a deterministic kernel that depends only on the architecture.

Proof Sketch

Proceed by induction on depth. At each layer, the pre-activations are sums of mm independent terms (one per neuron in the previous layer). By the CLT, these converge to a Gaussian process as m→∞m \to \infty. The kernel of this GP at layer ll is determined recursively by the kernel at layer l−1l-1 and the activation function, via the formula: K(l)(x,x′)=E(u,v)∼N[σ(u)σ(v)]K^{(l)}(x,x') = \mathbb{E}_{(u,v) \sim \mathcal{N}}[\sigma(u)\sigma(v)] where the covariance of (u,v)(u,v) is determined by K(l−1)K^{(l-1)}.

Why It Matters

This shows that infinitely wide neural networks at initialization are Gaussian processes with a specific kernel. Combined with the constancy result below, this means training such networks is equivalent to kernel regression, a fully solved problem.

Failure Mode

The finite-width NTK deviates from the infinite-width limit at rate O(1/m)O(1/\sqrt{m}) (Arora et al. 2019, arXiv:1904.11955, Cor. 6.2; Lee et al. 2019, Thm. 2.2). Quantitatively, for standard fully connected architectures, at m=1024m = 1024 the typical relative error is 2 to 5 percent (Arora et al. 2019, Table 1); at m=128m = 128 it exceeds 10 percent. For practically sized networks, the infinite-width approximation has non-negligible error.

Theorem

NTK Stays Constant During Training

Statement

For a network with width mm trained by gradient flow on the squared loss, as m→∞m \to \infty:

  1. The NTK Θt\Theta_t stays equal to Θ0\Theta_0 throughout training: sup⁡t∥Θt−Θ0∥→0\sup_t \|\Theta_t - \Theta_0\| \to 0
  2. The training loss converges to zero exponentially: L(t)≤L(0)⋅e−2λmin⁡tL(t) \leq L(0) \cdot e^{-2\lambda_{\min} t} where λmin⁡\lambda_{\min} is the smallest eigenvalue of Θ∗\Theta^* on the training data
  3. The trained network is equivalent to kernel regression with kernel Θ∗\Theta^*

Intuition

When the width is enormous, each parameter contributes a tiny amount to the output. Training changes each parameter by a tiny amount. The gradient features ∇θf(x;θ)\nabla_\theta f(x; \theta) barely change, so the kernel stays constant. The dynamics become linear in the function space, and the solution is exactly kernel regression.

Proof Sketch

Under NTK parameterization, each individual weight is Θ(1)\Theta(1) at initialization (with output scaled by 1/m1/\sqrt{m}), giving ∥θ0∥=Θ(m)\|\theta_0\| = \Theta(\sqrt{m}). During gradient flow, each parameter moves by O(1/m)O(1/\sqrt{m}) per coordinate, giving aggregate Frobenius-norm displacement ∥θt−θ0∥\|\theta_t - \theta_0\| that is O(1)O(1) in total but O(1/m)O(1/\sqrt{m}) relative to ∥θ0∥\|\theta_0\|, so the relative movement vanishes as m→∞m \to \infty (Chizat, Oyallon, Bach 2019).

The change in the NTK is second-order in the parameter displacement: ∥Θt−Θ0∥≤∥Hf∥⋅∥θt−θ0∥2\|\Theta_t - \Theta_0\| \leq \|H_f\| \cdot \|\theta_t - \theta_0\|^2 where HfH_f is the Hessian of ff in parameter space. Under NTK parameterization, ∥Hf∥op=O(1/m)\|H_f\|_{\mathrm{op}} = O(1/\sqrt{m}) and ∥θt−θ0∥2=O(1)\|\theta_t - \theta_0\|^2 = O(1), so the product is O(1/m)→0O(1/\sqrt{m}) \to 0 (Lee et al. 2019, "Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descent", arXiv:1902.06720).

With a constant kernel, the training dynamics in function space are linear: f˙=−Θ∗⋅(f−y)\dot{f} = -\Theta^* \cdot (f - y), which converges exponentially at rate 2λmin⁡(Θ∗)2\lambda_{\min}(\Theta^*).

Why It Matters

This is the central result of NTK theory. It says: infinitely wide networks trained with gradient descent are exactly kernel methods. This immediately imports decades of kernel theory: RKHS norm bounds, generalization guarantees, spectral analysis of convergence rates.

Failure Mode

The constancy of the NTK is precisely the lazy training limitation. If the kernel does not change, the network does not learn new features. It only learns a linear combination of the initial random features. This is why NTK theory cannot explain the success of feature learning in practice.

Equivalence to Kernel Ridge Regression

The constancy theorem says infinite-width gradient flow on the squared loss solves the noiseless kernel-regression problem with kernel Θ∗\Theta^*. Adding weight decay (or, equivalently, early stopping) makes the equivalence even sharper: the trained network solves a kernel ridge regression problem.

Theorem

NTK as Kernel Ridge Regression

Statement

Let f^NNλ\hat f_{\text{NN}}^\lambda be the infinite-width network trained with ℓ2\ell_2 regularization centered at the initialization, that is the penalized loss L(θ)=1n∑i=1n(f(xi;θ)−yi)2+λ∥θ−θ0∥22.L(\theta) = \frac{1}{n} \sum_{i=1}^n (f(x_i; \theta) - y_i)^2 + \lambda \|\theta - \theta_0\|_2^2. At convergence,

f^NNλ(x)  =  Θ∗(x,X)[Θ∗(X,X)+nλI]−1y,\hat f_{\text{NN}}^\lambda(x) \;=\; \Theta^*(x, X) \big[\Theta^*(X, X) + n \lambda I\big]^{-1} y,

which is exactly kernel ridge regression with kernel Θ∗\Theta^* and ridge parameter λ\lambda. As λ→0+\lambda \to 0^+ this reduces to the minimum-RKHS-norm interpolant of the training data; as λ→∞\lambda \to \infty it shrinks to zero.

Intuition

With a constant kernel and a quadratic regularizer in parameter space, the optimization in function space is a ridge regression in the RKHS defined by Θ∗\Theta^*. Weight decay on θ\theta becomes RKHS-norm penalty on ff, and the infinite-width network delivers the minimizer in closed form. Without explicit regularization, gradient flow itself imposes an implicit bias toward the minimum-RKHS-norm interpolant.

Proof Sketch

Linearize around θ0\theta_0: fθ(x)≈f0(x)+∇θf0(x)⊤(θ−θ0)f_\theta(x) \approx f_0(x) + \nabla_\theta f_0(x)^\top (\theta - \theta_0). Define features ϕ(x)=∇θf0(x)∈RP\phi(x) = \nabla_\theta f_0(x) \in \mathbb{R}^P where PP is the parameter count, so the linearized network is f(x)=f0(x)+ϕ(x)⊤βf(x) = f_0(x) + \phi(x)^\top \beta with β=θ−θ0\beta = \theta - \theta_0. The penalized squared loss 1n∥y−f0−Φβ∥22+λ∥β∥22\frac{1}{n} \|y - f_0 - \Phi \beta\|_2^2 + \lambda \|\beta\|_2^2 is solved by β^=(Φ⊤Φ+nλI)−1Φ⊤(y−f0)\hat\beta = (\Phi^\top \Phi + n\lambda I)^{-1} \Phi^\top (y - f_0). Apply the kernel trick (push-through identity) to rewrite the predictor at a new xx as ϕ(x)⊤β^=Θ0(x,X)(Θ0(X,X)+nλI)−1(y−f0)\phi(x)^\top \hat\beta = \Theta_0(x, X) (\Theta_0(X,X) + n\lambda I)^{-1} (y - f_0). At infinite width Θ0→Θ∗\Theta_0 \to \Theta^* and f0→0f_0 \to 0 by the centered initialization (Lee et al. 2019, Sec. 2.4; Hu, Lu, Bauer 2021, Thm. 1).

Why It Matters

This is the bridge that imports the entire ridge-regression theory into deep learning. The bias-variance tradeoff, the effective degrees of freedom tr(Θ∗(Θ∗+nλI)−1)\text{tr}(\Theta^*(\Theta^* + n\lambda I)^{-1}), the SURE estimator for λ\lambda, and the cross-validation theory for selecting λ\lambda all transfer directly. It also explains why early stopping and weight decay behave so similarly in practice: under the lazy linearization, both move the solution along the same RKHS-norm-vs-fit tradeoff curve.

Failure Mode

The equivalence holds only in the lazy linearization. Real networks at finite width and finite training time deviate (Fort et al. 2020 measure the deviation via empirical NTK drift). For ReLU networks the NTK has a fast-decaying spectrum that makes the ridgeless interpolant unstable on high-frequency target functions; this is the spectral side of double descent. Under standard parameterization (not NTK parameterization), the ridge equivalence does not hold even at infinite width.

NTK Spectrum and Generalization

Once the equivalence to kernel ridge is established, the entire generalization theory of NTK reduces to spectral analysis of Θ∗\Theta^*. The key object is the eigenvalue decay rate of the operator TΘ∗f(x)=∫Θ∗(x,x′)f(x′) dρ(x′)\mathcal{T}_{\Theta^*} f(x) = \int \Theta^*(x, x') f(x') \, d\rho(x') on the data distribution ρ\rho.

Theorem

Generalization Rate from NTK Eigenvalue Decay (Bordelon-Pehlevan)

Statement

For a target function f∗f^* in the RKHS, the excess test error of the ridgeless NTK interpolant on nn samples scales as

E[∥f^−f∗∥L2(ρ)2]  ≍  n−α−1α\mathbb{E}\big[\|\hat f - f^*\|_{L^2(\rho)}^2\big] \;\asymp\; n^{-\frac{\alpha - 1}{\alpha}}

up to logarithmic factors. The rate is determined entirely by the spectral decay exponent α\alpha of Θ∗\Theta^*, not by the network architecture beyond what affects α\alpha. For the two-layer ReLU NTK on the sphere, α=d\alpha = d (the input dimension), giving a rate n−(d−1)/dn^{-(d-1)/d}.

Intuition

Kernel methods can only fit modes of the target along eigendirections of Θ∗\Theta^*. Modes along eigendirections with small eigenvalues require proportionally more samples to learn. Polynomial decay of eigenvalues means high-frequency components of the target are increasingly costly to estimate, and the test error is dominated by the lowest-eigenvalue mode that is still meaningfully signal at sample size nn.

Proof Sketch

Use the bias-variance decomposition for kernel ridge with optimal λ(n)≍n−α/(α+1)\lambda(n) \asymp n^{-\alpha/(\alpha + 1)}. The bias term is ∑kλ2/(λk+λ)2(fk∗)2\sum_k \lambda^2 / (\lambda_k + \lambda)^2 (f^*_k)^2 and the variance term is (σ2/n)∑kλk/(λk+λ)2(\sigma^2 / n) \sum_k \lambda_k / (\lambda_k + \lambda)^2. Substituting the polynomial eigenvalue decay and balancing the two terms gives the optimal λ(n)\lambda(n) and the resulting risk rate (Caponnetto, de Vito 2007 for the classical kernel result; Bordelon, Canatar, Pehlevan 2020 for the NTK-spectrum specialization).

Why It Matters

This is the only NTK-side prediction that matches measurable behavior of real networks: tasks that are well-aligned with low-frequency NTK eigenfunctions (smooth targets, image-classification on natural images) generalize well, while tasks dominated by high-frequency modes (adversarial examples, parity functions) require sample sizes that scale exponentially. The "spectral bias" toward low-frequency learning observed empirically by Rahaman et al. 2019 is exactly this eigenvalue ordering.

Failure Mode

Polynomial decay is an idealization; for some architectures the spectrum has heavy-tailed or non-polynomial behavior that breaks the clean rate. Real targets are not in the RKHS in general; misspecification adds an f∗f^*-dependent floor to the test error. Most of all, this entire analysis assumes the lazy regime, so it cannot describe the rate improvement that comes from feature learning in finite-width networks (Cui, Loureiro, Krzakala 2021).

μP and Hyperparameter Transfer

The Tensor Programs framework (Yang 2019-2022) is a calculus for infinite-width limits that subsumes NTK, mean-field, and every intermediate parameterization. Its most operational consequence is the maximal-update parameterization (μP), which gives a width-stable training recipe.

Yang et al. (2022) report the practical payoff as an empirical finding they call μTransfer: under μP, many optimal hyperparameters, including the learning rate, stay stable as width grows, so they can be tuned on a small proxy and reused on the target model without tuning it directly. They verify this on Transformers and ResNets. Their largest transfer tunes a 40M-parameter proxy and applies the result to a 6.7B-parameter GPT-3 model, which then beats the published GPT-3 6.7B results at a tuning cost of 7% of the total pretraining cost. Cerebras-GPT (Dey et al. 2023) is a public example at training scale: after tuning a 40M-parameter μP model, it used the same learning-rate hyperparameters for μP models from 111M to 2.7B parameters, which averaged 0.43% lower Pile test loss than the matching standard-parameterization models.

μTransfer rests on these experiments and on the heuristic that μP keeps the feature updates of every layer at order one. The first proof covers the learning rate alone, in linear networks.

Theorem

Learning-rate transfer under μP (Hayou 2025)

Statement

Consider the linear network f(x)=V⊤WL⋯W1W0xf(x) = V^\top W_L \cdots W_1 W_0 x with input x∈Rdx \in \mathbb{R}^d, hidden width mm, and training set {(xi,yi)}i=1n\{(x_i, y_i)\}_{i=1}^{n}. Train W1,…,WLW_1, \dots, W_L by gradient descent with learning rate η\eta on L=12n∑i=1n(f(xi)−yi)2\mathcal{L} = \frac{1}{2n}\sum_{i=1}^{n} (f(x_i) - y_i)^2, and let Lm(t)(η)\mathcal{L}_m^{(t)}(\eta) be the loss after tt steps. Write K=(⟨xi,xj⟩/d)i,j=1nK = (\langle x_i, x_j \rangle / d)_{i,j=1}^{n} and y=(y1,…,yn)⊤y = (y_1, \dots, y_n)^\top, assume Ky≠0Ky \neq 0, and let ηm(t)\eta_m^{(t)} minimize Lm(t)\mathcal{L}_m^{(t)} over a compact interval that contains the limit below. Under μP, after one step,

ηm(1)−η∞(1)=OP(m−1/2),η∞(1)=nL⋅y⊤Ky∥Ky∥2>0.\eta_m^{(1)} - \eta_\infty^{(1)} = O_{\mathbb{P}}\big(m^{-1/2}\big), \qquad \eta_\infty^{(1)} = \frac{n}{L} \cdot \frac{y^\top K y}{\|Ky\|^2} > 0.

After any fixed number of steps tt, Lm(t)\mathcal{L}_m^{(t)} converges almost surely, uniformly on compact sets, to a deterministic function L∞(t)\mathcal{L}_\infty^{(t)} whose minimizers over [0,∞)[0, \infty) lie in an interval [η−,η+][\eta_-, \eta_+] with η−>0\eta_- > 0. If L∞(t)\mathcal{L}_\infty^{(t)} has a unique minimizer η∞(t)\eta_\infty^{(t)}, then ηm(t)→η∞(t)\eta_m^{(t)} \to \eta_\infty^{(t)} almost surely.

Under standard parameterization (output variance 1/m1/m), the one-step minimizer over any interval [0,ηˉ][0, \bar{\eta}] converges to 00 in probability, so a learning rate tuned at one width is too large for a much wider network.

Intuition

For a linear network, the output after one step is a polynomial in the learning rate: f(1)(x)=f(0)(x)+∑k=1Lϕkηkf^{(1)}(x) = f^{(0)}(x) + \sum_{k=1}^{L} \phi_k \eta^k. Under μP the output weights have variance 1/m21/m^2, so f(0)(x)→0f^{(0)}(x) \to 0, the coefficients ϕk\phi_k with k≥2k \ge 2 vanish at rate m−(k−1)/2m^{-(k-1)/2}, and ϕ1\phi_1 converges to the constant Ln∑iyi⟨x,xi⟩/d\frac{L}{n}\sum_{i} y_i \langle x, x_i \rangle / d. The one-step loss therefore tends to the quadratic 12n∥ηLnKy−y∥2\frac{1}{2n}\|\eta \frac{L}{n} K y - y\|^2, whose minimizer is η∞(1)\eta_\infty^{(1)}. Under standard parameterization the output weights are larger by a factor m\sqrt{m}, every coefficient grows with width, and the best learning rate shrinks to compensate. Under NTK parameterization the explicit 1/m1/\sqrt{m} multipliers shrink the effective step, and the best learning rate grows with width instead.

Proof Sketch

Because the input and output layers are fixed, f(t)(x)f^{(t)}(x) is a polynomial in η\eta for every tt, with coefficients that depend only on the initialization. Hayou shows that every coefficient converges almost surely to a deterministic constant as m→∞m \to \infty, so Lm(t)\mathcal{L}_m^{(t)} converges uniformly on compact sets to a deterministic polynomial, and a unique minimizer of the limit forces the finite-width minimizers to converge to it. At t=1t = 1 the limit is the quadratic above, which gives the closed form; the m−1/2m^{-1/2} rate comes from the O(m−1/2)O(m^{-1/2}) size of the higher-order terms and the O(m−1/2)O(m^{-1/2}) fluctuation of the empirical kernel around LnK\frac{L}{n}K. At t≥2t \ge 2, higher powers of η\eta survive in the limit (at t=2t = 2 a coefficient of degree 3L−13L - 1 stays nonzero), so there is no closed form, and the argument instead shows that the limiting minimizers stay bounded away from 00 and ∞\infty.

Why It Matters

The case for learning-rate transfer used to be experiments plus the feature-update heuristic. This result checks it in a model where the optimal learning rate can be computed: under μP the one-step loss has a width-independent limit with a positive minimizer, while standard parameterization drives the minimizer to zero. The rate matters in practice, because transfer only saves tuning if widths near the proxy already share the optimum. In Hayou's experiments with a three-layer linear network, the measured gap to η∞(1)\eta_\infty^{(1)} follows m−1/2m^{-1/2} up to width 1024 and shrinks faster beyond it.

Failure Mode

The proof covers one hyperparameter, the learning rate, in linear networks trained by full-batch gradient descent with the input and output layers frozen. Transfer of optimizer hyperparameters such as the Adam moment coefficients, of weight decay and learning-rate schedules, and of anything in nonlinear networks or Transformers remains an empirical finding (Yang et al. 2022). Hayou also reports learning-rate transfer for ReLU networks trained with Adam, but only in experiments. For t≥2t \ge 2 the result assumes the limiting loss has a unique minimizer, and it concerns width only, not depth or training length.

Connection to NNGP and Bayesian Deep Learning

The NTK and the NNGP are two infinite-width objects from the same underlying Gaussian-process structure. The distinction matters: the NNGP governs the prior over functions induced by initialization, while the NTK governs the training dynamics. Bayesian inference uses the NNGP; gradient-descent training uses the NTK.

ObjectWhat it describesReduces to
NNGP K∗(x,x′)K^*(x, x')Distribution of f(x;θ0)f(x; \theta_0) at random init, m→∞m \to \inftyBayesian posterior with NNGP kernel
NTK Θ∗(x,x′)\Theta^*(x, x')Training dynamics under gradient descent, m→∞m \to \inftyKernel ridge regression with Θ∗\Theta^*

For a fully connected net, Θ∗=K∗+∇K∗⋅∇K∗\Theta^* = K^* + \nabla K^* \cdot \nabla K^* in the recursion (Lee et al. 2019, Sec. 2.3). On standard image data the two kernels give similar predictive accuracy, but they differ on out-of-distribution inputs and on uncertainty estimates: NNGP gives calibrated posterior variance, NTK gives a point estimate.

The NNGP itself was introduced for shallow networks by Neal (1996) and extended to deep nets by Lee et al. (ICLR 2018). The unification under Tensor Programs (Yang 2019, "Wide Feedforward or Recurrent Neural Networks of Any Architecture are Gaussian Processes") established the GP limit for essentially every sane architecture, including transformers (Hron et al. ICML 2020).

Empirical NTK Drift at Finite Width

The lazy-training assumption is testable. Fort et al. (NeurIPS 2020) measured the empirical NTK Θt(x,x′)=⟨∇θft(x),∇θft(x′)⟩\Theta_t(x, x') = \langle \nabla_\theta f_t(x), \nabla_\theta f_t(x') \rangle during real training of CIFAR-10 and ImageNet ResNets. They report:

  • The empirical NTK at standard widths drifts by 30 to 80 percent in Frobenius norm during the first several epochs, then stabilizes
  • Drift correlates with feature learning: high drift = high test accuracy improvement over the linearized baseline
  • After the early phase the network enters a "linearized phase" where the NTK is approximately constant, suggesting a hybrid picture: rich early dynamics, lazy late dynamics

This is the cleanest empirical refutation of pure-NTK theory for practical-width networks, and the origin of the modern view that NTK predictions are most useful as a baseline that finite-width feature learning beats by a measurable margin.

The Lazy Regime vs. The Rich Regime

This is the critical conceptual distinction:

PropertyLazy Regime (NTK)Rich Regime (Feature Learning)
Parameters moveVery littleSubstantially
FeaturesFixed at initializationLearned during training
Equivalent toKernel regressionMultiple infinite-width limits (mean-field, muP). Less clean than NTK
WidthVery largePractical
TheoryWell-understoodActive research
PerformanceOften worse on benchmarkBetter, sometimes by large margins

Real neural networks that achieve top benchmark performance are typically in the rich regime: they learn hierarchical features very different from their random initialization. NTK theory describes a regime where this feature learning is suppressed.

The NTK for Specific Architectures

Example

NTK for a two-layer ReLU network

For a two-layer network f(x)=1m∑j=1majσ(wj⊤x)f(x) = \frac{1}{\sqrt{m}}\sum_{j=1}^m a_j \sigma(w_j^\top x) with ReLU activation σ(z)=max⁡(0,z)\sigma(z) = \max(0, z), the infinite-width NTK admits a closed form via the Cho-Saul arccosine kernels. Let u=x⊤x′/(∥x∥∥x′∥)u = x^\top x' / (\|x\|\|x'\|) and α=arccos⁡(u)\alpha = \arccos(u). Define

κ0(u)=1π(π−arccos⁡(u)),κ1(u)=1π(1−u2+(π−arccos⁡(u)) u).\kappa_0(u) = \frac{1}{\pi}(\pi - \arccos(u)), \qquad \kappa_1(u) = \frac{1}{\pi}\left(\sqrt{1 - u^2} + (\pi - \arccos(u))\, u\right).

The first-layer NNGP kernel is K(1)(x,x′)=∥x∥∥x′∥⋅κ1(u)K^{(1)}(x, x') = \|x\|\|x'\| \cdot \kappa_1(u), and the NTK is

Θ∗(x,x′)=∥x∥∥x′∥[κ1(u)+u⋅κ0(u)]=∥x∥∥x′∥π[sin⁡α+(π−α)cos⁡α]+∥x∥∥x′∥cos⁡απ(π−α).\Theta^*(x, x') = \|x\|\|x'\| \left[\kappa_1(u) + u \cdot \kappa_0(u)\right] = \frac{\|x\|\|x'\|}{\pi}\left[\sin\alpha + (\pi - \alpha)\cos\alpha\right] + \frac{\|x\|\|x'\|\cos\alpha}{\pi}(\pi - \alpha).

Sanity check: for unit vectors with x=x′x = x', α=0\alpha = 0, u=1u = 1, giving κ1(1)=1\kappa_1(1) = 1 and κ0(1)=1\kappa_0(1) = 1, so Θ∗(x,x)=2\Theta^*(x, x) = 2, matching Jacot-Gabriel-Hongler 2018 Prop. 2 and Arora et al. 2019 Thm. 3.1. This kernel is universal (dense in continuous functions) and positive definite on distinct points.

Common Confusions

Watch Out

NTK does not describe practical neural networks

The NTK regime requires width to be extremely large. often unrealistically so. Practical networks (GPT, ResNets, etc.) are not in the lazy regime. They learn features. NTK is a theoretical tool for understanding one extreme of neural network behavior, not a description of how practical networks work.

Watch Out

Constant NTK means no feature learning

A common point of confusion: "NTK theory proves neural networks are kernel methods." More precisely, NTK theory proves that infinitely wide networks in the lazy regime are kernel methods. The interesting behavior of practical networks. feature learning, representation learning, transfer. happens precisely when the NTK changes during training.

Watch Out

NTK parameterization vs standard parameterization

The NTK result requires a specific parameterization (scaling by 1/m1/\sqrt{m}) that differs from the standard (mean field) parameterization. Different parameterizations lead to qualitatively different infinite-width limits. The mean field parameterization leads to feature learning even at infinite width. PyTorch default initialization is not NTK parameterization. Practitioners applying NTK results to standard-init models are making an unstated approximation.

Watch Out

Finite width matters quantitatively

For standard fully connected architectures, at m=1024m = 1024 the finite-width NTK typically differs from the infinite-width limit by 2 to 5 percent. At m=128m = 128, the error exceeds 10 percent. Practical transformer MLP widths run 1024 to 8192, so the infinite-width approximation carries non-negligible error. "Infinite-width predictions" for real models are first-order approximations, not exact characterizations. (Arora et al. 2019, Table 1; Lee et al. 2019.)

Summary

  • The NTK is Θ(x,x′)=⟨∇θf(x),∇θf(x′)⟩\Theta(x, x') = \langle \nabla_\theta f(x), \nabla_\theta f(x') \rangle
  • At infinite width, the NTK converges to a deterministic kernel and stays constant during training
  • Infinite-width networks trained with GD are equivalent to kernel regression with the NTK
  • This is the lazy regime: features are fixed, only the linear readout is learned
  • Real networks learn features (rich regime), which NTK theory does not capture
  • NTK was a major theoretical advance but is incomplete as a theory of deep learning

Exercises

ExerciseCore

Problem

Warm-up: For a linear model f(x;w)=w⊤xf(x; w) = w^\top x with w∈Rdw \in \mathbb{R}^d, compute the NTK Θ(x,x′)\Theta(x, x'). Then, for a two-layer linear network f(x;W,v)=v⊤Wxf(x; W, v) = v^\top W x with W∈Rm×dW \in \mathbb{R}^{m \times d} and v∈Rmv \in \mathbb{R}^m, compute the NTK at a fixed (W,v)(W, v). Show that depth changes the NTK even for linear networks, and explain what this implies about the role of depth in NTK theory.

ExerciseAdvanced

Problem

Suppose you have a two-layer network of width mm and the NTK on the nn training points has minimum eigenvalue λmin⁡\lambda_{\min}. The training loss at time tt under gradient flow satisfies L(t)≤L(0)e−2λmin⁡tL(t) \leq L(0) e^{-2\lambda_{\min}t}. If λmin⁡=0.01\lambda_{\min} = 0.01 and L(0)=1.0L(0) = 1.0, how many time units until the loss reaches 10−610^{-6}?

ExerciseAdvanced

Problem

Explain why the NTK framework cannot account for the empirical observation that deeper networks learn increasingly abstract features at higher layers. What property of the NTK regime prevents this?

Related Comparisons

Frequently Asked Questions

What is the Neural Tangent Kernel?
The kernel at initialization, where is a neural network. Jacot et al. (2018) showed that in the infinite-width NTK parameterization, stays constant during training, and gradient descent on the network is equivalent to kernel ridge regression with .
How is NTK different from NNGP?
NNGP is the prior: at infinite width, at initialization is a Gaussian process with kernel . NTK is the gradient-descent-trained posterior: a Gaussian process with kernel . NNGP gives the Bayesian view, NTK gives the GD-trained view, both at infinite width.
Why does the NTK regime kill feature learning?
In the lazy regime, weights barely change during training. The features (intermediate activations) stay essentially fixed at their initialization values; the network learns a linear function in this fixed feature space. Real deep learning gets much of its power from learned features, so NTK theory describes a degenerate limit, not the practical regime.
What is P and why does it matter?
Maximal update parameterization (Yang and Hu 2021): a different scaling of weights, learning rates, and biases that keeps feature learning ON at infinite width. Practical payoff, observed in experiments (Yang et al. 2022): hyperparameters such as the learning rate and initialization scale, tuned at small width, transfer to large width, so the sweep runs on the small model. The first proof (Hayou 2025) covers only the learning rate of linear networks.
Can NTK theory predict real deep learning?
Partially. NTK eigenvalue-decay rates predict the order in which functions are learned (low-frequency first), and NTK regression bounds give generalization rates that match practice in the lazy regime. Outside the lazy regime, where real networks live, NTK theory breaks down. The gap is what motivates P and feature-learning theory.

References

Canonical (NTK):

  • Jacot, Gabriel, Hongler, "Neural Tangent Kernel: Convergence and Generalization in Neural Networks" (NeurIPS 2018, arXiv:1806.07572), Sections 2-3, Prop. 2, Cor. 2
  • Lee et al., "Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descent" (NeurIPS 2019, arXiv:1902.06720), Sections 2-4, Thm. 2.2
  • Arora et al., "On Exact Computation with an Infinitely Wide Neural Net", Sections 3 and 6 (NeurIPS 2019, arXiv:1904.11955), Thm. 3.1, Cor. 6.2
  • Du et al., "Gradient Descent Finds Global Minima of Deep Neural Networks" (ICML 2019, arXiv:1811.03804)
  • Allen-Zhu, Li, Song, "A Convergence Theory for Deep Learning via Over-Parameterization" (ICML 2019, arXiv:1811.03962)
  • Cho, Saul, "Kernel Methods for Deep Learning" (NeurIPS 2009), Sections 2-3. Closed-form arccosine kernels κ0,κ1\kappa_0, \kappa_1 used in the two-layer ReLU NTK derivation.
  • Lee et al., "Deep Neural Networks as Gaussian Processes" (ICLR 2018, arXiv:1711.00165). The NNGP kernel that the NTK recursion builds on.

Mean-field primary sources:

  • Mei, Montanari, Nguyen, "A Mean Field View of the Landscape of Two-Layer Neural Networks" (PNAS 2018, arXiv:1804.06561)
  • Rotskoff, Vanden-Eijnden, "Parameters as Interacting Particles: Long Time Convergence and Asymptotic Error Scaling of Neural Networks" (arXiv:1805.00915)
  • Chizat, Bach, "On the Global Convergence of Gradient Descent for Over-parameterized Models using Optimal Transport" (NeurIPS 2018, arXiv:1805.09545)

Lazy vs. rich and muP:

  • Chizat, Oyallon, Bach, "On Lazy Training in Differentiable Programming" (NeurIPS 2019, arXiv:1812.07956)
  • Yang, "Wide Feedforward or Recurrent Neural Networks of Any Architecture are Gaussian Processes" (NeurIPS 2019, arXiv:1910.12478). Tensor Programs II.
  • Yang, Hu, "Tensor Programs IV: Feature Learning in Infinite-Width Neural Networks" (ICML 2021, arXiv:2011.14522). Classification of parameterizations into NTK / mean-field / μP.
  • Yang et al., "Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer" (NeurIPS 2021, arXiv:2203.03466). μP parameterization and hyperparameter transfer across widths, verified experimentally on Transformers and ResNets.
  • Hayou, "A Proof of Learning Rate Transfer under μP" (arXiv:2511.01734, 2025), Sections 2-4. Learning-rate transfer with width for linear MLPs under μP, and its failure under standard and NTK parameterizations.
  • Dey et al., "Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Cluster" (arXiv:2304.03208, 2023), Sections 2.4 and 3.3. μP models from 111M to 2.7B parameters trained with hyperparameters tuned on a 40M-parameter proxy.
  • Fort et al., "Deep Learning versus Kernel Learning: an Empirical Study of Loss Landscape Geometry and the Time Evolution of the Neural Tangent Kernel" (NeurIPS 2020, arXiv:2010.15110). Empirical NTK drift at finite width and its correlation with feature learning.

NTK spectrum and generalization:

  • Bordelon, Canatar, Pehlevan, "Spectrum Dependent Learning Curves in Kernel Regression and Wide Neural Networks" (ICML 2020, arXiv:2002.02561). Eigenvalue-decay rate as the determinant of NTK generalization.
  • Cui, Loureiro, Krzakala, "Generalization Error Rates in Kernel Regression: The Crossover from the Noiseless to Noisy Regime" (NeurIPS 2021, arXiv:2105.15004).
  • Caponnetto, De Vito, "Optimal Rates for the Regularized Least-Squares Algorithm" (Foundations of Computational Mathematics, 2007). The classical kernel-ridge rate that the NTK specialization inherits.
  • Hu, Lu, Bauer, "Regularization Matters: A Nonparametric Perspective on Overparametrized Neural Network" (Annals of Statistics, 2021). Explicit ridge equivalence proof.
  • Rahaman et al., "On the Spectral Bias of Neural Networks" (ICML 2019, arXiv:1806.08734).

NNGP and Bayesian deep learning:

  • Neal, "Priors for Infinite Networks", Chapter 2 (Tech Report 1994; expanded in Bayesian Learning for Neural Networks, Springer 1996).
  • Lee et al., "Deep Neural Networks as Gaussian Processes" (ICLR 2018, arXiv:1711.00165).
  • Hron, Bahri, Sohl-Dickstein, Novak, "Infinite Attention: NNGP and NTK for Deep Attention Networks" (ICML 2020, arXiv:2006.10540). NNGP and NTK for transformer architectures.

Next Topics

Last reviewed: July 3, 2026

Cite this page

Sneiderman, Robby. "Neural Tangent Kernel: Lazy Training, Kernel Equivalence, μP, and the Limits of Width." TheoremPath, reviewed 2026-07-03. https://theorempath.com/topics/neural-tangent-kernel

Canonical URL
https://theorempath.com/topics/neural-tangent-kernel
Author
Robby Sneiderman, TheoremPath
Last reviewed
2026-07-03
What this is
A reference page on TheoremPath. Written and maintained by the named author. Not peer reviewed and not refereed by any venue. Each claim below carries its own verification status.
Terms
All rights reserved. Non-commercial quotation with attribution permitted.

Citing one claim

5 statements on this page are separately addressable. Each carries an identifier of the form claim:<topic>::<statement> printed beside it, and resolves to that identifier's anchor on this URL. Quote the statement, its assumptions, and its failure modes together.

Recorded verification on this page: 5 informal_only.

  • This page is a secondary source. Where a claim cites literature, the result is due to that source and not to this site.
  • 5 of 5 claims on this page name no source. Their attribution to the literature is not recorded here, whatever their verification status says.
  • 5 of 5 carry neither a source nor a proof check. Their provenance is the author's reading of the literature; check them against a primary source before relying on them.
  • Statements are given in LaTeX exactly as authored. The rendered page passes the same LaTeX through KaTeX, so text scraped from the HTML repeats expressions and drops radicals; quote from statementTex.

/claims.json lists 1,178 of the 1,231 statements this site records, with the anchor and the recorded verification of each. What earns a place in it: a theorem, lemma, corollary, or proposition block on a published topic page. Definitions are not listed, and neither are the 27 statements on comparison pages. A missing entry means the rule above did not select the statement, not that this site is silent on the result.

Canonical graph

Required before and derived from this topic

These links come from prerequisite edges in the curriculum graph. Editorial suggestions are shown here only when the target page also cites this page as a prerequisite.

Required prerequisites

6

Derived topics

5