paper-with-me

Papers

HesScale: Scalable Computation of Hessian Diagonals

2022-10-20 · Mohamed Elsayed, A. Rupam Mahmood

Second-order optimization uses curvature information about the objective function, which can help in faster convergence. However, such methods typically require expensive computation of the Hessian matrix, preventing their usage in a scalable way. The absence of efficient ways of computation drove the most widely used methods to focus on first-order approximations that do not capture the curvature information. In this paper, we develop HesScale, a scalable approach to approximating the diagonal of the Hessian matrix, to incorporate second-order information in a computationally efficient manner. We show that HesScale has the same computational complexity as backpropagation. Our results on supervised classification show that HesScale achieves high approximation accuracy, allowing for scalable and efficient second-order optimization.

📄 PDF Abstract BibTeX arXiv:2210.11639

Code (1)

mohmdelsayed/hesscale 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Revisiting Scalable Hessian Diagonal Approximations for Applications in Reinforcement Learning

2024-06-05 · Mohamed Elsayed, Homayoon Farrahi, Felix Dangel, A. Rupam Mahmood

Second-order information is valuable for many applications but challenging to compute. Several works focus on computing or approximating Hessian diagonals, but even this simplification introduces significant additional c…

reinforcement-learningReinforcement LearningSecond-order methods

Series of Hessian-Vector Products for Tractable Saddle-Free Newton Optimisation of Neural Networks

2023-10-23 · Elre T. Oldewage, Ross M. Clarke, José Miguel Hernández-Lobato

Despite their popularity in the field of continuous optimisation, second-order quasi-Newton methods are challenging to apply in machine learning, as the Hessian matrix is intractably large. This computational burden is e…

PyHessian: Neural Networks Through the Lens of the Hessian

2019-12-16 · Zhewei Yao, Amir Gholami, Kurt Keutzer, Michael Mahoney

We present PYHESSIAN, a new scalable framework that enables fast computation of Hessian (i.e., second-order derivative) information for deep neural networks. PYHESSIAN enables fast computations of the top Hessian eigenva…

Efficient Sketches for Training Data Attribution and Studying the Loss Landscape

2024-02-06 · Andrea Schioppa

The study of modern machine learning models often necessitates storing vast quantities of gradients or Hessian vector products (HVPs). Traditional sketching methods struggle to scale under these memory constraints. We pr…

A Scalable Measure of Loss Landscape Curvature for Analyzing the Training Dynamics of LLMs

2026-01-23 · Dayal Singh Kalra, Jean-Christophe Gagnon-Audet, Andrey Gromov, Ishita Mediratta 외 arxiv

Understanding the curvature evolution of the loss landscape is fundamental to analyzing the training dynamics of neural networks. The most commonly studied measure, Hessian sharpness ($λ_{\max}^H$) -- the largest eigenva…