paper-with-me

홈 › Papers

Hessian Spectral Analysis at Foundation Model Scale

2026-01-31 · Diego Granziol, Khurshid Juarev arxiv

Accurate Hessian spectra of foundation models have remained out of reach, leading most prior work to rely on small models or strong structural approximations. We show that faithful spectral analysis of the true Hessian is tractable at frontier scale. Using shard-local finite-difference Hessian vector products compatible with Fully Sharded Data Parallelism, we perform stochastic Lanczos quadrature on open-source language models with up to 100B parameters, producing the first large-scale spectral density estimates beyond the sub-10B regime. We characterize the numerical behavior of this pipeline, including finite-difference bias, floating-point noise amplification, and their effect on Krylov stability in fp32 and bf16, and derive practical operating regimes that are validated empirically. We further provide end-to-end runtime and memory scaling laws, showing that full-operator spectral probing incurs only a modest constant-factor overhead over first-order training. Crucially, direct access to the Hessian reveals that widely used block-diagonal curvature approximations can fail catastrophically, exhibiting order-one relative error and poor directional alignment even in mid-scale LLMs. Together, our results demonstrate that foundation-model Hessian spectra are both computable and qualitatively misrepresented by prevailing approximations, opening the door to principled curvature-based analysis at scale.

📄 PDF Abstract BibTeX arXiv:2602.00816

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

HessFormer: Hessians at Foundation Scale

2025-05-16 · Diego Granziol

Whilst there have been major advancements in the field of first order optimisation of deep learning models, where state of the art open source mixture of expert models go into the hundreds of billions of parameters, meth…

GPU

A Linear Approach to Data Poisoning

2025-05-21 · Diego Granziol, Donald Flynn

We investigate the theoretical foundations of data poisoning attacks in machine learning models. Our analysis reveals that the Hessian with respect to the input serves as a diagnostic tool for detecting poisoning, exhibi…

Data PoisoningDiagnosticregression

Depth, Not Data: An Analysis of Hessian Spectral Bifurcation

2026-01-31 · Shenyang Deng, Boyao Liao, Zhuoli Ouyang, Tianyu Pang 외 arxiv

The eigenvalue distribution of the Hessian matrix plays a crucial role in understanding the optimization landscape of deep neural networks. Prior work has attributed the well-documented ``bulk-and-spike'' spectral struct…

Local properties of neural networks through the lens of layer-wise Hessians

2025-10-20 · Maxim Bolshim, Alexander Kugaevskikh arxiv

We introduce a methodology for analyzing neural networks through the lens of layer-wise Hessian matrices. The local Hessian of each functional block (layer) is defined as the matrix of second derivatives of a scalar func…

Local Hessian Spectral Filtering for Robust Intrinsic Dimension Estimation

2026-05-02 · Genki Osada arxiv

While diffusion models enable new approaches for estimating Local Intrinsic Dimension (LID), existing methods fail in high-dimensional spaces where noise from vast normal directions overwhelms the tangent signal. We prop…