NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Limitations of the NTK for Understanding Generalization in Deep Learning

Nikhil Vyas, Yamini Bansal, Preetum Nakkiran

TL;DR

This paper demonstrates that the Neural Tangent Kernel (NTK)—a popular theoretical tool for analyzing deep learning—fails to capture the superior data-scaling behavior of real, finite-width neural networks. Through extensive experiments, the authors show that real networks learn features that lead to significantly better scaling exponents than their NTK counterparts, and that the kernel itself evolves continuously throughout training rather than stabilizing early on.

What Problem Does This Paper Address?

Deep learning theory often relies on the Neural Tangent Kernel (NTK), which describes neural networks in the limit of infinite width. In this limit, networks behave like linear models with a fixed kernel, making them mathematically tractable. However, a persistent question remains: how much does this "kernel regime" actually tell us about the success of practical, finite-width networks?

The authors tackle this by looking through the lens of scaling laws—the power-law relationship between a model's performance and the amount of training data or time. If the NTK is a good proxy for real networks, their scaling exponents (the rate at which they improve with more data) should match. This paper probes whether that assumption holds up in realistic settings.

Methods

The researchers compared three primary objects:

  1. Neural Networks (NN): Standard finite-width convolutional networks.
  2. Infinite NTK: The theoretical limit as width goes to infinity.
  3. Empirical NTK (ENTK): The kernel defined by the gradients of a finite-width network at initialization.

They also studied the "after-kernel"—the empirical NTK extracted from a network after it has been trained on a certain number of samples—to see if "pre-training" the kernel helps it match the neural network's scaling.

Crucially, they used NTK parameterization for all models to ensure they would all converge to the same limit at infinite width, making any observed differences a direct result of finite-width effects and feature learning.

Datasets

The study focused on large-scale binary classification tasks to make kernel computations feasible while remaining "realistic":

  • CIFAR-5m-bin: A 2-class subset (dog vs. horse) of the CIFAR-5m dataset, which contains millions of synthetic but realistic $32 \times 32$ images.
  • SVHN-parity: A binary task on the Street View House Numbers dataset, where the goal is to classify digits as even or odd.
  • Synthetic Dataset: A controlled environment used to explore the effects of extremely low learning rates.

Key Insights and Ideas

  • The Scaling Gap: Real neural networks consistently exhibit better data-scaling exponents than both infinite and empirical NTKs. This means that as you add more data, the neural network's error drops much faster than the kernel's error.
  • The Width Paradox: While theory suggests infinite width is the "ideal" limit, the authors found that increasing width to very large values can actually hurt generalization, as the network's performance deteriorates toward the (worse) infinite NTK limit. There is an "intermediate" optimal width for real-world performance.
  • Continuous Kernel Evolution: Contrary to prior work suggesting the NTK stabilizes after a few epochs, this paper shows the empirical NTK continues to improve at a constant rate (on a log-log scale) throughout most of the training process.
  • Feature Learning is Essential: Even an "after-kernel" trained on many samples fails to match the scaling exponent of the original network. This suggests that the dynamic process of feature learning in neural networks is fundamentally different from just using a "better" fixed kernel.
Summary of results showing (A) NN scales better than NTK, (B) After-kernels improve with more samples, and (C) ENTK improves uniformly over time.

Key Results

  • Data Scaling: On CIFAR-5m-bin, the neural network achieved a scaling exponent ($\beta$) of 0.307, significantly outperforming the infinite NTK (0.213) and the empirical NTK at initialization (0.185).
  • Hyperparameter Robustness: These gaps persisted across various learning rates, batch sizes, and optimization methods (SGD vs. GD). For instance, even with a 10x lower learning rate, the NN scaling constant remained superior to the NTK.
  • Width Effects: As shown in Figure 2, while the Empirical NTK's performance improves monotonically with width, the Neural Network's performance initially improves and then starts to deteriorate as it approaches the infinite NTK limit from below.
Effect of width: NN performance deteriorates toward the infinite NTK limit at very large widths.

Limitations and Future Work

The authors acknowledge several limitations:

  • Task Scope: The experiments were restricted to binary classification to keep kernel matrices manageable. Scaling these findings to multi-class problems like full ImageNet remains a challenge.
  • Theoretical Gap: While the paper identifies that a gap exists, it doesn't fully explain the mechanism. A key future question is: how can we theoretically understand the behavior of overparameterized networks in the regime where width is much smaller than the training set size?
  • Learning Rate Dynamics: The role of high learning rates in facilitating feature learning is noted but requires more formal investigation, particularly for natural datasets.

Overall, the work serves as a cautionary tale for researchers: while the NTK is a powerful analytical tool, it may be blind to the very mechanisms that make deep learning so effective in practice.

Summary updated

BibTeX
@article{vyas2023limitations,
  author = {Nikhil Vyas and Yamini Bansal and Preetum Nakkiran},
  title = {{Limitations of the NTK for Understanding Generalization in Deep Learning}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=Y3saBb7mCE},
}
Figure