pith. sign in

arxiv: 1811.05031 · v2 · pith:HHLD5QY5new · submitted 2018-11-12 · 💻 cs.MS · stat.CO

A Review of automatic differentiation and its efficient implementation

classification 💻 cs.MS stat.CO
keywords differentiationautomaticderivativestechniquesalgorithmscomplexcomputationalefficient
0
0 comments X
read the original 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 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 automatic differentiation 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 problems include the extension of current packages to provide more specialized routines, and efficient methods to perform higher-order differentiation.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Single-layer framework of variational tensor network states

    cond-mat.str-el 2025-12 unverdicted novelty 6.0

    A single-layer variational tensor network method reduces computational cost by three orders of magnitude in bond dimension for 2D quantum models and confirms an intermediate empty-plaquette valence bond solid phase in...