Neural Ordinary Differential Equations

Ricky T. Q. Chen, Yulia Rubanova, Jesse Bettencourt, David Duvenaud
6/19/2018
cs.LGcs.AIstat.ML

Official code: rtqichen/torchdiffeq (6,490 stars, MIT, last commit 2025-04-04).

Abstract

We introduce a new family of deep neural network models. Instead of specifying a discrete sequence of hidden layers, we parameterize the derivative of the hidden state using a neural network. The output of the network is computed using a black-box differential equation solver. These continuous-depth models have constant memory cost, adapt their evaluation strategy to each input, and can explicitly trade numerical precision for speed. We demonstrate these properties in continuous-depth residual networks and continuous-time latent variable models. We also construct continuous normalizing flows, a generative model that can train by maximum likelihood, without partitioning or ordering the data dimensions. For training, we show how to scalably backpropagate through any ODE solver, without access to its internal operations. This allows end-to-end training of ODEs within larger models.

View on arXivView PDF

Code Implementations(1)

MIT

Differentiable ODE solvers with full GPU support and O(1)-memory backpropagation.

6,4901,001PythonNov 14, 20181 years agoMIT

Similar Papers

Cite this paper

@article{chen2018neural,
  title  = {Neural Ordinary Differential Equations},
  author = {Ricky T. Q. Chen and Yulia Rubanova and Jesse Bettencourt and David Duvenaud},
  year   = {2018},
  eprint = {1806.07366},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1806.07366}
}

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

Discussion