mlsanityData to 7 Oct 2026

The simple essence of automatic differentiation

arXiv 1804.00746 ↗First posted 2 Apr 2018cs.PLcited by 22

Not on the map. Why?

Abstract (arXiv)

Automatic differentiation (AD) in reverse mode (RAD) is a central component of deep learning and other uses of large-scale optimization. Commonly used RAD algorithms such as backpropagation, however, are complex and stateful, hindering deep understanding, improvement, and parallel execution. This paper develops a simple, generalized AD algorithm calculated from a simple, natural specification. The general algorithm is then specialized by varying the representation of derivatives. In particular, applying well-known constructions to a naive representation yields two RAD algorithms that are far simpler than previously known. In contrast to commonly used RAD implementations, the algorithms defined here involve no graphs, tapes, variables, partial derivatives, or mutation. They are inherently parallel-friendly, correct by construction, and usable directly from an existing programming language with no need for new data types or programming style, thanks to use of an AD-agnostic compiler plugin.

Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 Apr 2018.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 6; 2022: 4; 2023: 7; 2024: 2; 2025: 2; 2026: 1.

22 papers.

Sort:

  1. 2021Categorical Foundations of Gradient-Based Learningcited by 44
  2. 2021Category Theory in Machine Learningcited by 36
  3. 2024Position: Categorical Deep Learning is an Algebraic Theory of All Architecturescited by 32
  4. 2023On Meta-Promptingcited by 6
  5. 2021Fast Jacobian-Vector Product for Deep Networkscited by 4
  6. 2021Decomposing reverse-mode automatic differentiationcited by 4
  7. 2023On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameterscited by 3
  8. 2024Deep Learning with Parametric Lensescited by 3
  9. 2021Functorial String Diagrams for Reverse-Mode Automatic Differentiationcited by 2
  10. 2022Space-time tradeoffs of lenses and optics via higher category theorycited by 2
  11. 2023Implicit Bilevel Optimization: Differentiating through Bilevel Optimization Programmingcited by 2
  12. 2023Automatic Functional Differentiation in JAXcited by 2
10 more
  1. 2021Generalized Optimization: A First Step Towards Category Theoretic Learning Theorycited by 1
  2. 2022Folding over Neural Networkscited by 1
  3. 2022Combinatory Adjoints and Differentiationcited by 0
  4. 2022Efficient and Sound Differentiable Programming in a Functional Array-Processing Languagecited by 0
  5. 2023nablaSD: Differentiable Programming for Sparse Tensorscited by 0
  6. 2023Monadic Deep Learningcited by 0
  7. 2023Algebraic Dynamical Systems in Machine Learningcited by 0
  8. 2025Jet Functors and Weil Algebras in Automatic Differentiation: A Geometric Analysiscited by 0
  9. 2025Compiling to recurrent neuronscited by 0
  10. 2026Differentiate the Evaluator, Not the Program: An Efficient Runtime Representation for Neuro-Symbolic Learningcited by 0