How the Hessian-Spectrum of Neural Networks Depends on Data
Abstract
The Hessian matrix is an important quantity of interest when it comes to studying the loss landscape and optimization dynamics in deep learning, as well as designing measures of generalization, second-order learning algorithms, etc. Prior works have focused on empirical results or pursued a theoretical treatment under overly simplified settings. In this work, we derive the eigenvalues of the Hessian of linear networks with arbitrary widths and depths, and datasets with an arbitrary number of samples, features, and labels. Importantly, for classification tasks with MSE loss, we identify that the sharpness of the solution is directly related to the maximum proportion of samples belonging to any class. We empirically validate our predictions and systematically analyze the effects of shedding the impractical assumptions one at a time, as well as incorporating nonlinearities. We observe that our predictions are considerably robust in most cases, allowing us to extend our conclusions to more practical learning setups.
Create a lesson
Metadata
- Comments
- 15 pages, 8 figures; Accepted at HiLD@ICML'26
Related papers
Probabilistic Physics-Informed Neural Networks for Estimating Heterogeneous Elastic Properties from Low-Resolution and Noisy Displacement Data
Shared title terminologycs.LGTatthapong Srikitrungruang, Jaesung Lee
Leveraging unlabelled data for generalizable neural population decoding
Shared title terminologycs.LGXimeng Mao, Nanda H. Krishna, Avery Hee-Woon Ryoo et al.
Mono-Z Dark Matter Search with Neural Spline Flows Using CMS Run 2015D Open Data
Shared title terminologycs.LGHitesh Rasineni, Bhavishya Chebrolu
Conditional Invertible Neural Networks for Data-Driven UAV Control: A 2-D Proof of Concept
Shared title terminologycs.LGChristian Wittke, Stephan Myschik, Oliver Niggemann
Deep Reinforcement Learning for Multi-UAV Data Harvesting Under Variable Team Sizes and Agent Loss
Shared title terminologycs.LGThiago de Souza Lamenza, Bruno José Olivieri de Souza, Markus Endler
Barron Smoothness for Layers in Deep Neural Networks
Shared title terminologycs.LGG. Welper