Argonne National Laboratory

On the Implementation of Automatic Differentiation Tools

TitleOn the Implementation of Automatic Differentiation Tools
Publication TypeReport
Year of Publication2004
AuthorsBischof, CH, Hovland, PD, Norris, B
Date Published04/2004
Other NumbersANL/MCS-P1152-0404

Automatic differentiation is a semantic transformation that applies the rules of differential calculus to source code. It thus transforms a computer program that computes a mathematical function into a program that computes the function and its derivatives. Derivatives play an important role in a wide variety of scientific computing applications, including numerical optimization, solution of nonlinear equations, sensitivity analysis, and nonlinear inverse problems. We describe the forward and reverse modes of automatic differentiation and provide a survey of implementation strategies. We describe some of the challenges in the implementation of automatic differentiation tools, with a focus on tools based on source transformation. We conclude with an overview of current research and future opportunities.