arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1912.07696cs.MS
收藏

PETSc TSAdjoint:一阶和二阶灵敏度分析的离散伴随ODE求解器

PETSc TSAdjoint: a discrete adjoint ODE solver for first-order and second-order sensitivity analysis

Hong Zhang, Emil M. Constantinescu, Barry F. Smith

摘要:

提出了一个新的软件系统PETSc TSAdjoint,用于时变非线性微分方程的一阶和二阶伴随灵敏度分析。PETSc TSAdjoint中的导数计算本质上是一个高级算法微分过程。伴随模型是通过区分时间步进算法推导出来的,并基于PETSc的并行架构实现。因此,避免了包括MPI例程的库代码的完全区分,并且用户不需要为他们的特定应用导出他们自己的伴随模型。PETSc TSAdjoint可以计算一阶导数,即标量泛函的梯度,以及携带二阶导数信息的Hessian-vector乘积,同时需要来自用户的最小输入(几个回调)。最佳检查点方案采用的伴随模型的方式,是透明的用户。可用性,效率和可扩展性通过各种应用程序的例子证明。

英文摘要:

We present a new software system PETSc TSAdjoint for first-order and second-order adjoint sensitivity analysis of time-dependent nonlinear differential equations. The derivative calculation in PETSc TSAdjoint is essentially a high-level algorithmic differentiation process. The adjoint models are derived by differentiating the timestepping algorithms and implemented based on the parallel infrastructure in PETSc. Full differentiation of the library code including MPI routines thus is avoided, and users do not need to derive their own adjoint models for their specific applications. PETSc TSAdjoint can compute the first-order derivative, that is, the gradient of a scalar functional, and the Hessian-vector product that carries second-order derivative information, while requiring minimal input (a few callbacks) from the users. Optimal checkpointing schemes are employed by the adjoint model in a manner that is transparent to users. Usability, efficiency, and scalability are demonstrated through examples from a variety of applications.

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

↑