arXiv · 2026
BayesFlow 2: Multi-Backend Amortized Bayesian Inference in Python
Lars Kühmichel, Jerry M. Huang, Valentin Pratz, Jonas Arruda, Hans Olischläger, Daniel Habermann, Simon Kucharsky, Lasse Elsemüller, Aayush Mishra, Niels Bracher, Svenja Jedhoff, Marvin Schmitt, Paul-Christian Bürkner, Stefan T. Radev

We present the new BayesFlow 2 framework for general-purpose amortized Bayesian inference. Along with direct posterior, likelihood, and ratio estimation, the software includes support for multiple popular deep learning backends, a rich collection of generative networks for sampling and density estimation, complete customization and high-level interfaces, as well as new capabilities for hyperparameter optimization, design optimization, and hierarchical modeling.
amortized inference
simulation-based inference
software
Bayesian workflow
diffusion models