We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.MS

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Mathematical Software

Title: Computing Sparse Jacobians and Hessians Using Algorithmic Differentiation

Abstract: Stochastic scientific models and machine learning optimization estimators have a large number of variables; hence computing large sparse Jacobians and Hessians is important. Algorithmic differentiation (AD) greatly reduces the programming effort required to obtain the sparsity patterns and values for these matrices. We present forward, reverse, and subgraph methods for computing sparse Jacobians and Hessians. Special attention is given the the subgraph method because it is new. The coloring and compression steps are not necessary when computing sparse Jacobians and Hessians using subgraphs. Complexity analysis shows that for some problems the subgraph method is expected to be much faster. We compare C++ operator overloading implementations of the methods in the ADOL-C and CppAD software packages using some of the MINPACK-2 test problems. The experiments are set up in a way that makes them easy to run on different hardware, different systems, different compilers, other test problem and other AD packages. The setup time is the time to record the graph, compute sparsity, coloring, compression, and optimization of the graph. If the setup is necessary for each evaluation, the subgraph implementation has similar run times for sparse Jacobians and faster run times for sparse Hessians.
Comments: 25 pages, no figures
Subjects: Mathematical Software (cs.MS); Data Structures and Algorithms (cs.DS)
MSC classes: 05C15, 65F50, 90C30
ACM classes: F.2.2; G.2.2
Cite as: arXiv:2111.05207 [cs.MS]
  (or arXiv:2111.05207v1 [cs.MS] for this version)

Submission history

From: Bradley Bell M [view email]
[v1] Tue, 9 Nov 2021 15:33:30 GMT (16kb,D)

Link back to: arXiv, form interface, contact.