# sbi reloaded: a toolkit for simulation-based inference workflows

arXiv: https://arxiv.org/abs/2411.17337 · HTML: https://mlsanity.com/paper/2411.17337/

## Key facts

- Cited by 23 papers in the map (data through 14 Oct 2026).
- Builds on 27 of its 61 references that are in the map.
- First posted on arXiv 26 Nov 2024.

## Builds on (most cited first, 27 of 27)

- [Score-Based Generative Modeling through Stochastic Differential Equations](https://mlsanity.com/paper/2011.13456/) (2020)
- [Flow Matching for Generative Modeling](https://mlsanity.com/paper/2210.02747/) (2022)
- [Normalizing Flows for Probabilistic Modeling and Inference](https://mlsanity.com/paper/1912.02762/) (2019)
- [Pyro: Deep Universal Probabilistic Programming](https://mlsanity.com/paper/1810.09538/) (2018)
- [Sequential Neural Likelihood: Fast Likelihood-free Inference with Autoregressive Flows](https://mlsanity.com/paper/1805.07226/) (2018)
- [Automatic Posterior Transformation for Likelihood-Free Inference](https://mlsanity.com/paper/1905.07488/) (2019)
- [Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyro](https://mlsanity.com/paper/1912.11554/) (2019)
- [BayesFlow: Learning complex stochastic models with invertible neural networks](https://mlsanity.com/paper/2003.06281/) (2020)
- [Validating Bayesian Inference Algorithms with Simulation-Based Calibration](https://mlsanity.com/paper/1804.06788/) (2018)
- [Flow Matching for Scalable Simulation-Based Inference](https://mlsanity.com/paper/2305.17161/) (2023)
- [All-in-one simulation-based inference](https://mlsanity.com/paper/2404.09636/) (2024)
- [Fast ε-free Inference of Simulation Models with Bayesian Conditional Density Estimation](https://mlsanity.com/paper/1605.06376/) (2016)
- [Sequential Neural Score Estimation: Likelihood-Free Inference with Conditional Score Based Diffusion Models](https://mlsanity.com/paper/2210.04872/) (2022)
- [Sampling-Based Accuracy Testing of Posterior Estimators for General Inference](https://mlsanity.com/paper/2302.03026/) (2023)
- [Variational methods for simulation-based inference](https://mlsanity.com/paper/2203.04176/) (2022)
- [Truncated proposals for scalable and hassle-free simulation-based inference](https://mlsanity.com/paper/2210.04815/) (2022)
- [BayesFlow: Amortized Bayesian Workflows With Neural Networks](https://mlsanity.com/paper/2306.16015/) (2023)
- [Sequential Neural Posterior and Likelihood Approximation](https://mlsanity.com/paper/2102.06522/) (2021)
- [L-C2ST: Local Diagnostics for Posterior Approximations in Simulation-Based Inference](https://mlsanity.com/paper/2306.03580/) (2023)
- [Adversarial robustness of amortized Bayesian inference](https://mlsanity.com/paper/2305.14984/) (2023)
- [Generalized Bayesian Inference for Scientific Simulators via Amortized Cost Estimation](https://mlsanity.com/paper/2305.15208/) (2023)
- [Black-box Bayesian inference for economic agent-based models](https://mlsanity.com/paper/2202.00625/) (2022)
- [A neural simulation-based inference approach for characterizing the Galactic Center γ-ray excess](https://mlsanity.com/paper/2110.06931/) (2021)
- [Accelerated Bayesian SED Modeling using Amortized Neural Posterior Estimation](https://mlsanity.com/paper/2203.07391/) (2022)
- [Calibrating Agent-based Models to Microdata with Graph Neural Networks](https://mlsanity.com/paper/2206.07570/) (2022)
- [Simulation-based Inference with the Python Package sbijax](https://mlsanity.com/paper/2409.19435/) (2024)
- [A Comprehensive Guide to Simulation-based Inference in Computational Biology](https://mlsanity.com/paper/2409.19675/) (2024)

## Built on by (most cited first, 23 of 23)

- [Simulation-Based Inference: A Practical Guide](https://mlsanity.com/paper/2508.12939/) (2025)
- [Effortless, Simulation-Efficient Bayesian Inference using Tabular Foundation Models](https://mlsanity.com/paper/2504.17660/) (2025)
- [A Probabilistic Framework for LLM-Based Model Discovery](https://mlsanity.com/paper/2602.18266/) (2026)
- [Multifidelity Simulation-based Inference for Computationally Expensive Simulators](https://mlsanity.com/paper/2502.08416/) (2025)
- [BayesFlow 2: Multi-Backend Amortized Bayesian Inference in Python](https://mlsanity.com/paper/2602.07098/) (2026)
- [CP4SBI: Local Conformal Calibration of Credible Sets in Simulation-Based Inference](https://mlsanity.com/paper/2508.17077/) (2025)
- [FNOPE: Simulation-based inference on function spaces with Fourier Neural Operators](https://mlsanity.com/paper/2505.22573/) (2025)
- [Minimum Distance Summaries for Robust Neural Posterior Estimation](https://mlsanity.com/paper/2602.09161/) (2026)
- [Scalable Simulation-Based Model Inference with Test-Time Complexity Control](https://mlsanity.com/paper/2603.15292/) (2026)
- [Learning Individual Reproductive Behavior from Aggregate Fertility Rates via Neural Posterior Estimation](https://mlsanity.com/paper/2506.22607/) (2025)
- [Supercharging Simulation-Based Inference for Bayesian Optimal Experimental Design](https://mlsanity.com/paper/2602.06900/) (2026)
- [Tokenised Flow Matching for Hierarchical Simulation Based Inference](https://mlsanity.com/paper/2604.20723/) (2026)
- [An Introduction to Bayesian and Frequentist Simulation-Based Inference with Machine Learning](https://mlsanity.com/paper/2607.21702/) (2026)
- [Direct Fisher Score Estimation for Likelihood Maximization](https://mlsanity.com/paper/2506.06542/) (2025)
- [Posterior-driven Heuristic Support Adaptation in a Probabilistic Treatment of Real2Sim2Real for Vision-Driven Deformable Linear Object Manipulation](https://mlsanity.com/paper/2510.26656/) (2025)
- [A differentiable model of supply-chain shocks](https://mlsanity.com/paper/2511.05231/) (2025)
- [Neural Posterior Estimation of Terrain Parameters from Radar Sounder Data](https://mlsanity.com/paper/2605.08179/) (2026)
- [Mixed neural posterior estimation for simulators with discrete and continuous parameters](https://mlsanity.com/paper/2605.13551/) (2026)
- [Posterior Inference of Hamiltonian Parameters from RIXS Spectroscopy](https://mlsanity.com/paper/2608.13848/) (2026)
- [Uncovering Hidden Leptonic Correlations with Flow Matching and Autoencoders](https://mlsanity.com/paper/2608.15042/) (2026)
- [Source Distribution Estimation by Posterior Averaging](https://mlsanity.com/paper/2609.02622/) (2026)
- [Simulation-Based Quantum System Inference with Neural Posterior Estimation](https://mlsanity.com/paper/2609.34995/) (2026)
- [Uncertainty Quantification in Cardiac Model Personalisation from Ultrafast Ultrasound](https://mlsanity.com/paper/2609.35214/) (2026)

## Abstract (arXiv)

Scientists and engineers use simulators to model empirically observed phenomena. However, tuning the parameters of a simulator to ensure its outputs match observed data presents a significant challenge. Simulation-based inference (SBI) addresses this by enabling Bayesian inference for simulators, identifying parameters that match observed data and align with prior knowledge. Unlike traditional Bayesian inference, SBI only needs access to simulations from the model and does not require evaluations of the likelihood function. In addition, SBI algorithms do not require gradients through the simulator, allow for massive parallelization of simulations, and can perform inference for different observations without further simulations or training, thereby amortizing inference. Over the past years, we have developed, maintained, and extended sbi, a PyTorch-based package that implements Bayesian SBI algorithms based on neural networks. The sbi toolkit implements a wide range of inference methods, neural network architectures, sampling methods, and diagnostic tools. In addition, it provides well-tested default settings, but also offers flexibility to fully customize every step of the simulation-based inference workflow. Taken together, the sbi toolkit enables scientists and engineers to apply state-of-the-art SBI methods to black-box simulators, opening up new possibilities for aligning simulations with empirically observed data.
