A taxonomy of automatic differentiation pitfalls

Abstract 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

Authors

Institutions

Publication Details

Journal
Wiley Interdisciplinary Reviews Data Mining and Knowledge Discovery
Published
2024-09-02
DOI
https://doi.org/10.1002/widm.1555
Citations
7
Primary Topic
Numerical Methods and Algorithms
Type
article
Field-Weighted Citation Impact
2.53

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A taxonomy of automatic differentiation pitfalls

Bruce Christianson, Jan Hückelheim, Laurent Hascoët, Harshitha Menon et al.
7 citations
Wiley Interdisciplinary Reviews Data Mining and Knowledge Discovery
Numerical Methods and Algorithms
2.53
article

A taxonomy of automatic differentiation pitfalls

Bruce Christianson, Jan Hückelheim, Laurent Hascoët, Harshitha Menon, Paul Hovland, William S. Moses
article en
7 citations

Abstract

Abstract 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

Wiley Interdisciplinary Reviews Data Mining and Knowledge DiscoveryVol. 14(6)
Argonne National Laboratory (US), Lawrence Livermore National Laboratory (US), University of Hertfordshire (GB), IIT@MIT (US)
U.S. Department of Energy, Office of Science, U.S. Air Force, Advanced Scientific Computing Research, Lawrence Livermore National Laboratory, Air Force Research Laboratory, Los Alamos National Laboratory
Quality Education
Openalex Percentile: Top 9%
Numerical Methods and Algorithms
2.53
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.