Optimal vertex elimination in single-expression-use graphs
Optimal vertex elimination in single-expression-use graphs
复制标题
单表达式使用图中的最佳顶点消除
DOI:
10.1145/1377603.1377605
复制
发表时间:
2008
影响因子:
2.7
通讯作者:
Naumann U
中科院分区:
文献类型:
--
作者:
Naumann U
The source transformation tool for automatic differentiation of Fortran programs ADIFOR uses a preaccumulation technique to speed up tangent-linear codes significantly compared to the standard forward mode. Reverse mode automatic differentiation is applied to all scalar assignments to generate efficient code for the computation of local gradients. It has been well known for some time that reverse mode is not necessarily the optimal choice for the computation of these statement-level gradients as it does not minimize the number of operations required. This article presents an efficient algorithm for the solution of this combinatorial optimization problem. The corresponding software is freely available for downloading on our website. Developers of software for automatic differentiation are invited to integrate the algorithm into their tools.Gradients of scalar multivariate functions can be computed by elimination methods on the linearized computational graph. The combinatorial optimization problem that aims to minimize the number of arithmetic operations performed by the elimination algorithm is known to be NP-complete. In this article we present a polynomial algorithm for solving a relevant subclass of this problem's instances. The proposed method relies on the ability to compute vertex covers in bipartite graphs in polynomial time. A simplified version of this graph algorithm is used in a research prototype of the differentiation-enabled NAGWare Fortran compiler for the preaccumulation of local gradients of scalar assignments in the context of automatic generation of efficient tangent-linear code for numerical programs.
登录
查看更多内容
DOI:
--
发表时间:
2005
期刊:
影响因子:
--
作者:
U. Naumann
通讯作者:
U. Naumann
影响因子:
2.7
作者:
U. Naumann
通讯作者:
U. Naumann
DOI:
--
发表时间:
2004
期刊:
TOMS
影响因子:
--
作者:
S. Forth;E. Tadjouddine;J. Pryce;J. Reid
通讯作者:
J. Reid
DOI:
--
发表时间:
2003
期刊:
International Conference on High Performance Scientific Computing
影响因子:
--
作者:
A. Griewank;Olaf Vogel
通讯作者:
Olaf Vogel
DOI:
--
发表时间:
2006
期刊:
影响因子:
--
作者:
Martin Bücker;G. Corliss;P. Hovland;U. Naumann;Boyana Norris
通讯作者:
Boyana Norris