Saved in:
Bibliographic Details
Main Authors: Fernandez, Andres, Schneider, Frank, Mahsereci, Maren, Hennig, Philipp
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.14701
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913801126805504
author Fernandez, Andres
Schneider, Frank
Mahsereci, Maren
Hennig, Philipp
author_facet Fernandez, Andres
Schneider, Frank
Mahsereci, Maren
Hennig, Philipp
contents Recently, it has been observed that when training a deep neural net with SGD, the majority of the loss landscape's curvature quickly concentrates in a tiny *top* eigenspace of the loss Hessian, which remains largely stable thereafter. Independently, it has been shown that successful magnitude pruning masks for deep neural nets emerge early in training and remain stable thereafter. In this work, we study these two phenomena jointly and show that they are connected: We develop a methodology to measure the similarity between arbitrary parameter masks and Hessian eigenspaces via Grassmannian metrics. We identify *overlap* as the most useful such metric due to its interpretability and stability. To compute *overlap*, we develop a matrix-free algorithm based on sketched SVDs that allows us to compute over 1000 Hessian eigenpairs for nets with over 10M parameters --an unprecedented scale by several orders of magnitude. Our experiments reveal an *overlap* between magnitude parameter masks and top Hessian eigenspaces consistently higher than chance-level, and that this effect gets accentuated for larger network sizes. This result indicates that *top Hessian eigenvectors tend to be concentrated around larger parameters*, or equivalently, that *larger parameters tend to align with directions of larger loss curvature*. Our work provides a methodology to approximate and analyze deep learning Hessians at scale, as well as a novel insight on the structure of their eigenspace.
format Preprint
id arxiv_https___arxiv_org_abs_2504_14701
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Connecting Parameter Magnitudes and Hessian Eigenspaces at Scale using Sketched Methods
Fernandez, Andres
Schneider, Frank
Mahsereci, Maren
Hennig, Philipp
Machine Learning
Recently, it has been observed that when training a deep neural net with SGD, the majority of the loss landscape's curvature quickly concentrates in a tiny *top* eigenspace of the loss Hessian, which remains largely stable thereafter. Independently, it has been shown that successful magnitude pruning masks for deep neural nets emerge early in training and remain stable thereafter. In this work, we study these two phenomena jointly and show that they are connected: We develop a methodology to measure the similarity between arbitrary parameter masks and Hessian eigenspaces via Grassmannian metrics. We identify *overlap* as the most useful such metric due to its interpretability and stability. To compute *overlap*, we develop a matrix-free algorithm based on sketched SVDs that allows us to compute over 1000 Hessian eigenpairs for nets with over 10M parameters --an unprecedented scale by several orders of magnitude. Our experiments reveal an *overlap* between magnitude parameter masks and top Hessian eigenspaces consistently higher than chance-level, and that this effect gets accentuated for larger network sizes. This result indicates that *top Hessian eigenvectors tend to be concentrated around larger parameters*, or equivalently, that *larger parameters tend to align with directions of larger loss curvature*. Our work provides a methodology to approximate and analyze deep learning Hessians at scale, as well as a novel insight on the structure of their eigenspace.
title Connecting Parameter Magnitudes and Hessian Eigenspaces at Scale using Sketched Methods
topic Machine Learning
url https://arxiv.org/abs/2504.14701