author = "Margossian, Charles C.",
title = "A review of automatic differentiation and its efficient implementation",
journal = "WIREs Data Mining and Knowledge Discovery",
volume = "9",
number = "4",
pages = "e1305",
keywords = "automatic differentiation, computational statistics, numerical methods",
doi = "10.1002/widm.1305",
url = "https://doi.org/10.1002/widm.1305",
eprint = "https://www.onlinelibrary.wiley.com/doi/pdf/10.1002/widm.1305",
abstract = "Derivatives play a critical role in computational statistics, examples being
Bayesian inference using Hamiltonian Monte Carlo sampling and the training of neural networks.
Automatic differentiation (AD) is a powerful tool to automate the calculation of derivatives and is
preferable to more traditional methods, especially when differentiating complex algorithms and
mathematical functions. The implementation of AD, however, requires some care to insure efficiency.
Modern differentiation packages deploy a broad range of computational techniques to improve
applicability, run time, and memory management. Among these techniques are operation overloading,
region-based memory, and expression templates. There also exist several mathematical techniques
which can yield high performance gains when applied to complex algorithms. For example,
semi-analytical derivatives can reduce by orders of magnitude the runtime required to numerically
solve and differentiate an algebraic equation. Open and practical problems include the extension of
current packages to provide more specialized routines, and finding optimal methods to perform
year = "2019",
ad_theotech = "Introduction"