arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.08085math.OCcs.LG
收藏

关于通过常微分方程反向传播Hessians

On backpropagating Hessians through ODEs

King’s College, London(伦敦国王学院);Google Research(谷歌研究院)

Axel Ciceri, Thomas Fischbacher

摘要:

我们讨论的问题,通过常微分方程(常微分方程)在不同的背景下,并阐明不同的方法可能是有利的,在特定情况下的数值反向传播海森。我们讨论了理论和务实方面,如,分别计算工作量和框架开销的典型影响的界限。着重于手工实现的ODE-反向传播的方法,我们开发了计算的力学系统的轨道不封闭的海森。我们还澄清了数学框架扩展的后向常微分方程的协态方程的海森,在其最通用的形式。一些计算,如轨道非封闭的Hessian,在一种语言中进行,定义在一个正式的语法,我们介绍,以方便跟踪中间量。作为教学实例,我们讨论了高维谐振子的轨道不封闭的Hessian问题和牛顿引力理论中的相关概念问题。特别是,将我们的方法应用于8字形三体轨道,我们很容易重新发现最初由Simó描述的扭曲的8字形解。可能的应用包括:用二阶方法改进“神经ODE”型深度学习的训练,对经典路径周围的量子校正进行数值分析,更广泛地说,研究调整ODE初始配置的选项,以便对某些给定的目标函数的影响很小。

英文摘要:

We discuss the problem of numerically backpropagating Hessians through ordinary differential equations (ODEs) in various contexts and elucidate how different approaches may be favourable in specific situations. We discuss both theoretical and pragmatic aspects such as, respectively, bounds on computational effort and typical impact of framework overhead. Focusing on the approach of hand-implemented ODE-backpropagation, we develop the computation for the Hessian of orbit-nonclosure for a mechanical system. We also clarify the mathematical framework for extending the backward-ODE-evolution of the costate-equation to Hessians, in its most generic form. Some calculations, such as that of the Hessian for orbit non-closure, are performed in a language, defined in terms of a formal grammar, that we introduce to facilitate the tracking of intermediate quantities. As pedagogical examples, we discuss the Hessian of orbit-nonclosure for the higher dimensional harmonic oscillator and conceptually related problems in Newtonian gravitational theory. In particular, applying our approach to the figure-8 three-body orbit, we readily rediscover a distorted-figure-8 solution originally described by Simó. Possible applications may include: improvements to training of `neural ODE'- type deep learning with second-order methods, numerical analysis of quantum corrections around classical paths, and, more broadly, studying options for adjusting an ODE's initial configuration such that the impact on some given objective function is small.

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

↑