Computing the sparsity pattern of Hessians using automatic differentiation

  • Authors:
  • Robert Mansel Gower;Margarida Pinheiro Mello

  • Affiliations:
  • The Maxwell Institute for Mathematical Sciences, University of Edinburgh;State University of Campinas

  • Venue:
  • ACM Transactions on Mathematical Software (TOMS)
  • Year:
  • 2014

Quantified Score

Hi-index 0.00

Visualization

Abstract

We compare two methods that calculate the sparsity pattern of Hessian matrices using the computational framework of automatic differentiation. The first method is a forward-mode algorithm by Andrea Walther in 2008 which has been implemented as the driver called hess_pat in the automatic differentiation package ADOL-C. The second is edge_push_sp, a new reverse mode algorithm descended from the edge_pushing algorithm for calculating Hessians by Gower and Mello in 2012. We present complexity analysis and perform numerical tests for both algorithms. The results show that the new reverse algorithm is very promising.