Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Neural Tangent Kernel: Convergence and Generalization in Neural Networks

Neural tangent kernel describes how wide networks learn during training

  • Problem Training a neural network means minimizing a non-convex cost over its parameters, so it was unclear where training converges and why networks generalize. The training dynamics of deep networks had remained an open problem.
  • Method The Neural Tangent Kernel tracks the network function itself instead of its parameters. Gradient descent moves the function along a kernel that stays nearly constant as the width grows, so training can be studied in function space.
  • Results The authors prove the limiting kernel is positive definite on data supported on the unit sphere for non-polynomial nonlinearities. This links training convergence to the kernel's positive definiteness.

Why parameter-space training is hard to analyze

Training an ANN means minimizing a cost over its parameters, and that cost surface is highly non-convex. The loss surface has many saddle points, which can slow convergence. Results on wide networks suggest few bad local minima, yet it is not known what the optimization converges to. Even a convex functional cost becomes non-convex once it is composed with the network's parameter map.

Generalization adds a second puzzle, because over-parametrized networks can fit random labels and still generalize on real data. The authors note that kernel methods share this behavior. Before this work, the training dynamics of deep networks had remained an open problem.

A kernel that describes training

The key idea is to track the network function itself rather than its parameters, and to ask which kernel drives its motion. This kernel is the Neural Tangent Kernel, built from the derivatives of the network function with respect to each parameter. At random initialization the NTK is random and it varies during training. With infinitely wide hidden layers, it converges to an explicit deterministic kernel that stays constant during training.

To see why such a kernel should govern training, the authors first build a toy model in which a kernel is approximated by P random functions combined linearly in the parameters. Gradient descent on this linear model moves the function exactly as kernel gradient descent does, with a tangent kernel that averages products of those random functions.

As P grows, the law of large numbers makes this tangent kernel converge to a fixed kernel.

A real ANN differs because its realization function is not linear, so its NTK depends on the parameters. That dependence makes the convergence analysis harder, so the authors ask whether it disappears as the width grows. Because the limiting NTK is constant, the training dynamics of the network function can be written in function space.

What happens at initialization and during training

The network function fθ is built from preactivations that scale the weight product by one over the square root of the layer width. The bias term enters with the parameter beta, which is set to 0.1 in the numerical experiments. The parameters start as iid Gaussians N(0, 1), and the factors 1/√n are what give a consistent asymptotic behavior as the hidden widths grow.

Without these factors, the connection weights would lose much of their influence on training when the layer width is large.

At initialization, each output function fθ,k becomes an iid centered Gaussian process as the widths n1 to nL−1 go to infinity. Its covariance Σ(L) is built recursively from the nonlinearity, starting from the scaled inner product of the inputs plus beta squared. The authors state that Gaussian process behavior of wide networks is a known result, which they restate for their setup.

The NTK is random at initialization and changes during training, which makes the convergence of fθ harder to analyze. In the infinite-width limit, the NTK converges in probability to a deterministic limiting kernel Θ(L)∞ ⊗ Idn_L. The scalar limiting kernel Θ(L)∞ follows the recursion Θ(L+1)∞ = Θ(L)∞ Σ̇(L+1) + Σ(L+1), where Σ̇ is an expectation of derivative products.

The second summand Σ(L+1) is the learning done by the last layer, while the first summand is the learning done by the lower layers.

During training, the network function follows kernel gradient descent with respect to the NTK, so the cost decreases along the trajectory. Once the NTK is constant, the dynamics of fθ are described by a differential equation driven only by the limiting kernel and the training direction dt. The NTK stays asymptotically constant during training under the assumption that the integral of the training direction stays stochastically bounded as the width grows.

Least-squares regression satisfies this assumption, because the norm of the training direction decreases during training. Each hidden activation changes less as its width grows, yet the collective change is large enough for the lower layers to learn.

When training converges to a critical point

Kernel gradient descent converges to a critical point when the kernel is positive definite with respect to the pin-norm. The cost strictly decreases along the trajectory except at points where the norm of the dual direction is zero. So the open question is whether the limiting NTK is positive definite under the conditions of the paper. The authors don't prove positive definiteness in general; they postulate that the span of last-layer preactivations becomes dense in F as the width grows.

They point to classical approximation theorems for neural networks as support for this postulate, for a large family of measures and nonlinearities.

For data supported on a sphere, the authors give a proof instead, using Gaussian integration techniques and existing positive-definiteness criteria. The result in Proposition 2 covers any non-polynomial Lipschitz nonlinearity and any input dimension n0. The restriction of the limiting NTK to the unit sphere is positive definite when the depth L is at least 2.

The proof of this proposition sits in Appendix A.4.

Positive definiteness matters for the next step because it links the convergence of training to the cost function. For least-squares regression, the norm of the training direction decreases during training, so Theorems 1 and 2 apply.

Least-squares regression as a linear ODE

For a least-squares cost, the training direction is the norm-decreasing residual between the goal function and the current network function. Because the norm of the training direction shrinks during training, the integral stays bounded and Theorems 1 and 2 apply. Here e^{-tPi} is the exponential of -tPi, defined as a power series in Pi. For a finite dataset of size N, the operator Pi takes an explicit sum form over the data points and output coordinates.

Pi has at most N n_L positive eigenfunctions, and they are the kernel principal components of the data with respect to K.

Decomposing the initial error f* - f_0 along the eigenspaces of Pi gives a trajectory with one exponential term per eigenvalue. Each component decays as e^{-t lambda_i}, so the components with larger eigenvalues converge faster. The component in the kernel null-space of Pi never changes during training. This decomposition is the authors' motivation for early stopping, which focuses fitting on the leading kernel principal components.

Lower-eigenvalue directions are typically the noisier ones, for example high-frequency functions for an RBF kernel.

When the kernel is positive definite on the data, the Gram matrix is invertible and the limit as t goes to infinity is explicit. The limit f_infinity has a mean term that is the maximum-a-posteriori estimate under a Gaussian prior with covariance Theta_infinity. That mean term equals kernel ridge regression as the regularization goes to zero.

The numerical experiments in Section 6 use fully connected ANNs with ReLU nonlinearity and widths compared against the infinite-width limit. The authors fix the input elements on the unit circle for the first two experiments, with n_0 equal to 2. They set n_L to 1 and beta to 0.1, which is the setting these experiments use.

NTK convergence and inflation across widths

They compared hidden widths 500 and 10000, with 10 independent initializations for each width. The kernels were plotted at initialization and again after 200 steps of gradient descent with learning rate 1.0. Each network had a single output, because the authors took nL = 1 in all experiments.

For the wider network, the NTK showed less variance and was smoother than for the narrower one. Its expectation stayed very close to that of the narrow network, so width changed the spread more than the average. After 200 steps the NTK inflated for width 500, a drift that the authors tied to the learning dynamics. For width 10000 the NTK stayed almost fixed, which fits the picture of a fixed limit kernel that wide networks approach.

The same limit kernel underlies the later comparison of finite networks with the Gaussian limit, at widths 50 and 1000. Even at width 50, the authors found that the NTK gave a good indication of the distribution of the network function.

Finite networks versus the Gaussian limit

The authors checked whether finite networks reach the predicted limit distribution after long training, using the function values at a large time. They trained networks of widths 50 and 1000, with 10 random initializations each, on a least-squares cost over 4 points of the unit circle. Each network trained for 1000 steps with learning rate 1.0, and the authors plotted the results in Figure 2.

They compared these outputs against the theoretical Gaussian distribution as time goes to infinity, evaluated at T = 1000.

The limit came from a large-width network with n = 10000, which gave the kernels Θ(4) and Σ(4). The authors used these kernels to compute the 10th, 50th and 90th percentiles of the limiting Gaussian distribution. The network function distributions were very similar for both widths, and their means and variances were close to the limit. Even at the small width n = 50, the NTK gave a good indication of the distribution of fθ(t) as t goes to infinity.

This experiment checks the finite-width behavior at one time horizon, T = 1000, so it doesn't show the whole training path. Next, the authors move to MNIST, where they compute the first 3 principal components of a batch of N = 512 digits. They use the NTK of a width 10000 network and a power iteration method, with eigenvalues λ1 = 0.0457, λ2 = 0.00108 and λ3 = 0.00078.

Kernel principal components on MNIST

The authors computed the NTK's spectrum on real images by using a batch of 512 MNIST digits, each with an input dimension of 784. They used a power iteration method to obtain these components.

The eigenvalues are λ1 = 0.0457, λ2 = 0.00108 and λ3 = 0.00078. The first eigenvalue is much larger than the second, so the first component dominates the spectrum. Because the kernel PCA is non-centered, the first component is almost equal to the constant function. That constant component explains the large gap between the first and second eigenvalues, as the paper notes in footnote 3.

The next two components are more informative, and the authors plot the batch with the 2nd and 3rd components as x and y coordinates. This plot in Figure 3a shows the structure of the batch along these two directions. The authors tie this spectral view back to Section 5, where kernel gradient descent was shown to follow the kernel principal components.

Testing a straight-line trajectory

The authors set the regression goal to f* equal to fθ(0) plus 0.5 f(2), so the initial error lies along the second principal component. At each time step, they split the difference fθ(t) minus f* into a part g_t along f(2) and an orthogonal part h_t. In the infinite-width limit, g_t decays as 0.5 e^{-λ2 t} and h_t is zero, so the function moves along a straight line.

An initial difference proportional to a principal component should converge along a straight line at an exponential rate e^{-λi t}.

They trained networks of widths 100, 1000 and 10000, with two independent trials per width. Figure 3b plots the deviation ||h_t|| from the straight line over time t, up to 4000. Figure 3c shows that the trajectory along the second principal component approaches the theoretical limit as width grows.

The authors call it a surprising observation that smaller networks converge faster than wider ones. They suggest this may come from the NTK inflation they saw in the first experiment. The authors advise comparing convergence speed in time t rather than in number of steps, because both inflation and learning rate matter.

Limitations and open questions

The positive-definiteness result only covers data supported on the unit sphere with a non-polynomial nonlinearity. For other data distributions, the authors only postulate that the span of the last layer's preactivations becomes dense. They don't prove that density, so convergence for general data stays open in this sense. Convergence also depends on the integral of the training direction staying stochastically bounded.

The least-squares case satisfies this condition, but other training directions, such as those in Generative Adversarial Networks, are not covered by the same argument.

The numerical experiments are narrow in scope. The first two experiments use input dimension n0 equal to 2 on the unit circle with the ReLU nonlinearity. The convergence test of the NTK uses depth L equal to 4 and widths n equal to 500 and 10000, with f* equal to x1x2. The regression test runs to T equal to 1000 on 4 points of the unit circle.

The MNIST spectrum uses only a batch of N equal to 512 digits.

The authors observed that beta equal to 1.0 instead of 0.1 makes the gap between the first and second principal components about ten times bigger. That larger gap makes training harder, so the chosen beta and learning rate shape how fast convergence appears. The authors used a learning rate of 1.0 with beta equal to 0.1, which they describe as larger than usual.

Paper info

Authors
Arthur Jacot, Franck Gabriel, Clément Hongler
Venue
arXiv · Preprint
First published
2018-6-20
Added
2026-10-20
Updated
2020-2-10
Version
v4
arXiv
1806.07572
Category
cs.LG · cs.NE · math.PR · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Arthur Jacot, Franck Gabriel, Clément Hongler (2018). Neural Tangent Kernel: Convergence and Generalization in Neural Networks. arXiv:1806.07572v4. https://arxiv.org/abs/1806.07572v4

BibTeX
@misc{jacot2018neural,
  title = {{Neural Tangent Kernel: Convergence and Generalization in Neural Networks}},
  author = {Arthur Jacot and Franck Gabriel and Clément Hongler},
  year = {2018},
  eprint = {1806.07572},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.07572v4}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up