On Numerical Integration in Neural Ordinary Differential Equations

Aiqing Zhu, Pengzhan Jin, Beibei Zhu, Yifa Tang
6/15/2022
cs.LGmath.NA

Official code: Aiqing-Zhu/IMDE (3 stars, Python, last commit 2022-09-30).

Abstract

The combination of ordinary differential equations and neural networks, i.e., neural ordinary differential equations (Neural ODE), has been widely studied from various angles. However, deciphering the numerical integration in Neural ODE is still an open challenge, as many researches demonstrated that numerical integration significantly affects the performance of the model.

Show full abstract

In this paper, we propose the inverse modified differential equations (IMDE) to clarify the influence of numerical integration on training Neural ODE models. IMDE is determined by the learning task and the employed ODE solver. It is shown that training a Neural ODE model actually returns a close approximation of the IMDE, rather than the true ODE. With the help of IMDE, we deduce that (i) the discrepancy between the learned model and the true ODE is bounded by the sum of discretization error and learning loss; (ii) Neural ODE using non-symplectic numerical integration fail to learn conservation laws theoretically. Several experiments are performed to numerically verify our theoretical analysis.

View on arXivView PDF

Code Implementations(1)

Aiqing-Zhu/IMDEOfficial100%

PyTorch Implementation of: On Numerical Integration in Neural Ordinary Differential Equations

30PythonJan 18, 20224 years ago

Similar Papers

Cite this paper

@article{zhu2022numerical,
  title  = {On Numerical Integration in Neural Ordinary Differential Equations},
  author = {Aiqing Zhu and Pengzhan Jin and Beibei Zhu and Yifa Tang},
  year   = {2022},
  eprint = {2206.07335},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.07335}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.07335.svg)](https://codeofpaper.com/paper/2206.07335)

Discussion