BayesFlow: Learning complex stochastic models with invertible neural networks

Stefan T. Radev, Ulf K. Mertens, Andreas Voss, Lynton Ardizzone, Ullrich Köthe
3/13/2020
stat.MLcs.LG

Official code: stefanradev93/cINN (25 stars, last commit 2020-12-20).

Abstract

Estimating the parameters of mathematical models is a common problem in almost all branches of science. However, this problem can prove notably difficult when processes and model descriptions become increasingly complex and an explicit likelihood function is not available. With this work, we propose a novel method for globally amortized Bayesian inference based on invertible neural networks which we call BayesFlow. The method uses simulation to learn a global estimator for the probabilistic mapping from observed data to underlying model parameters. A neural network pre-trained in this way can then, without additional training or optimization, infer full posteriors on arbitrary many real datasets involving the same model family. In addition, our method incorporates a summary network trained to embed the observed data into maximally informative summary statistics. Learning summary statistics from data makes the method applicable to modeling scenarios where standard inference techniques with hand-crafted summary statistics fail. We demonstrate the utility of BayesFlow on challenging intractable models from population dynamics, epidemiology, cognitive science and ecology. We argue that BayesFlow provides a general framework for building amortized Bayesian parameter estimation machines for any forward model from which data can be simulated.

View on arXivView PDF

Code Implementations(1)

stefanradev93/cINNOfficial100%

Contains legacy code and model examples for the paper "BayesFlow: Learning complex stochastic models with invertible neural networks"

256R, PythonApr 10, 20195 years ago

Cite this paper

@article{radev2020bayesflow,
  title  = {BayesFlow: Learning complex stochastic models with invertible neural networks},
  author = {Stefan T. Radev and Ulf K. Mertens and Andreas Voss and Lynton Ardizzone and Ullrich Köthe},
  year   = {2020},
  eprint = {2003.06281},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.06281}
}

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

Discussion