A taxonomy of automatic differentiation pitfalls

Hückelheim, Jan, Menon, Harshitha, Moses, William, Christianson, Bruce, Hovland, Paul and Hascoët, Laurent (2024) A taxonomy of automatic differentiation pitfalls. WIREs: Data Mining and Knowledge Discovery, 14 (6): e1555. pp. 1-12. ISSN 1942-4787
Copy

Automatic differentiation is a popular technique for computing derivatives of computer programs. While automatic differentiation has been successfully used in countless engineering, science, and machine learning applications, it can sometimes nevertheless produce surprising results. In this paper, we categorize problematic usages of automatic differentiation, and illustrate each category with examples such as chaos, time-averages, discretizations, fixed-point loops, lookup tables, linear solvers, and probabilistic programs, in the hope that readers may more easily avoid or detect such pitfalls. We also review debugging techniques and their effectiveness in these situations. This article is categorized under: Technologies > Machine Learning.


picture_as_pdf
WIREs_Data_Min_Knowl_-_2024_-_H_ckelheim_-_A_taxonomy_of_automatic_differentiation_pitfalls.pdf
subject
Published Version
Available under Creative Commons: BY 4.0

View Download

EndNote BibTeX Reference Manager Refer Atom Dublin Core MODS METS OpenURL ContextObject in Span OPENAIRE ASCII Citation MPEG-21 DIDL RIOXX2 XML HTML Citation OpenURL ContextObject Data Cite XML
Export

Downloads