Work

Perturbation Confusion and Referential Transparency:Correct Functional Implementation of Forward-Mode AD

Year: 2005
Type: conference-paper
Abstract: . It is tempting to incorporate differentiation operators into functional-programming languages. Making them first-class citizens, however, is an enterprise fraught with danger. We discuss a potential problem with forward-mode AD common to many AD systems, including all attempts to integrate a forward-mode AD operator into Haskell. In particular, we show how these implementations fail to preserve referential transparency, and can compute grossly incorrect results when the differentiation operator is applied to a function that itself uses that operator. The underlying cause of this problem is perturbation confusion, a failure to distinguish between distinct perturbations introduced by distinct invocations of the differentiation operator. We then discuss how perturbation confusion can be avoided. 1
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W24803201
FWCI: 0.349
Cites: 12
Cited by: 27
Related to: 7