Infinitely Deep Bayesian Neural Networks with Stochastic Differential Equations

Winnie Xu, Ricky T. Q. Chen, Xuechen Li, David Duvenaud
2/12/2021
59 citations
stat.MLcs.LG
bayesian

Official code: xwinxu/bayeSDE (171 stars, Python, MIT, PyTorch, last commit 2022-02-11).

Abstract

We perform scalable approximate inference in continuous-depth Bayesian neural networks. In this model class, uncertainty about separate weights in each layer gives hidden units that follow a stochastic differential equation.

Show full abstract

We demonstrate gradient-based stochastic variational inference in this infinite-parameter setting, producing arbitrarily-flexible approximate posteriors. We also derive a novel gradient estimator that approaches zero variance as the approximate posterior over weights approaches the true posterior. This approach brings continuous-depth Bayesian neural nets to a competitive comparison against discrete-depth alternatives, while inheriting the memory-efficient training and tunable precision of Neural ODEs.

View on arXivView PDF

Code Implementations(1)

xwinxu/bayeSDEOfficial100%
PyTorchMIT

Code for "Infinitely Deep Bayesian Neural Networks with Stochastic Differential Equations"

17128Python, ShellFeb 4, 20214 years agoMIT
bayesian-layersbayesian-neural-networksdeep-learningdeep-neural-networksjax+5 more

Similar Papers

Cite this paper

@article{xu2021infinitely,
  title  = {Infinitely Deep Bayesian Neural Networks with Stochastic Differential Equations},
  author = {Winnie Xu and Ricky T. Q. Chen and Xuechen Li and David Duvenaud},
  year   = {2021},
  eprint = {2102.06559},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.06559}
}

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

Discussion