Heavy Ball Neural Ordinary Differential Equations

Hedi Xia, Vai Suliafu, Hangjie Ji, Tan M. Nguyen, Andrea L. Bertozzi +2 more
10/10/2021
cs.LGcs.AImath.DS

Official code: hedixia/HeavyBallNODE (13 stars, Jupyter Notebook, last commit 2021-10-24).

Abstract

We propose heavy ball neural ordinary differential equations (HBNODEs), leveraging the continuous limit of the classical momentum accelerated gradient descent, to improve neural ODEs (NODEs) training and inference. HBNODEs have two properties that imply practical advantages over NODEs: (i) The adjoint state of an HBNODE also satisfies an HBNODE, accelerating both forward and backward ODE solvers, thus significantly reducing the number of function evaluations (NFEs) and improving the utility of the trained models. (ii) The spectrum of HBNODEs is well structured, enabling effective learning of long-term dependencies from complex sequential data.

Show full abstract

We verify the advantages of HBNODEs over NODEs on benchmark tasks, including image classification, learning complex dynamics, and sequential modeling. Our method requires remarkably fewer forward and backward NFEs, is more accurate, and learns long-term dependencies more effectively than the other ODE-based neural network models. Code is available at \url{https://github.com/hedixia/HeavyBallNODE}.

View on arXivView PDF

Code Implementations(1)

133Jupyter Notebook, PythonDec 30, 20205 years ago

Similar Papers

Cite this paper

@article{xia2021heavy,
  title  = {Heavy Ball Neural Ordinary Differential Equations},
  author = {Hedi Xia and Vai Suliafu and Hangjie Ji and Tan M. Nguyen and Andrea L. Bertozzi and Stanley J. Osher and Bao Wang},
  year   = {2021},
  eprint = {2110.04840},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.04840}
}

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/2110.04840.svg)](https://codeofpaper.com/paper/2110.04840)

Discussion