paper-with-me

Papers

Decomposing reverse-mode automatic differentiation

2021-05-20 · Roy Frostig, Matthew J. Johnson, Dougal Maclaurin, Adam Paszke, Alexey Radul

We decompose reverse-mode automatic differentiation into (forward-mode) linearization followed by transposition. Doing so isolates the essential difference between forward- and reverse-mode AD, and simplifies their joint implementation. In particular, once forward-mode AD rules are defined for every primitive operation in a source language, only linear primitives require an additional transposition rule in order to arrive at a complete reverse-mode AD implementation. This is how reverse-mode AD is written in JAX and Dex.

📄 PDF Abstract BibTeX arXiv:2105.09469

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Reverse Faà di Bruno's Formula for Cartesian Reverse Differential Categories

2025-09-25 · Aaron Biggin, Jean-Simon Pacaud Lemay arxiv

Reverse differentiation is an essential operation for automatic differentiation. Cartesian reverse differential categories axiomatize reverse differentiation in a categorical framework, where one of the primary axioms is…

Source-to-Source Automatic Differentiation of OpenMP Parallel Loops

2021-11-02 · Jan Hückelheim, Laurent Hascoët

This paper presents our work toward correct and efficient automatic differentiation of OpenMP parallel worksharing loops in forward and reverse mode. Automatic differentiation is a method to obtain gradients of numerical…

Uncertainty Quantification

A Differential-form Pullback Programming Language for Higher-order Reverse-mode Automatic Differentiation

2020-02-19 · Carol Mak, Luke Ong

Building on the observation that reverse-mode automatic differentiation (AD) -- a generalisation of backpropagation -- can naturally be expressed as pullbacks of differential 1-forms, we design a simple higher-order prog…

Form

On the Equivalence of Automatic and Symbolic Differentiation

2019-04-05 · Soeren Laue

We show that reverse mode automatic differentiation and symbolic differentiation are equivalent in the sense that they both perform the same operations when computing derivatives. This is in stark contrast to the common …

Automatic Differentiation of Algorithms for Machine Learning

2014-04-28 · Atilim Gunes Baydin, Barak A. Pearlmutter

Automatic differentiation---the mechanical transformation of numeric computer programs to calculate derivatives efficiently and accurately---dates to the origin of the computer age. Reverse mode automatic differentiation…

BIG-bench Machine Learning