Dynamics of Deep Neural Networks and Neural Tangent Hierarchy

Jiaoyang Huang, Horng-Tzer YauICML 2020

Introduction: The "Kernel Drift" Problem

In recent years, the Neural Tangent Kernel (NTK) regime has served as the dominant mathematical framework for analyzing deep learning theory. The NTK theory posits that as a neural network becomes infinitely wide, its training dynamics simplify into a linear model governed by a static kernel.

However, a significant "performance gap" exists between theory and practice. Real-world neural networks are not infinitely wide, and they frequently outperform their NTK approximations. In finite-width networks, the kernel is not static; it evolves as the network's weights are updated during training. Describing this "kernel drift" is mathematically complex. Researchers Jiaoyang Huang and Horng-Tzer Yau address this fundamental gap by asking: How can we succinctly describe the training dynamics of finite-width networks where the kernel itself is a moving target?

The Neural Tangent Hierarchy (NTH)

To capture the evolving nature of the kernel, the authors introduce the Neural Tangent Hierarchy (NTH). If the standard NTK provides a first-order description of training dynamics, the NTH expands this into an infinite sequence of higher-order differential equations.

The core insight of the hierarchy is that the evolution of the network's output depends on a primary kernel ($K^{(2)}$), but the evolution of that kernel depends on a higher-order kernel ($K^{(3)}$), and so forth. Because solving an infinite hierarchy is computationally and mathematically impossible, the authors introduce the concept of the Truncated NTH.

They prove that higher-order kernels become progressively smaller—specifically scaling at $O(1/m^{r/2-1})$, where $m$ is the network width and $r$ is the hierarchy level. Consequently, the hierarchy can be "cut off" at a specific level $p$ while still yielding a highly accurate approximation of the true training dynamics. To ground this theory, the authors utilize a "tensor program" framework to estimate the initial values of these kernels, proving that they vary slowly over the course of training.

Key Insights and Theoretical Results

As a theoretical physics and mathematics-oriented study, the paper focuses on synthetic data assumptions rather than empirical benchmarks like ImageNet. Assuming normalized training inputs and linearly independent data subsets, the authors prove several major results for general quadratic loss functions in the overparametrized regime:

  • Formalizing the $O(1/m)$ Drift: While previous numerical experiments suggested that the NTK varies at a rate of $1/m$, this paper provides the formal mathematical proof. It confirms that as network width increases, the kernel drift vanishes.
  • Data-Dependent Feature Learning: Unlike the limiting NTK—which is fixed entirely by architecture and initialization—the NTH is explicitly data-dependent. This allows the theoretical model to capture how a network actively learns specific features from a dataset during training.
  • Improved Convergence Bounds: Prior theories required the network width $m$ to be at least the number of data points $n$ to the fourth power ($m \gtrsim n^4$) to guarantee convergence. This work relaxes that requirement to $m \gtrsim n^3$. For networks meeting this threshold, gradient descent is proven to reach zero training loss at a linear rate.
  • Approximation Accuracy and Generalization: The truncated NTH approximates true training dynamics with an error scaling by $(t/\sqrt{m})^p$. By choosing a higher truncation level $p$, researchers can model network behavior over longer timeframes or for narrower widths. Furthermore, truncating at the lowest level ($p=2$) exactly recovers the standard NTK dynamics, proving NTH is a true generalization.

Limitations and Future Work

While the NTH provides a much-needed bridge between infinite-width theory and finite-width reality, several challenges remain:

  • Architectural Scope: The current proofs are limited to deep fully-connected feedforward networks. Extending these proofs to Convolutional Neural Networks (CNNs) and ResNets is left for future work.
  • Continuous vs. Discrete Time: The analysis relies on continuous-time "gradient flow." Real-world training utilizes discrete steps via Stochastic Gradient Descent (SGD). A rigorous discrete-time treatment using Taylor expansions is outlined but remains to be fully formalized.
  • The Width Gap: Although reducing the width requirement to $n^3$ is a significant theoretical improvement, it remains vastly larger than the widths used in practical applications. The authors hypothesize that a more careful analysis of "cancellation effects" could eventually lower this condition to $m \gtrsim n^2$ or even $m \gtrsim n$.

Summary updated

BibTeX
@inproceedings{huang2020dynamics,
  author = {Jiaoyang Huang and Horng-Tzer Yau},
  title = {{Dynamics of Deep Neural Networks and Neural Tangent Hierarchy}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure