Analyzing Finite Neural Networks: Can We Trust Neural Tangent Kernel Theory?
Introduction
The Neural Tangent Kernel (NTK) has become a cornerstone of deep learning theory, providing a framework to understand how infinitely wide neural networks evolve during training. In this "infinite-width limit," training dynamics simplify into a linear system governed by a fixed kernel, leading to what is known as "lazy training." However, real-world networks are finite. This study investigates the boundary where NTK theory fails, revealing that for deep networks in chaotic regimes, the infinite-width approximation is often a poor guide for understanding practical performance.
The Ordered and Chaotic Phases
To understand when NTK theory holds, we must look at how signals propagate through a network. Using Mean Field Theory, networks can be categorized into two primary phases based on their initialization hyperparameters (weight variance $\sigma_w^2$ and bias variance $\sigma_b^2$):
- Ordered Phase: Gradients vanish as they propagate through layers, leading to stable but often "untrainable" networks as depth increases.
- Chaotic Phase: Gradients explode exponentially as they propagate, leading to highly dynamic kernels.
- Edge of Chaos (EOC): The critical boundary where signal propagation is most stable, often targeted by practitioners for better performance.
Key Insight: The $L/M$ Ratio is King
A central finding of this research is that the validity of NTK theory depends not just on the width ($M$), but on the ratio of depth ($L$) to width. In the chaotic phase, the kernel's variance at initialization and its evolution during training grow exponentially with the $L/M$ ratio. If a network is deep and not sufficiently wide, the "infinite-width" assumption becomes essentially useless.
As shown in Figure 5, while the kernel remains deterministic (low variance) in the ordered phase regardless of depth, it becomes highly random in the chaotic phase. The collapse of the curves in the bottom row demonstrates that $L/M$ is the fundamental parameter governing the departure from the infinite-width limit.
Chaos Breeds Change
In the chaotic regime, the "lazy training" assumption—that the kernel remains constant—breaks down completely. The kernel is not only random at the start but also shifts significantly as weights evolve during gradient descent. This suggests that "feature learning," which NTK theory largely discounts, is a dominant effect in deep, finite-width networks initialized in chaotic regimes.
Figure 1 illustrates this phase transition. In the ordered phase (left of the green line), the kernel is stable and deterministic. However, as soon as the network enters the chaotic phase, the kernel's variance explodes with depth, making the NTK approximation unreliable for predicting the behavior of any single random initialization.
Conclusion
While NTK theory provides valuable insights into the "average" behavior of neural networks, its application to deep, finite-width networks requires caution. In the chaotic regimes where many high-performing networks operate, the kernel is neither deterministic nor constant. The researchers conclude that a new theoretical framework is needed—one that explicitly accounts for the randomness and evolution of the kernel in finite networks to truly explain why deep learning generalizes so well in practice.
Summary updated