BayesFlow: Amortized Bayesian Workflows With Neural Networks

Stefan T Radev, Marvin Schmitt, Lukas Schumacher, Lasse Elsemüller, Valentin Pratz +3 more
6/28/2023
cs.LGcs.AIstat.ML

Official code: bayesflow-org/bayesflow (775 stars, MIT, last commit 2026-04-29).

Abstract

Modern Bayesian inference involves a mixture of computational techniques for estimating, validating, and drawing conclusions from probabilistic models as part of principled workflows for data analysis. Typical problems in Bayesian workflows are the approximation of intractable posterior distributions for diverse model types and the comparison of competing models of the same process in terms of their complexity and predictive performance. This manuscript introduces the Python library BayesFlow for simulation-based training of established neural network architectures for amortized data compression and inference. Amortized Bayesian inference, as implemented in BayesFlow, enables users to train custom neural networks on model simulations and re-use these networks for any subsequent application of the models. Since the trained networks can perform inference almost instantaneously, the upfront neural network training is quickly amortized.

View on arXivView PDF

Code Implementations(1)

MIT

A Python library for efficient Bayesian modeling with deep learning

77593CSS, TeXNov 17, 20195 months agoMIT
amortized-inferencebayesian-statisticscomputational-modelingdeep-learninggenerative-ai+3 more

Similar Papers

Cite this paper

@article{radev2023bayesflow,
  title  = {BayesFlow: Amortized Bayesian Workflows With Neural Networks},
  author = {Stefan T Radev and Marvin Schmitt and Lukas Schumacher and Lasse Elsemüller and Valentin Pratz and Yannik Schälte and Ullrich Köthe and Paul-Christian Bürkner},
  year   = {2023},
  eprint = {2306.16015},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.16015v2}
}

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

Discussion