首页> 外文期刊>Mathematical Programming Computation: A Publication of the Mathematical Programming Society >Capitalizing on live variables: new algorithms for efficient Hessian computation via automatic differentiation
【24h】

Capitalizing on live variables: new algorithms for efficient Hessian computation via automatic differentiation

机译:利用实时变量:通过自动微分进行有效的Hessian计算的新算法

获取原文
获取原文并翻译 | 示例
           

摘要

We revisit an algorithm [called Edge Pushing (EP)] for computing Hessians using Automatic Differentiation (AD) recently proposed by Gower and Mello (Optim Methods Softw 27(2): 233–249, 2012). Here we give a new, simpler derivation for the EP algorithm based on the notion of live variables from data-flow analysis in compiler theory and redesign the algorithm with close attention to general applicability and performance.We call this algorithm Livarh and develop an extension of Livarh that incorporates preaccumulation to further reduce execution time—the resulting algorithm is called Livarhacc. We engineer robust implementations for both algorithms Livarh and Livarhacc within ADOL-C, a widely-used operator overloading based AD software tool. Rigorous complexity analyses for the algorithms are provided, and the performance of the algorithms is evaluated using a mesh optimization application and several kinds of synthetic functions as testbeds. The results showthat the newalgorithms outperform state-of-the-art sparse methods (based on sparsity pattern detection, coloring, compressed matrix evaluation, and recovery) in some cases by orders of magnitude. We have made our implementation available online as open-source software and it will be included in a future release of ADOL-C.
机译:我们重新审视了最近由Gower和Mello提出的使用自动微分(AD)来计算Hessian的算法[称为Edge Pushing(EP)](Optim Methods Softw 27(2):233-249,2012)。在这里,我们根据编译器理论中数据流分析中的实时变量的概念,对EP算法进行了一个新的,更简单的推导,并在重新设计算法的同时特别关注了通用性和性能。 Livarh结合了预累加以进一步减少执行时间-所得算法称为Livarhacc。我们为ADOL-C(一种广泛使用的基于运算符重载的AD软件工具)中的算法Livarh和Livarhacc设计了健壮的实现。提供了算法的严格复杂性分析,并使用网格优化应用程序和多种综合功能作为测试平台来评估算法的性能。结果表明,在某些情况下,新算法的性能优于基于稀疏模式检测,着色,压缩矩阵评估和恢复的最新稀疏方法。我们已将实现作为开源软件在线提供,并将包含在ADOL-C的未来版本中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号