An AD based library for Efficient Hessian and Hessian-Vector Product Computation on GPU
Desh Ranjan, Mohammad Zubair

TL;DR
This paper introduces CHESSFAD, an automatic differentiation library optimized for parallel Hessian and Hessian-vector product computation on GPUs, significantly outperforming existing tools.
Contribution
The paper presents CHESSFAD, a novel AD-based library that efficiently computes second-order derivatives with parallelism suitable for GPU acceleration.
Findings
CHESSFAD outperforms existing libraries like autodiff by 5-50%.
Parallel computation of Hessian rows enhances efficiency.
Partitioning Hessian row computation into chunks enables concurrent processing.
Abstract
The Hessian-vector product computation appears in many scientific applications such as in optimization and finite element modeling. Often there is a need for computing Hessian-vector products at many data points concurrently. We propose an automatic differentiation (AD) based method, CHESSFAD (Chunked HESSian using Forward-mode AD), that is designed with efficient parallel computation of Hessian and Hessian-Vector products in mind. CHESSFAD computes second-order derivatives using forward mode and exposes parallelism at different levels that can be exploited on accelerators such as NVIDIA GPUs. In CHESSFAD approach, the computation of a row of the Hessian matrix is independent of the computation of other rows. Hence rows of the Hessian matrix can be computed concurrently. The second level of parallelism is exposed because CHESSFAD approach partitions the computation of a Hessian row into…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques
