Skip to main content
QUICK REVIEW

[Paper Review] The asymptotic spectrum of the Hessian of DNN throughout training

Arthur Paul Jacot, Franck Gabriel|arXiv (Cornell University)|Oct 1, 2019
Model Reduction and Neural NetworksPhysics and Astronomy35 references6 citations
TL;DR

This paper provides a complete theoretical characterization of the Hessian spectrum of deep neural networks (DNNs) throughout training by leveraging the Neural Tangent Kernel (NTK). It shows that the Hessian decomposes asymptotically into two orthogonal components: I (related to kernel PCA via NTK) and S (a residual term), with their moments adding up, enabling precise spectral analysis at initialization and during training in both fixed-NTK and mean-field regimes.

ABSTRACT

The dynamics of DNNs during gradient descent is described by the so-called Neural Tangent Kernel (NTK). In this article, we show that the NTK allows one to gain precise insight into the Hessian of the cost of DNNs. When the NTK is fixed during training, we obtain a full characterization of the asymptotics of the spectrum of the Hessian, at initialization and during training. In the so-called mean-field limit, where the NTK is not fixed during training, we describe the first two moments of the Hessian at initialization.

Motivation & Objective

  • To theoretically describe the spectrum of the Hessian of DNNs during training, a key but poorly understood aspect of optimization dynamics.
  • To resolve open questions about the role of flat minima, saddle points, and generalization in overparametrized networks.
  • To provide a complete spectral characterization of the Hessian using the Neural Tangent Kernel (NTK) in both fixed-NTK and mean-field regimes.
  • To establish the asymptotic orthogonality of the Hessian components I and S, enabling moment additivity.

Proposed method

  • Decomposes the Hessian H into two matrices: I (positive semi-definite, linked to kernel PCA via NTK) and S (residual, vanishing at convergence).
  • Analyzes the asymptotic behavior of I and S in the infinite-width limit, assuming a fixed number of data points N.
  • Uses functional analysis and NTK parametrization to derive the first and second moments of S, showing Tr(S) evolves during training while Tr(S²) remains constant.
  • Proves asymptotic orthogonality of I and S via Frobenius norm analysis, showing ||IS||_F → 0 as network width → ∞.
  • Establishes that higher moments of S vanish in the infinite-width limit, simplifying spectral analysis.
  • Applies the decomposition to both fixed-NTK (at initialization and during training) and mean-field regimes where NTK evolves.

Experimental results

Research questions

  • RQ1How does the spectrum of the Hessian of a DNN evolve during training, particularly in overparametrized regimes?
  • RQ2Can the Neural Tangent Kernel (NTK) provide a complete theoretical description of the Hessian spectrum at initialization and throughout training?
  • RQ3What is the role of the residual matrix S in the Hessian, and how do its moments behave during optimization?
  • RQ4Are the components I and S of the Hessian asymptotically orthogonal in the infinite-width limit?
  • RQ5How do the spectral moments of the Hessian decompose, and can they be computed via the sum of moments of I and S?

Key findings

  • The matrix I is positive semi-definite and its eigenvalues correspond to the (weighted) kernel PCA of the dataset with respect to the NTK, with principal components followed by many small eigenvalues.
  • The null-space of I has dimension at least P−N, indicating flat directions at initialization and throughout training due to small eigenvalues.
  • The matrix S vanishes at convergence, and its first moment Tr(S) evolves during training, while Tr(S²) remains constant.
  • Higher moments of S vanish in the infinite-width limit, simplifying the spectral analysis of the Hessian.
  • The matrices I and S are asymptotically orthogonal, so the k-th moment of H = I + S satisfies Tr(H^k) ≈ Tr(I^k) + Tr(S^k).
  • The spectral decomposition is valid for any network depth and a general class of bounded C⁴ nonlinearities, providing a complete description of the Hessian spectrum in terms of the NTK.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.