Scalable Gradients for Stochastic Differential Equations

Xuechen Li, Ting-Kam Leonard Wong, Ricky T. Q. Chen, David Duvenaud
1/5/2020
478 citations
cs.LGmath.NAstat.ML

Official code: google-research/torchsde (1,726 stars, Python, Apache-2.0, PyTorch, last commit 2024-12-30).

Abstract

The adjoint sensitivity method scalably computes gradients of solutions to ordinary differential equations. We generalize this method to stochastic differential equations, allowing time-efficient and constant-memory computation of gradients with high-order adaptive solvers.

Show full abstract

Specifically, we derive a stochastic differential equation whose solution is the gradient, a memory-efficient algorithm for caching noise, and conditions under which numerical solutions converge. In addition, we combine our method with gradient-based stochastic variational inference for latent stochastic differential equations. We use our method to fit stochastic dynamics defined by neural networks, achieving competitive performance on a 50-dimensional motion capture dataset.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Differentiable SDE solvers with GPU support and efficient sensitivity analysis.

1,726232PythonJul 6, 20201 years agoApache-2.0
deep-learningdeep-neural-networksdifferential-equationsdynamical-systemsneural-differential-equations+4 more

Similar Papers

Cite this paper

@article{li2020scalable,
  title  = {Scalable Gradients for Stochastic Differential Equations},
  author = {Xuechen Li and Ting-Kam Leonard Wong and Ricky T. Q. Chen and David Duvenaud},
  year   = {2020},
  eprint = {2001.01328},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.01328}
}

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

Discussion