mlsanityData to 7 Oct 2026

BayesFlow 2: Multi-Backend Amortized Bayesian Inference in Python

arXiv 2602.07098 ↗First posted 6 Feb 2026stat.CO cs.LG stat.MLcited by 7

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

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  4. 2022Flow Matching for Generative Modelingcited by 5,426
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  6. 2016Density estimation using Real NVPcited by 2,029
  7. 2023Consistency Modelscited by 1,778
  8. 2017Deep Setscited by 1,394
  9. 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,315
  10. 2014NICE: Non-linear Independent Components Estimationcited by 1,052
  11. 2023Improving and generalizing flow-based generative models with minibatch optimal transportcited by 835
  12. 2017Masked Autoregressive Flow for Density Estimationcited by 680
38 more
  1. 2021Maximum Likelihood Training of Score-Based Diffusion Modelscited by 670
  2. 2019Neural Spline Flowscited by 590
  3. 2019The frontier of simulation-based inferencecited by 490
  4. 2022Transformers in Time Series: A Surveycited by 489
  5. 2023Improved Techniques for Training Consistency Modelscited by 430
  6. 2018Pyro: Deep Universal Probabilistic Programmingcited by 379
  7. 2013Black Box Variational Inferencecited by 317
  8. 2023Understanding Diffusion Objectives as the ELBO with Simple Data Augmentationcited by 293
  9. 2016Revisiting Classifier Two-Sample Testscited by 258
  10. 2018Sequential Neural Likelihood: Fast Likelihood-free Inference with Autoregressive Flowscited by 217
  11. 2018Validating Bayesian Inference Algorithms with Simulation-Based Calibrationcited by 118
  12. 2020On Contrastive Learning for Likelihood-free Inferencecited by 96
  13. 2021Simulation Intelligence: Towards a New Generation of Scientific Methodscited by 68
  14. 2018Likelihood-free inference with emulator networkscited by 61
  15. 2021Detecting Model Misspecification in Amortized Bayesian Inference with Neural Networkscited by 48
  16. 2023Learning Robust Statistics for Simulation-based Inference under Model Misspecificationcited by 48
  17. 2020Bayesian Workflowcited by 47
  18. 2022Robust Neural Posterior Estimation and Statistical Model Criticismcited by 45
  19. 2015Pareto Smoothed Importance Samplingcited by 42
  20. 2023JANA: Jointly Amortized Neural Approximation of Complex Bayesian Modelscited by 41
  21. 2024Neural Methods for Amortized Inferencecited by 36
  22. 2019MadMiner: Machine learning-based inference for particle physicscited by 32
  23. 2023BayesFlow: Amortized Bayesian Workflows With Neural Networkscited by 32
  24. 2016Inference Compilation and Universal Probabilistic Programmingcited by 31
  25. 2022Likelihood-Free Parameter Estimation with Neural Bayes Estimatorscited by 31
  26. 2025Simulation-Based Inference: A Practical Guidecited by 30
  27. 2021Graphical Test for Discrete Uniformity and its Applications in Goodness of Fit Evaluation and Multiple Sample Comparisoncited by 26
  28. 2023Free-form Flows: Make Any Architecture a Normalizing Flowcited by 26
  29. 2017Visualization in Bayesian workflowcited by 25
  30. 2022Reliable amortized variational inference with physics-based latent distribution correctioncited by 25
  31. 2024BlackJAX: Composable Bayesian inference in JAXcited by 24
  32. 2024sbi reloaded: a toolkit for simulation-based inference workflowscited by 23
  33. 2020Amortized Bayesian model comparison with evidential deep learningcited by 22
  34. 2023Consistency Models for Scalable and Fast Simulation-Based Inferencecited by 22
  35. 2023Sensitivity-Aware Amortized Bayesian Inferencecited by 20
  36. 2016Inference Networks for Sequential Monte Carlo in Graphical Modelscited by 19
  37. 2022Simulation-Based Calibration Checking for Bayesian Computation: The Choice of Test Quantities Shapes Sensitivitycited by 19
  38. 2023Adversarial robustness of amortized Bayesian inferencecited by 17

50 most cited of 66 All 66 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 7.

7 papers.