BayesFlow 2: Multi-Backend Amortized Bayesian Inference in Python
Not on the map. Why?
Abstract (arXiv)
Modern Bayesian inference involves a mixture of computational methods for estimating, validating, and drawing conclusions from probabilistic models as part of principled workflows. An overarching motif of many Bayesian methods is that they are relatively slow, which often becomes prohibitive when fitting complex models to large data sets. Amortized Bayesian inference (ABI) offers a path to solving the computational challenges of Bayes. ABI trains neural networks on model simulations, rewarding users with rapid inference of any model-implied quantity, such as point estimates, likelihoods, or full posterior distributions. In this work, we present the Python library BayesFlow, Version 2.0, for general-purpose ABI. 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. Using a case study on dynamical system parameter estimation, combined with comparisons to similar software, we show that our streamlined, user-friendly workflow has strong potential to support broad adoption.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 66 of its 98 references that are in the map. First posted on arXiv 6 Feb 2026.
Builds on
66 of 98 references.
References · 66
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2022Flow Matching for Generative Modelingcited by 5,426
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2016Density estimation using Real NVPcited by 2,029
- 2023Consistency Modelscited by 1,778
- 2017Deep Setscited by 1,394
- 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,315
- 2014NICE: Non-linear Independent Components Estimationcited by 1,052
- 2023Improving and generalizing flow-based generative models with minibatch optimal transportcited by 835
- 2017Masked Autoregressive Flow for Density Estimationcited by 680
38 more
- 2021Maximum Likelihood Training of Score-Based Diffusion Modelscited by 670
- 2019Neural Spline Flowscited by 590
- 2019The frontier of simulation-based inferencecited by 490
- 2022Transformers in Time Series: A Surveycited by 489
- 2023Improved Techniques for Training Consistency Modelscited by 430
- 2018Pyro: Deep Universal Probabilistic Programmingcited by 379
- 2013Black Box Variational Inferencecited by 317
- 2023Understanding Diffusion Objectives as the ELBO with Simple Data Augmentationcited by 293
- 2016Revisiting Classifier Two-Sample Testscited by 258
- 2018Sequential Neural Likelihood: Fast Likelihood-free Inference with Autoregressive Flowscited by 217
- 2018Validating Bayesian Inference Algorithms with Simulation-Based Calibrationcited by 118
- 2020On Contrastive Learning for Likelihood-free Inferencecited by 96
- 2021Simulation Intelligence: Towards a New Generation of Scientific Methodscited by 68
- 2018Likelihood-free inference with emulator networkscited by 61
- 2021Detecting Model Misspecification in Amortized Bayesian Inference with Neural Networkscited by 48
- 2023Learning Robust Statistics for Simulation-based Inference under Model Misspecificationcited by 48
- 2020Bayesian Workflowcited by 47
- 2022Robust Neural Posterior Estimation and Statistical Model Criticismcited by 45
- 2015Pareto Smoothed Importance Samplingcited by 42
- 2023JANA: Jointly Amortized Neural Approximation of Complex Bayesian Modelscited by 41
- 2024Neural Methods for Amortized Inferencecited by 36
- 2019MadMiner: Machine learning-based inference for particle physicscited by 32
- 2023BayesFlow: Amortized Bayesian Workflows With Neural Networkscited by 32
- 2016Inference Compilation and Universal Probabilistic Programmingcited by 31
- 2022Likelihood-Free Parameter Estimation with Neural Bayes Estimatorscited by 31
- 2025Simulation-Based Inference: A Practical Guidecited by 30
- 2021Graphical Test for Discrete Uniformity and its Applications in Goodness of Fit Evaluation and Multiple Sample Comparisoncited by 26
- 2023Free-form Flows: Make Any Architecture a Normalizing Flowcited by 26
- 2017Visualization in Bayesian workflowcited by 25
- 2022Reliable amortized variational inference with physics-based latent distribution correctioncited by 25
- 2024BlackJAX: Composable Bayesian inference in JAXcited by 24
- 2024sbi reloaded: a toolkit for simulation-based inference workflowscited by 23
- 2020Amortized Bayesian model comparison with evidential deep learningcited by 22
- 2023Consistency Models for Scalable and Fast Simulation-Based Inferencecited by 22
- 2023Sensitivity-Aware Amortized Bayesian Inferencecited by 20
- 2016Inference Networks for Sequential Monte Carlo in Graphical Modelscited by 19
- 2022Simulation-Based Calibration Checking for Bayesian Computation: The Choice of Test Quantities Shapes Sensitivitycited by 19
- 2023Adversarial robustness of amortized Bayesian inferencecited by 17
50 most cited of 66 All 66 (JSON)
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Unsupervised Continual Learning for Amortized Bayesian Inferencecited by 0
- 2026Identifiability and amortized inference limitations in Kuramoto modelscited by 0
- 2026Inverting Foundation Models of Brain Function with Simulation-Based Inferencecited by 0
- 2026Conservative neural posterior estimation via distributionally robust trainingcited by 0
- 2026Divide-and-Conquer: Towards Generalizable Amortized Bayesian Inference for the Drift Diffusion Modelcited by 0
- 2026High-Dimensional Simulation-Based Inference in Latent Spacescited by 0
- 2026Amortized Bayesian Inference on Multilevel Models of Arbitrary Structurecited by 0
- 2026Amortized Bayesian Inference on Multilevel Models of Arbitrary Structure30 Sep 2026
- 2026High-Dimensional Simulation-Based Inference in Latent Spaces29 Sep 2026
- 2026Divide-and-Conquer: Towards Generalizable Amortized Bayesian Inference for the Drift Diffusion Model4 Aug 2026
- 2026Conservative neural posterior estimation via distributionally robust training27 May 2026
- 2026Inverting Foundation Models of Brain Function with Simulation-Based Inference26 Apr 2026
- 2026Identifiability and amortized inference limitations in Kuramoto models23 Mar 2026
- 2026Unsupervised Continual Learning for Amortized Bayesian Inference26 Feb 2026