网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Automatic differentiation
释义

Automatic differentiation

中文百科

自动微分

在数学和计算机代数中,自动微分有时称作演算式微分, 是一种可以借由电脑程序计算一个函数导数的方法。两种传统做微分的方法为:

使用符号微分最主要的缺点是速度慢及将电脑程序转换成表达式的困难。此外,很多函数在要计算更高端微分时会变得复杂。 使用差分的两个重要的缺点是舍弃误差及数值化过程和相消误差。此两者传统方法在计算更高端微分时,都有复杂度及误差增加的问题。自动微分则解决上述的问题。

自动微分使用这个事实:任何实作一个矢量函数 y=F(x)的电脑程序,一般而言,可以被分解成由基本指定运算所成的串行,而其中每一个都可以借由查表而轻易地微分。这些计算某一特定项的 "基本偏微分" 是依照微积分中的复合函数求导法则来合并成某个 F 的微分信息(如梯度、切线、雅可比矩阵等)。这个过程会产生确实(数值上准确)的导数。因为只在最基础的层面做符号转换,自动微分避免了复杂的符号运算的问题。

英语百科

Automatic differentiation 自动微分

Figure 1: How automatic differentiation relates to symbolic differentiation
Figure 2: Example of forward accumulation with computational graph
Figure 3: Example of reverse accumulation with computational graph

In mathematics and computer algebra, automatic differentiation (AD), also called algorithmic differentiation or computational differentiation, is a set of techniques to numerically evaluate the derivative of a function specified by a computer program. AD exploits the fact that every computer program, no matter how complicated, executes a sequence of elementary arithmetic operations (addition, subtraction, multiplication, division, etc.) and elementary functions (exp, log, sin, cos, etc.). By applying the chain rule repeatedly to these operations, derivatives of arbitrary order can be computed automatically, accurately to working precision, and using at most a small constant factor more arithmetic operations than the original program.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/17 13:14:42