HessFormer: Hessians at Foundation Scale
Diego Granziol, Khurshid Juraev
Key points
From the paper's conclusion- We release a software package HessFormer, which integrates nicely with the well known Transformers package and allows for distributed hessian vector computation across a single node with multiple GPUs.
Abstract
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, methods that rely on Hessian vector products, are still limited to run on a single GPU and thus cannot even work for models in the billion parameter range. We release a software package HessFormer, which integrates nicely with the well known Transformers package and allows for distributed hessian vector computation across a single node with multiple GPUs. Underpinning our implementation is a distributed stochastic lanczos quadrature algorithm, which we release for public consumption. Using this package we investigate the Hessian spectral density of the recent Deepseek 70bn parameter model.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Converge Faster, Talk Less: Hessian-Informed Federated Zeroth-Order Optimization.... International Conference on Learning Representations · 2026
- Efficiently Estimating Optimal Hyperparameter Scaling Laws through Power-Law Entropy SearcharXiv · 2026
- Gradient-Free Sampling from Generative Models via Stochastic Bounded Extremum SeekingarXiv · 2026
- Gradient-Hessian Query Tradeoffs: Matching Lower Bounds in Logarithmic DimensionarXiv · 2026
- Second-Moment Stochastic Approximation MethodsarXiv · 2026
- ENGINE: Endogenous Variational MultiScale Optimization for Zeroth-Order LLM Fine-TuningarXiv · 2026