Abstract
Neural Tangent Kernel (NTK) theory suggests that sufficiently wide neural networks behave like linear models, where the kernel remains fixed during training—a phenomenon known as "lazy training." While this framework effectively describes regression tasks under Mean Squared Error, its applicability to classification remains contested. This paper proves that for classification tasks using cross-entropy loss, the empirical NTK diverges from its theoretical counterpart. We demonstrate that the requirement to minimize cross-entropy loss forces network parameters to grow, violating the lazy training assumption and revealing that NTK theory cannot fully capture the dynamics of classification networks.
1. Introduction
A central challenge in deep learning theory is explaining why over-parameterized neural networks generalize well despite their capacity to overfit. One influential perspective is the Neural Tangent Kernel (NTK) regime. In the limit of infinite width, networks are thought to enter a "lazy training" state where parameters move infinitesimally from their initialization, allowing the network's evolution to be described by a static kernel.
While the NTK framework has been successfully applied to regression problems using Mean Squared Error (MSE), classification tasks—which typically utilize Cross-Entropy (CE) loss—present a different set of dynamics. This research investigates whether the "lazy" assumption holds when a network is pushed to achieve near-zero loss in classification, revealing a fundamental divergence between theory and practice.
2. The Mechanics of Lazy Training
In the lazy training regime, a neural network $f(x, \theta)$ is approximated by its first-order Taylor expansion around the initial parameters $\theta_0$. The evolution of the network's output is then governed by the NTK: $$K(\theta) = \nabla_\theta f(x, \theta) \nabla_\theta f(x', \theta)^T$$ If the width is large enough, $K(\theta)$ is assumed to stay close to $K(\theta_0)$ throughout training. In regression, the loss is minimized when the output reaches a finite target value, often allowing the parameters to stay within a small neighborhood of $\theta_0$.
3. The Classification Paradox
Classification with Cross-Entropy loss is qualitatively different. To drive the CE loss to zero, the network must not only correctly label the data but also maximize its confidence. This requires the logit outputs to tend toward infinity.
The authors argue that this requirement is incompatible with the fixed-kernel assumption. As the outputs grow, the parameters $\theta$ must also change significantly. This growth inevitably affects the gradients $\nabla_\theta f(x, \theta)$, causing the empirical NTK to evolve and eventually explode, rather than remaining static.
4. Theoretical Methodology
The study employs a rigorous mathematical framework to analyze Fully Connected Networks (FCNs) and Residual Networks (ResNets). The proof of divergence follows three logical stages:
- Positive Definiteness: The authors first establish that the NTKs for multi-layer FCNs and ResNets are strictly positive definite. This ensures the Gram matrix is invertible, providing a stable starting point for the analysis.
- Lyapunov Stability: They construct a Lyapunov function to monitor the "output residual"—the gap between the predicted probability and the ground truth label. By tracking this function during gradient flow, they can characterize the long-term behavior of the training dynamics.
- Proof by Contradiction: The core of the paper's argument is a contradiction. If one assumes the empirical NTK converges to the theoretical (static) NTK, the network parameters would necessarily remain bounded. However, the analysis of the gradient flow under CE loss shows that the parameters must diverge to infinity to minimize the loss. Thus, the empirical kernel cannot remain near the theoretical one.
5. Key Results: Theorem 2 and Empirical Evidence
The primary theoretical contribution is Theorem 2, which formalizes the divergence. The authors prove that there exists a positive lower bound on the distance between the empirical NTK ($K_t$) and the theoretical NTK ($K_{NT}$) that persists regardless of network width. Specifically, for certain samples, the difference $|K_t - K_{NT}|$ remains significant, meaning the "lazy" approximation never becomes exact, even as width increases.
Experimental Validation
The theoretical findings were tested using both synthetic and real-world data:
- Synthetic Data: Using six points on a unit circle with alternating labels, the authors isolated training dynamics from data complexity. The results showed that even in this simple setup, the kernel evolved away from its initial state.
- MNIST Parity: The authors trained a width-500 network on a binary version of MNIST (odd vs. even) for 100,000 epochs. The empirical NTK values did not stabilize; instead, they exhibited a clear upward trend, confirming that the kernel continues to diverge as training progresses.
6. Discussion and Limitations
This work effectively "breaks" the standard NTK model for classification, suggesting that the success of deep classification networks cannot be explained by linear approximations alone. However, several questions remain:
- Rate of Divergence: While the paper proves divergence occurs, the specific rate at which the empirical kernel drifts relative to the learning rate or network width is not yet quantified.
- Practical Constraints: In practice, techniques like early stopping, weight decay, or finite-precision arithmetic may prevent the kernel from reaching the extreme divergence predicted in the infinite-time limit ($T \to \infty$).
- The Search for a New Framework: If the NTK is insufficient, a new theoretical framework is needed to describe the "active" training regime where kernels evolve.
7. Conclusion
The "lazy training" assumption is a powerful tool for understanding regression, but it fails to capture the reality of classification. By demonstrating that the empirical NTK diverges under cross-entropy loss, this paper highlights the need for more sophisticated models that account for the dynamic evolution of neural representations during training.
Summary updated