Before you move a control in the demo, say what you expect to change.
Foundation reference
Neural Tangent Kernel & Infinite-Width Limits
The neural tangent kernel is the inner product of a network's parameter gradients at two inputs. In the infinite-width limit under the NTK parameterization, it stays fixed during training. With squared loss and gradient-flow training, the network then follows linear dynamics that can be solved in closed form; as training time grows, it converges to kernel regression with this kernel, plus a term from the function at initialization.
Study guide
Where to start
How do training trajectories in function space differ between the NTK regime, where the kernel stays fixed, and feature learning, where the kernel itself changes?
How to study this pagePredict · Check · Generalize · Continue
Compare what the demo shows with the key equation and with the papers cited below.
Identify the part of the idea that survives a change of notation or model, so you can recognize it in another paper or system.
The newer notebook covers the same concept and has an interactive demo.
Why It Matters for Modern Models
- The neural tangent kernel is the inner product of a network's parameter gradients at two inputs. In the infinite-width limit under the NTK parameterization, it stays fixed during training. With squared loss and gradient-flow training, the network then follows linear dynamics that can be solved in closed form; as training time grows, it converges to kernel regression with this kernel, plus a term from the function at initialization.
- It is also a reference point for what real networks do differently: in this "lazy" regime the features barely move, and Chizat et al. (2019) found that convolutional networks forced to train this way performed worse on image tasks, which suggests that their success depends on features changing during training.
Interactive Demo
Core Math
If you prefer intuition first, try the demo above, then come back for the math.
Define a scalar-output network with parameters . The neural tangent kernel (NTK) is:
In the infinite-width limit (with the NTK parameterization), this kernel is deterministic at initialization and stays constant during training. Gradient-flow training then becomes:
For squared loss this is a linear ODE in function space; as training time grows, the network converges to the kernel-regression solution with kernel , plus a correction from the function at initialization (Jacot et al., 2018).