The Hessian of tall-skinny networks is easy to invert

Read full text
Authors: Ali Rahimi
Cited by: 0

Abstract

We describe an exact algorithm to solve linear systems of the form $Hx=b$ where $H$ is the Hessian of a deep net. The method computes Hessian-inverse-vector products without storing the Hessian or its inverse. It requires time and storage that scale linearly in the number of layers. This is in contrast to the naive approach of first computing the Hessian, then solving the linear system, which takes storage and time that are respectively quadratic and cubic in the number of layers. The Hessian-inverse-vector product method scales roughly like Pearlmutter's algorithm for computing Hessian-vector products.

Fields of Study & Subjects

Stochastic Gradient Optimization Techniques Matrix Theory and Algorithms Neural Networks and Applications

Publication details

Journal / source
arXiv (Cornell University)
Publication date
1 January 2026
Document type
Preprint