Poster
in
Affinity Workshop: Blog Track
How to compute Hessian-vector products?
Mathieu Dagréou · Pierre Ablin · Samuel Vaiter · Thomas Moreau
Halle B #1
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.
Chat is not available.