Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Very wide networks barely change
Imagine a choir of ten thousand singers, each told to adjust their pitch slightly to make the chord right. No singer moves much, but together they can shape the sound precisely. Very wide neural networks train like that: every weight shifts a tiny amount, so the network behaves almost like a fixed set of features with only the final mixing changing. That makes it mathematically equivalent to a kernel method, using a special kernel called the neural tangent kernel.
The NTK gives one of the few exact theories of deep-network training: when training converges, how fast, and what function it learns. It also explains why wide networks are easy to optimize. Its limits explain what makes real networks powerful: they learn features, which the NTK (by construction) does not.
- 1. In very wide networks, each weight moves…
- 2. A very wide network trains like…
- 3. What does the NTK picture leave out?
Level 1: Beginner
★★☆☆☆ Basic⏱ 25 minSecondary-school mathematics: arithmetic and elementary algebra.The tangent kernel
For a network , define
Under gradient flow on , the predictions evolve as
so the NTK is exactly the kernel that couples the training points’ errors to the prediction at x.
NTK parameterization
Write a layer as with . Then at width n → ∞:
- f at initialization is a Gaussian process.
- at initialization converges to a deterministic .
- stays constant during training.
- 1. Θ(x, x′) is the inner product of…
- 2. Under gradient flow, df(x)/dt = …
- 3. At infinite width, the NTK during training…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.Two-layer ReLU NTK in closed form
For with u = (x, 1) and Gaussian , the gradient with respect to gives , and with respect to gives . Averaging over j (law of large numbers):
where θ is the angle between u and u′ (the arc-cosine kernels of Cho and Saul).
Training = kernel regression
If Θ is constant, the ODE above is linear. With squared loss the training residual decays as , and the final predictor is
kernel regression with the NTK plus the initial function. Convergence speed is set by , and stability needs a step size below .
- 1. κ₀(θ) = (π − θ)/(2π) at θ = π/2:
- 2. In the NTK regime, the training residual decays as…
- 3. Training convergence speed is controlled by…
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Why the kernel freezes (sketch)
In NTK parameterization each weight’s gradient is O(1/√n). Training to fit O(1) targets needs only in total, so each individual weight moves O(1/√n). The NTK depends on the weights through averages over n units, so it changes by O(1/√n) too. In the limit, exactly: the linearized model. Chizat, Oyallon and Bach (2019) show the same “lazy” behaviour for any model scaled so the output moves much faster than the weights.
Gaussian process at initialization
For a fixed input, the output is a normalized sum of n i.i.d. terms, so it is Gaussian by the CLT, with covariance (the NNGP kernel). Deep networks give a layer-by-layer recursion for both the NNGP kernel and the NTK.
What the NTK misses
A frozen kernel means no feature learning: the representation never adapts to the data. NTK predictors often underperform trained finite networks (for example on images), and cannot learn tasks like sparse parities efficiently. Real networks live between the lazy regime and the feature-learning (mean-field or μP) regime of the next topic.
- 1. Each weight's movement in NTK parameterization scales as…
- 2. At initialization, an infinitely wide network is…
- 3. The main limitation of the NTK regime is…
Level 4: Expert
★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.The NTK, measured
Exercise 1. The Jacobian matches finite differences, and the analytic NTK is a valid PSD kernel. The relative Frobenius distance between the empirical and analytic NTK on 9 inputs is 0.419, 0.183, 0.037 and 0.016 for widths 10, 100, 1000 and 10 000: roughly 1/√n, about 3× per decade of width.
Exercise 2: lazy training (8 points, sin 2x, 1000 GD steps at η = 1/λ_max(Θ₀)):
| width | weight change | NTK change | max gap net vs linearized | train residual |
|---|---|---|---|---|
| 50 | 0.526 | 0.867 | 0.655 | 0.071 |
| 200 | 0.196 | 0.091 | 0.345 | 0.026 |
| 800 | 0.089 | 0.021 | 0.245 | 0.029 |
| 3200 | 0.051 | 0.018 | 0.194 | 0.029 |
The weight change follows about 1/√n (×10 for ×64 width), and the kernel essentially freezes. The trained network approaches its linearization but slowly: the largest gaps sit outside the data range, where small kernel changes are amplified.
The NTK in AI, robotics and aerospace
- Trainability diagnostics: the NTK’s condition number predicts how fast a network trains, and which initialization or normalization helps.
- Uncertainty: NNGP/NTK Gaussian processes give principled uncertainty for wide networks used in control.
- Data selection and influence: NTK-based scores estimate how much each training example affects predictions.
- Limits: for perception from raw sensors, feature learning beyond the NTK matters. Don’t mistake the lazy regime for the whole story.
References
- A. Jacot, F. Gabriel, C. Hongler (2018). “Neural tangent kernel: convergence and generalization in neural networks.” NeurIPS.
- J. Lee, L. Xiao, S. Schoenholz, Y. Bahri, R. Novak, J. Sohl-Dickstein, J. Pennington (2019). “Wide neural networks of any depth evolve as linear models under gradient descent.” NeurIPS.
- R. M. Neal (1996). Bayesian Learning for Neural Networks. Springer.
- Y. Cho, L. K. Saul (2009). “Kernel methods for deep learning.” NeurIPS.
- L. Chizat, E. Oyallon, F. Bach (2019). “On lazy training in differentiable programming.” NeurIPS.
- S. Arora, S. S. Du, W. Hu, Z. Li, R. Salakhutdinov, R. Wang (2019). “On exact computation with an infinitely wide neural net.” NeurIPS.