Skip to yearly menu bar Skip to main content


Poster
in
Affinity Workshop: Blog Track

How to compute Hessian-vector products?

Mathieu Dagréou · Pierre Ablin · Samuel Vaiter · Thomas Moreau

Halle B #1
[ ] [ Project Page ]
Tue 7 May 1:45 a.m. PDT — 3:45 a.m. PDT

Abstract:

The products between the Hessian of a function and a vector, so-called Hessian-vector product (HVPs) is a quantity that appears in optimization and machine learning. However, the computation of HVPs is often considered prohibitive, preventing practitioners from using algorithms that rely on these quantities. Standard automatic differentiation theory predicts that computing a HVP has a cost of the same order of magnitude as computing a gradient. The goal of this blog post is to provide a practical counterpart to this theoretical result, showing that modern automatic differentiation frameworks, Jax and Pytorch, allow for efficient computation of these HVPs in standard deep learning cost functions.

Live content is unavailable. Log in and register to view live content