TL;DR
This paper provides a rigorous theoretical characterization of the Hessian's spectrum in deep neural networks (DNNs) by leveraging the Neural Tangent Kernel (NTK) framework. The authors demonstrate that in the infinite-width limit, the Hessian decomposes into two asymptotically orthogonal components, allowing for a precise description of the loss landscape's geometry throughout the entire training process.
What Problem Does This Paper Address?
Understanding the "loss landscape"—the high-dimensional surface defined by a neural network's error function—is fundamental to explaining why deep learning works. The Hessian matrix (the matrix of second-order derivatives) is the key to this landscape, as its eigenvalues determine the local curvature.
Researchers have long observed specific phenomena numerically, such as the existence of many "flat directions" (zero or near-zero eigenvalues) and a few "cliffs" (large positive eigenvalues). However, a formal theoretical description of how this spectrum evolves during training was missing. This paper aims to bridge that gap, specifically for wide networks where the dynamics become more mathematically tractable.
Methods
The authors utilize the Neural Tangent Kernel (NTK) framework, which describes DNNs in the infinite-width limit. They decompose the Hessian $H$ of the cost function into two parts: $H = I + S$.
- The $I$ matrix: A positive semi-definite matrix related to the Jacobian of the network's output. It is analogous to the Fisher Information Matrix and captures the "cliffs" and "flat directions" of the loss surface.
- The $S$ matrix: A residual term involving the second derivatives of the network function itself.
The core methodological innovation is proving that $I$ and $S$ are asymptotically mutually orthogonal ($IS \approx 0$) as the network width goes to infinity. This allows the authors to study the moments of the Hessian's spectrum by simply summing the moments of $I$ and $S$ independently. They analyze two main regimes: the "lazy" regime (where the NTK remains fixed) and the "mean-field" regime (where the NTK varies).
Datasets
The theoretical predictions were validated using empirical experiments on:
- MNIST: Specifically, a scaled-down version (14x14 pixels) with a subset of $N=256$ datapoints to allow for the computationally expensive calculation of full Hessian spectra.
Key Insights and Ideas
- Hessian Decomposition: The split $H = I + S$ is not just a mathematical convenience but reflects physical reality in wide networks. $I$ represents the curvature due to the data's structure, while $S$ represents the curvature due to the network's own non-linearity.
- Asymptotic Orthogonality: The "aha moment" is that the ranges of $I$ and $S$ become disjoint in the limit. This means the eigenvalues of the total Hessian are essentially the union of the eigenvalues of $I$ and $S$.
- Kernel PCA Connection: The dominant eigenvalues of $I$ correspond to the principal components of the dataset with respect to the NTK. This gives a functional interpretation to the "cliffs" in the loss landscape: they are the directions in function space most favored by the network's architecture.
- Vanishing $S$: While $S$ contributes to the curvature at initialization, its operator norm vanishes as the network gets wider, and the entire matrix $S$ vanishes as the network converges to a global minimum.
- Architecture and Curvature: The choice of non-linearity significantly impacts the landscape. For instance, normalizing the non-linearity can reduce the "narrow valley" structure, potentially speeding up optimization.
Key Results
- Moment Summation: The authors proved that $tr(H^k) \approx tr(I^k) + tr(S^k)$ for all $k \geq 1$.
- Empirical Validation: Numerical experiments on wide networks showed a striking match between theoretical predictions and empirical averages for the first four moments of the Hessian throughout training.
- Spectrum Asymptotics: The paper provides explicit formulas for the limits of these moments, characterizing how the "flatness" of the minima relates to the training procedure and network depth.
Limitations and Future Work
- Sequential Limit: The proofs rely on a sequential limit (taking the width of layers to infinity one by one), although numerical results suggest the findings hold for the more standard simultaneous limit.
- Mean-Field Dynamics: While the paper describes $S$ at initialization in the mean-field regime, characterizing its full evolution during "active" training remains a complex open problem.
- Finite-Width Effects: The results are asymptotic; understanding the precise rate at which finite-width networks deviate from these predictions is a natural next step for the field.
Summary updated