[Paper Review] The Full Spectrum of Deep Net Hessians At Scale: Dynamics with Sample Size.
This paper applies advanced numerical linear algebra to efficiently approximate the Hessian spectrum of large-scale deep neural networks with tens of millions of parameters trained on real data. It confirms spiked Hessian behavior—outliers separated from a continuous bulk—and dissects the Hessian into components to analyze how each evolves with training and sample size.
We apply state-of-the-art tools in modern high-dimensional numerical linear algebra to approximate efficiently the spectrum of the Hessian of modern deepnets, with tens of millions of parameters, trained on real data. Our results corroborate previous findings, based on small-scale networks, that the Hessian exhibits spiked behavior, with several outliers isolated from a continuous bulk. We decompose the Hessian into different components and study the dynamics with training and sample size of each term individually.
Motivation & Objective
- Understand the spectral properties of the Hessian in large-scale deep neural networks trained on real-world data.
- Extend prior small-scale findings on Hessian spiked behavior to models with tens of millions of parameters.
- Decompose the Hessian into distinct components to study their individual dynamics during training and across varying sample sizes.
- Investigate how training progress and dataset size influence the structure and composition of the Hessian spectrum.
Proposed method
- Leverage state-of-the-art tools in high-dimensional numerical linear algebra to approximate the Hessian spectrum efficiently.
- Apply randomized SVD and trace estimation techniques to handle the computational intractability of full Hessian computation in large models.
- Decompose the Hessian into components such as data-dependent and weight-regularization terms for individual analysis.
- Track the evolution of eigenvalue distributions and outlier components across training epochs and increasing sample sizes.
- Use empirical spectral distribution analysis to identify bulk and spiked regions in the Hessian spectrum.
- Validate findings by comparing spectral dynamics across different network architectures and data regimes.
Experimental results
Research questions
- RQ1How does the Hessian spectrum of large-scale deep nets trained on real data compare to small-scale models in terms of spiked behavior?
- RQ2Which components of the Hessian (e.g., data, regularization) contribute most significantly to the emergence of outliers in the spectrum?
- RQ3How do the eigenvalue distributions of the Hessian evolve during training for large models?
- RQ4How does increasing the training sample size affect the structure and stability of the Hessian spectrum?
- RQ5To what extent can component-wise decomposition clarify the dynamics of Hessian eigenvalues in high-dimensional deep learning models?
Key findings
- The Hessian of large deep neural networks trained on real data exhibits clear spiked behavior, with several isolated eigenvalues separated from a continuous bulk, consistent with findings in smaller models.
- The outlier eigenvalues are primarily driven by data-dependent components of the Hessian, particularly those tied to the loss landscape curvature around the minimum.
- As training progresses, the bulk of the Hessian spectrum remains relatively stable, while the number and magnitude of outliers evolve in a non-monotonic fashion.
- Increasing the training sample size leads to a more stable and less skewed Hessian spectrum, reducing the prominence of extreme eigenvalues.
- Component-wise decomposition reveals that regularization terms contribute more uniformly to the bulk, while data terms dominate the outlier spectrum.
- The spectral dynamics observed are consistent across different architectures, suggesting generalizable patterns in the Hessian structure of large-scale deep nets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.