arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.18786math.NAcs.NA
收藏

自动求导:逆累积模式

Automatic Differentiation: Inverse Accumulation Mode

Maynooth University(梅努斯大学);Purdue University(普渡大学)

Barak A. Pearlmutter, Jeffrey Mark Siskind

AI总结:

本文提出一种自动求导方法,通过逆累积模式高效计算雅可比-逆向量和雅可比-逆转置向量乘积,突破传统计算限制,为牛顿法等数值计算提供新途径。

摘要:

我们证明,在某些情况下,可以通过逆累积模式高效计算雅可比-逆向量和雅可比-逆转置向量乘积,其效率与雅可比-向量和雅可比-转置向量乘积相当。关键洞察在于,单个基函数对应的雅可比矩阵形式具有不变的稀疏性。该方法的主要限制是对活跃变量数量的约束,提示了多种技术或泛化方法以实现该约束的执行或放松。此技术有潜力使牛顿法等数值计算的高效直接计算成为可能。

英文摘要:

We show that, under certain circumstances, it is possible to automatically compute Jacobian-inverse-vector and Jacobian-inverse-transpose-vector products about as efficiently as Jacobian-vector and Jacobian-transpose-vector products. The key insight is to notice that the Jacobian corresponding to the use of one basis function is of a form whose sparsity is invariant to inversion. The main restriction of the method is a constraint on the number of active variables, which suggests a variety of techniques or generalization to allow the constraint to be enforced or relaxed. This technique has the potential to allow the efficient direct calculation of Newton steps as well as other numeric calculations of interest.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑