局部正则化神经微分方程:有些黑盒本应保持封闭!
Locally Regularized Neural Differential Equations: Some Black Boxes Were Meant to Remain Closed!
AI总结:
本文提出局部正则化神经微分方程,利用自适应求解器在随机时间点的内部成本启发式引导训练,兼容任意伴随梯度方法,在 ODE 与 SDE 上以相近性能显著降低函数评估次数并加速预测。
摘要:
隐式层深度学习技术(如 Neural Differential Equations,神经微分方程)因其自动适应新问题的能力,已成为一种重要的建模范式。训练神经微分方程实际上是在合理的动力系统空间中进行搜索。然而,控制这些模型的计算成本十分困难,因为成本取决于自适应求解器所采取的步数。以往大多数工作要么使用高阶方法来减少预测耗时,但会大幅增加训练时间;要么依靠特定训练算法同时减少训练和预测耗时,但由于对自动微分有严格要求,这些算法难以作为即插即用的替代方案。在本文中,我们在随机时间点利用自适应微分方程求解器的内部成本启发式信息,引导训练学习一个更易于积分的动力系统。我们“关闭黑盒”,并允许所提方法与任意 adjoint(伴随)技术结合,用于微分方程解的梯度计算。我们通过实验研究将该方法与全局正则化进行比较,结果表明:在常微分方程(ODE)和随机微分方程(SDE)上,我们取得了相近的性能数值,同时没有损害实现的灵活性。我们开发了两种采样策略,以在性能和训练时间之间进行权衡。所提方法将函数评估次数减少至 0.556–0.733 倍,并将预测加速 1.3–2 倍。
英文摘要:
Implicit layer deep learning techniques, like Neural Differential Equations, have become an important modeling framework due to their ability to adapt to new problems automatically. Training a neural differential equation is effectively a search over a space of plausible dynamical systems. However, controlling the computational cost for these models is difficult since it relies on the number of steps the adaptive solver takes. Most prior works have used higher-order methods to reduce prediction timings while greatly increasing training time or reducing both training and prediction timings by relying on specific training algorithms, which are harder to use as a drop-in replacement due to strict requirements on automatic differentiation. In this manuscript, we use internal cost heuristics of adaptive differential equation solvers at stochastic time points to guide the training toward learning a dynamical system that is easier to integrate. We "close the black-box" and allow the use of our method with any adjoint technique for gradient calculations of the differential equation solution. We perform experimental studies to compare our method to global regularization to show that we attain similar performance numbers without compromising the flexibility of implementation on ordinary differential equations (ODEs) and stochastic differential equations (SDEs). We develop two sampling strategies to trade off between performance and training time. Our method reduces the number of function evaluations to 0.556-0.733x and accelerates predictions by 1.3-2x.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。