再论数学微分的消元技术
Elimination Techniques for Algorithmic Differentiation Revisited
摘要:
用于(一阶)算法微分(AD)的所有已知消除技术依赖于针对一组相关基本函数给出的雅可比行列式。实际上,给出了基本切线和伴随。它们可以通过将AD软件工具应用于给定模块化数值模拟的部件来获得。本文提出的新的广义面消除规则有利于严格开发的结合性的链式法则的分化在任意级别的粒度范围从元素标量(最先进的)到多元向量函数与给定的元素切线和伴随。隐含的组合广义面消除问题要求最小计算成本的面消除序列。简单的分支定界和贪婪的启发式方法作为一个基线,为进一步研究更强大的算法,有前途的第一次测试结果的动机。后者可以在开源参考实现的帮助下复制。
英文摘要:
All known elimination techniques for (first-order) algorithmic differentiation (AD) rely on Jacobians to be given for a set of relevant elemental functions. Realistically, elemental tangents and adjoints are given instead. They can be obtained by applying software tools for AD to the parts of a given modular numerical simulation. The novel generalized face elimination rule proposed in this article facilitates the rigorous exploitation of associativity of the chain rule of differentiation at arbitrary levels of granularity ranging from elemental scalar (state of the art) to multivariate vector functions with given elemental tangents and adjoints. The implied combinatorial Generalized Face Elimination problem asks for a face elimination sequence of minimal computational cost. Simple branch and bound and greedy heuristic methods are employed as a baseline for further research into more powerful algorithms motivated by promising first test results. The latter can be reproduced with the help of an open-source reference implementation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。