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

Analyzing Finite Neural Networks: Can We Trust Neural Tangent Kernel Theory?

Mariia Seleznova, Gitta Kutyniok

Abstract: Neural Tangent Kernel (NTK) theory is widely used to study the dynamics of infinitely-wide deep neural networks (DNNs) under gradient descent. But do the results for infinitely-wide networks give us a reliable picture of real-world, finite-width networks? This paper investigates the limits of NTK theory, demonstrating that its validity depends heavily on the relationship between a network's depth, width, and initialization hyperparameters, particularly in the chaotic regime where gradients explode.

Introduction

Deep Learning has long been criticized as a "black box." Neural Tangent Kernel (NTK) theory was a major breakthrough because it suggested that as neural networks get infinitely wide, their training dynamics simplify into a well-understood process called kernel regression. In this limit, the "kernel" (a matrix describing how inputs relate to one another) stays "frozen" throughout training.

However, real neural networks are finite. The gap between theoretical infinite-width models and practical finite-width ones is significant. If the kernel isn't actually frozen in practice, then the insights we gain from NTK theory—like how networks generalize or optimize—might be misleading. This paper seeks to map out exactly when the "frozen kernel" assumption holds and when it fails for finite-width ReLU and tanh/sigmoid networks.

Methodology

The authors combine empirical experiments with mean-field theory analysis. Their approach involves:

  • Empirical Simulation: Training fully-connected networks (MLPs) with varying depths ($L$), widths ($M$), and initialization variances for weights ($\sigma_w^2$) and biases ($\sigma_b^2$).
  • Variance Analysis: Measuring the variance of the NTK at initialization to see how "deterministic" it actually is.
  • Training Dynamics: Tracking the relative change of the NTK's Frobenius norm during gradient descent to see if the kernel actually stays "frozen."
  • Datasets: A subset of 128 samples from the MNIST dataset and normalized synthetic inputs were used to study training dynamics and isolate hyperparameter effects.

The Phase Transition of Trust

The validity of NTK theory is tied to the "Ordered" and "Chaotic" phases of initialization. In the Ordered Phase (vanishing gradients), the NTK is stable and deterministic, matching the theory. In the Chaotic Phase (exploding gradients), the NTK is highly random at the start and changes drastically during training, meaning the theory fails.

Figure 1: Heatmaps showing the relative change in the NTK norm during training for ReLU (top) and tanh (bottom) networks. The green dashed line marks the boundary between ordered and chaotic phases.

As illustrated in Figure 1, kernel stability is maintained in the ordered phase (left of the green line) but degrades significantly in the chaotic phase (right of the green line), especially as depth $L$ increases.

The $L/M$ Ratio and Kernel Variance

In the chaotic phase, the randomness of the kernel isn't just about width; it's about the ratio of depth to width. If a network is deep ($L$) relative to its width ($M$), the NTK variance grows exponentially, making infinite-width predictions useless.

Figure 2: Variance of the NTK at initialization. Row (a) shows variance vs depth L, while row (b) shows variance vs the ratio L/M. In the chaotic phase (right columns), the curves for different widths M collapse when plotted against L/M.

For ReLU networks in the chaotic phase ($\sigma_w^2 = 3$), the ratio of the NTK's second moment to its first moment squared grows exponentially with $L/M$ (Figure 2). In the ordered phase, this ratio stays near 1, indicating low variance.

Discussion of Results

The research highlights a "Feature Learning Trade-off." NTK theory describes a regime where no "feature learning" occurs because the kernel is fixed. Ironically, the regime where NTK theory is most accurate (the ordered phase) is also the regime where networks become untrainable most quickly as depth increases. For example, tanh networks with $L=20$ in the ordered phase failed to converge, while chaotic ones did.

Furthermore, initializing near the "Edge of Chaos" (EOC) allows NTK theory to provide a decent approximation of average behavior, but finite-width random effects are still significant enough that they shouldn't be ignored.

Conclusion

Because NTK theory fails to account for the significant kernel changes and randomness seen in deep, finite networks, a "new conceptual viewpoint" is required. Future research should focus on developing a theory that explicitly models how the kernel evolves during training in the chaotic regime, as this is likely where the most interesting "feature learning" occurs. While this study focuses on MLPs, extending these findings to CNNs and Transformers is a critical next step.

Summary updated

BibTeX
@inproceedings{seleznova2021analyzing,
  author = {Mariia Seleznova and Gitta Kutyniok},
  title = {{Analyzing Finite Neural Networks: Can We Trust Neural Tangent Kernel Theory?}},
  booktitle = {MSML},
  year = {2021},
  url = {https://openreview.net/forum?id=5pMHnA8G6K},
}
Figure