vix.ing · top · new · best · stats

Towards Quantifying the Hessian Structure of Neural Networks

2025/05/05 by Zhaorui Dong, Yushun Zhang, Dong, Zhaorui +5 · 2 citations
Computer Science · #Artificial neural network #Diagonal #FOS: Computer and information sciences #FOS: Mathematics #Feature (linguistics) #Hessian equation #Hessian matrix #Limit (mathematics) #Machine Learning (cs.LG) #Machine Learning (stat.ML) #Matrix (chemical analysis) #Neural Networks and Applications #Optimization and Control (math.OC)

paper · pdf · doi:10.48550/arxiv.2505.02809

published in arXiv (Cornell University) (Cornell University)

openalex publication_date 2025/05/05 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/05

Abstract

Empirical studies reported that the Hessian matrix of neural networks (NNs) exhibits a near-block-diagonal structure, yet its theoretical foundation remains unclear. In this work, we reveal that the reported Hessian structure comes from a mixture of two forces: a ``static force'' rooted in the architecture design, and a ''dynamic force'' arisen from training. We then provide a rigorous theoretical analysis of ''static force'' at random initialization. We study linear models and 1-hidden-layer networks for classification tasks with C classes. By leveraging random matrix theory, we compare the limit distributions of the diagonal and off-diagonal Hessian blocks and find that the block-diagonal structure arises as C becomes large. Our findings reveal that C is one primary driver of the near-block-diagonal structure. These results may shed new light on the Hessian structure of large language models (LLMs), which typically operate with a large C exceeding 104.

Citations

Cited by

Related