Bring the mental model from Overparameterization & Generalization (Double Descent); this page will reuse it instead of restarting from zero.
Neural Tangent Kernel (NTK) & Infinite-Width Limits
A limit where wide neural networks behave like kernel methods: the model linearizes around initialization and training becomes kernel regression.
01
Intuition
Build the mental picture first so the rest of the page has something to attach to.
Neural networks can learn features: the representation changes during training.
The NTK perspective asks a different question:
What if the network is so wide that, during training, it barely moves in parameter space?
If parameters move only a little, the network behaves like its own first-order Taylor expansion around initialization. In that regime, training can often be analyzed as linearized dynamics rather than nonlinear feature learning. It becomes a kernel method in disguise, where the "features" are the gradients of the network output with respect to its parameters.
This is useful because kernel methods are mathematically tractable: you can often predict learning dynamics, and in some studied settings reason about generalization-related behavior, without simulating full training.
Copy-only prompts — each action copies a page-grounded prompt to your clipboard. Nothing is sent by this site.
02
Math
Translate the story into symbols, assumptions, and a derivation you can inspect.
Let fθ(x) be a network and θ its parameters. The neural tangent kernel is:
Consider gradient flow on a squared loss over training points (xi,yi), with L(θ)=21∑i(fθ(xi)−yi)2.
In the infinite-width NTK limit for the standard parameterizations studied in this literature, Θ becomes deterministic and stays approximately constant during training. The function evolves according to:
which is a linear ODE in function space. The solution corresponds to kernel regression with kernel Θ (with details depending on loss, step size, and regularization).
Copy-only prompts — each action copies a page-grounded prompt to your clipboard. Nothing is sent by this site.
03
Code
Keep the implementation aligned with the notation so the algorithm is legible.
import numpy as np
rs = np.random.RandomState(0)
m = 128 # "width"
w = rs.randn(m)
v = rs.randn(m)
def grad_f(x):
z = w * x
s = (z > 0).astype(float)
g_v = np.maximum(z, 0) / np.sqrt(m)
g_w = (v * s * x) / np.sqrt(m)
return np.concatenate([g_v, g_w])
def K(x, xp):
g1, g2 = grad_f(x), grad_f(xp)
return float(g1 @ g2)
xtr = np.linspace(-1, 1, 40)
ytr = np.sin(3 * xtr)
Ktr = np.array([[K(x, xp) for xp in xtr] for x in xtr])
lam = 1e-3
alpha = np.linalg.solve(Ktr + lam * np.eye(len(xtr)), ytr)
xte = np.linspace(-1, 1, 200)
Kte = np.array([[K(x, xp) for xp in xtr] for x in xte])
pred = Kte @ alpha
mse = np.mean((pred - np.sin(3 * xte)) ** 2)
print("test MSE:", round(float(mse), 4))
Copy-only prompts — each action copies a page-grounded prompt to your clipboard. Nothing is sent by this site.
04
Interactive Demo
Use direct manipulation to connect the explanation to a moving system.
Live Concept Demo
Explore Neural Tangent Kernel (NTK) & Infinite-Width Limits
The stage is code-native and interactive. Use it to test the explanation against the mechanism.
Manipulate one control and predict the visible change.
Choose what to inspect in Neural Tangent Kernel (NTK) & Infinite-Width Limits. This shared fallback is an observation guide, not evidence of learning.
Use the demo to compare:
- kernel-like learning dynamics (fixed features / linearized training),
- feature learning (representations change), and
- how width and fixed-feature assumptions push you toward one regime or the other.
Copy-only prompts — each action copies a page-grounded prompt to your clipboard. Nothing is sent by this site.
Concept: Neural Tangent Kernel (NTK) & Infinite-Width Limits
What is the smallest example that makes Neural Tangent Kernel (NTK) & Infinite-Width Limits click without losing the math?
Object contextScaling
concept:scaling/ntkNeural Tangent Kernel (NTK) & Infinite-Width Limits
What is the smallest example that makes Neural Tangent Kernel (NTK) & Infinite-Width Limits click without losing the math?
Start with the prediction checkpoint, then compare the reveal to the mental model.
Take this moveStudy modes
Keep the object fixed; change the lens.Route back through the notebook
Carry the same object through intuition, math, code, and demo.
A limit where wide neural networks behave like kernel methods: the model linearizes around initialization and training becomes kernel regression.
The next edge should feel earned: use the demo prediction here before following Scaling Laws & Emergent Abilities.
After The First Pass
Turn the concept into an inspected object.
The lower panels are one second act: keep the object fixed, inspect it visually, check source boundaries, practice transfer, then attach the research question.Mechanism Storyboard
See the idea move before the page explains it
A limit where wide neural networks behave like kernel methods: the model linearizes around initialization and training becomes kernel regression.

Start with the picture, metaphor, or geometric mechanism.
Before reading further, choose the kind of change Neural Tangent Kernel (NTK) & Infinite-Width Limits should make visible.
Visual Inquiry
Make the image answer a mathematical question
A limit where wide neural networks behave like kernel methods: the model linearizes around initialization and training becomes kernel regression.
Which visible object should carry the first intuition?
Pick the cue that should make Neural Tangent Kernel (NTK) & Infinite-Width Limits easier to reason about before the page gives the answer.
Source Grounding
Canonical references for the mechanism on this page.
What is the smallest example that makes Neural Tangent Kernel (NTK) & Infinite-Width Limits click without losing the math?
concept:scaling/ntksources: jacot-2018-ntk, lee-2019-wide-networks-linear
Open the closest source note before trusting the local explanation.
2 selected-object sources shown first; 2 references total.
Audit the claim boundary, then ask from the same selected object.
Introduces the neural tangent kernel as the infinite-width kernel governing gradient-descent dynamics.
Jacot et al. introduce the NTK as the parameter-gradient inner-product kernel governing infinite-width gradient-flow dynamics. Lee et al. support the near-initialization linearized-traini...
This does not certify finite-width feature learning, all architectures or parameterizations, all losses, all optimizers, or generalization guarantees. The checked claim is scoped to infin...
Grounds the linearized-training view of wide neural networks near initialization.
Jacot et al. introduce the NTK as the parameter-gradient inner-product kernel governing infinite-width gradient-flow dynamics. Lee et al. support the near-initialization linearized-traini...
This does not certify finite-width feature learning, all architectures or parameterizations, all losses, all optimizers, or generalization guarantees. The checked claim is scoped to infin...
Claim Review
A limit where wide neural networks behave like kernel methods: the model linearizes around initialization and training becomes kernel regression.
What is the smallest example that makes Neural Tangent Kernel (NTK) & Infinite-Width Limits click without losing the math?
concept:scaling/ntksources: jacot-2018-ntk, lee-2019-wide-networks-linear
Treat every claim as provisional until source support and a local witness agree.
1 structured claim check on this concept.
Run the prediction or practice transfer before asking for a grounded review.
Publisher-side editorial review is not independent replication. Claims without it still need exact source-support review. 2 references and 3 local witnesses are available for inspection.
Jacot et al. introduce the NTK as the parameter-gradient inner-product kernel governing infinite-width gradient-flow dynamics. Lee et al. support the near-initialization linearized-training view for sufficie...
This does not certify finite-width feature learning, all architectures or parameterizations, all losses, all optimizers, or generalization guarantees. The checked claim is scoped to infinite-width or explici...
Reviewed source TeX: Jacot et al. support the NTK as the parameter-gradient kernel whose infinite-width limit becomes deterministic/constant and governs least-squares gradient-flow dynamics as kernel gradient descent; Lee et al. support the first-order Taylor/linearized near-initialization view for sufficiently wide networks. Local math/code/demo instantiate the fixed-gradient kernel ODE only in this scoped regime.
Reviewer: codex; reviewed 2026-05-20Practice notebook
Use the idea, then test it somewhere new
A limit where wide neural networks behave like kernel methods: the model linearizes around initialization and training becomes kernel regression.
What is the smallest example that makes Neural Tangent Kernel (NTK) & Infinite-Width Limits click without losing the math?
concept:scaling/ntksources: jacot-2018-ntk, lee-2019-wide-networks-linear
Use one state from Neural Tangent Kernel (NTK) & Infinite-Width Limits to explain what changes, why it changes, and which assumption the explanation needs.
No learner move yet; no learning state is inferred.
Write first, use only the help you need, then try a new case without it.
Use one state from Neural Tangent Kernel (NTK) & Infinite-Width Limits to explain what changes, why it changes, and which assumption the explanation needs.
Reveal when your model needs a nudge.
Reveal when your model needs a nudge.
Reveal when your model needs a nudge.
Write an attempt before asking the companion.
0 of 3 progressive hints opened.
This draft and any AI response do not establish mastery; a later unassisted case can.
- ObjectConceptNeural Tangent Kernel (NTK) & Infinite-Width Limits
- PredictBefore revealNeural Tangent Kernel (NTK) & Infinite-Width Limits prediction
- WitnessCompare codeNeural Tangent Kernel (NTK) & Infinite-Width Limits code witness 1
- RoomAsk groundedChecking local snapshot
Research Room
Attach the question to an exact object
Pick the concept, equation, source, code witness, claim, misconception, or demo state before asking for help. The handoff stays grounded to that object.Open the draft below to save one note and next action in this browser.
Neural Tangent Kernel (NTK) & Infinite-Width Limits
What is the smallest example that makes Neural Tangent Kernel (NTK) & Infinite-Width Limits click without losing the math?
These are fixed, deterministic perspectives derived from the selected object. They do not represent people, community contributions, or independent review.
Source ids jacot-2018-ntk, lee-2019-wide-networks-linear must support the exact object, not just the surrounding topic.
Treat this as a mechanism object: connect the definition to one equation, code witness, or demo before broadening the discussion.
Ask the learner to perturb one representation, then check whether the same invariant survives in math, code, and demo.
The learner can state the mechanism in their own words
Local action draftNo local draft saved yetExpand only when ready to capture one local next action
This draft stays locally in this browser for concept:scaling/ntk.
- Source ids to inspect: jacot-2018-ntk, lee-2019-wide-networks-linear
- Definition, prerequisite, and contrast concept links
- The equation or code witness that makes the concept operational
- One demo state that shows the invariant instead of a slogan
- The learner can state the mechanism in their own words
- The learner can name the prerequisite that would repair confusion
- The learner can predict how the mechanism changes under one perturbation
I am working in Continuous Function's research reading room. Object: concept - Neural Tangent Kernel (NTK) & Infinite-Width Limits Object key: concept:scaling/ntk Context: Scaling Anchor id: concept/concept-notebook/scaling/ntk Open question: What is the smallest example that makes Neural Tangent Kernel (NTK) & Infinite-Width Limits click without losing the math? Evidence to inspect: - Source ids to inspect: jacot-2018-ntk, lee-2019-wide-networks-linear - Definition, prerequisite, and contrast concept links - The equation or code witness that makes the concept operational - One demo state that shows the invariant instead of a slogan Deterministic role lenses for this object: - Boundary: fixed perspectives, not people, community contributions, or independent review - Source-checking summary: Treat this as a mechanism object: connect the definition to one equation, code witness, or demo before broadening the discussion. - Proposed experiment: Ask the learner to perturb one representation, then check whether the same invariant survives in math, code, and demo. - Teach/transfer move: Turn the mechanism into one sentence that predicts a neighboring concept. - Assumptions: - Source ids jacot-2018-ntk, lee-2019-wide-networks-linear must support the exact object, not just the surrounding topic. - The stable content-object key lets local drafts, prompts, and route memory attach without changing the source page. - The concept explanation is local atlas prose until checked against its math, code, and source support. - Prerequisite gaps should become a repair route, not a reason to leave the object vague. - Role-lens requests: - Learner: ask for "Ask what would make "Neural Tangent Kernel (NTK) & Infinite-Width Limits" feel predictable rather than familiar." | assumption: Source ids jacot-2018-ntk, lee-2019-wide-networks-linear must support the exact object, not just the surrounding topic. | next action: The learner can state the mechanism in their own words - Researcher: ask for "Source ids to inspect: jacot-2018-ntk, lee-2019-wide-networks-linear" | assumption: The stable content-object key lets local drafts, prompts, and route memory attach without changing the source page. | next action: The learner can name the prerequisite that would repair confusion - Experimenter: ask for "Choose one variable or condition to perturb before asking for an explanation." | assumption: The concept explanation is local atlas prose until checked against its math, code, and source support. | next action: The learner can predict how the mechanism changes under one perturbation - Professor: ask for "Find the smallest transferable rule a learner could reuse without the AI." | assumption: Prerequisite gaps should become a repair route, not a reason to leave the object vague. | next action: Teach or transfer: Turn the mechanism into one sentence that predicts a neighboring concept. What would resolve this: - The learner can state the mechanism in their own words - The learner can name the prerequisite that would repair confusion - The learner can predict how the mechanism changes under one perturbation Answer as a careful research tutor: stay source-grounded, separate verified evidence from assumptions, name the relevant math objects, and end with one next action. Current deterministic role lens for this object: - Role lens: Learner - Evidence request: Ask what would make "Neural Tangent Kernel (NTK) & Infinite-Width Limits" feel predictable rather than familiar. - Assumption to keep visible: Source ids jacot-2018-ntk, lee-2019-wide-networks-linear must support the exact object, not just the surrounding topic. - Proposed experiment: Ask the learner to perturb one representation, then check whether the same invariant survives in math, code, and demo. - Next action: The learner can state the mechanism in their own words
concept/concept-notebook/scaling/ntk
concept:scaling/ntk