自动微分漫游指南
A Hitchhiker's Guide to Automatic Differentiation
摘要:
本文概述了自动微分(AD)的一些数学原理。特别是,我们总结了AD的前向模式的不同描述,如基于矩阵向量积的方法,提升函数到对偶数代数的想法,对偶数上的泰勒级数展开的方法和前推算子的应用,并解释为什么它们都减少到相同的实际计算链。本文还对高阶正向AD的一些方法作了简短的数学描述,并在文章的最后简要介绍了自动微分的反向模式。
英文摘要:
This article provides an overview of some of the mathematical principles of Automatic Differentiation (AD). In particular, we summarise different descriptions of the Forward Mode of AD, like the matrix-vector product based approach, the idea of lifting functions to the algebra of dual numbers, the method of Taylor series expansion on dual numbers and the application of the push-forward operator, and explain why they all reduce to the same actual chain of computations. We further give a short mathematical description of some methods of higher-order Forward AD and, at the end of this paper, briefly describe the Reverse Mode of Automatic Differentiation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。