Skip to main navigation Skip to search Skip to main content

A taxonomy of automatic differentiation pitfalls

  • Jan Hückelheim
  • , Harshitha Menon
  • , William Moses
  • , Bruce Christianson
  • , Paul Hovland
  • , Laurent Hascoët

Research output: Contribution to journalArticlepeer-review

5 Citations (Scopus)
30 Downloads (Pure)

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.

Original languageEnglish
Article numbere1555
Pages (from-to)1-12
Number of pages12
JournalWIREs: Data Mining and Knowledge Discovery
Volume14
Issue number6
Early online date2 Sept 2024
DOIs
Publication statusPublished - 1 Nov 2024

Keywords

  • Autodiff, Automatic Differentiation, Backpropagation
  • backpropagation
  • automatic differentiation
  • autodiff

Fingerprint

Dive into the research topics of 'A taxonomy of automatic differentiation pitfalls'. Together they form a unique fingerprint.

Cite this