mlsanityData to 14 Oct 2026

GenSBI: Generative Methods for Simulation-Based Inference in JAX

arXiv 2605.27499 ↗First posted 26 May 2026cs.LG astro-ph.CO astro-ph.IMcited by 0

On the map: Diffusion models → Flow matching, time series and science

Abstract (arXiv)

Flow and diffusion generative models have established themselves as widely adopted density estimators for simulation-based inference (SBI), extending naturally from neural posterior estimation to likelihood and joint density estimation. Their principled optimization objectives and freedom from architectural constraints have driven rapid adoption across the natural sciences. Yet the most widely used SBI libraries remain PyTorch-based, leaving researchers who develop their forward models and analysis pipelines in JAX without a native option. We present GenSBI, an open-source library that implements flow matching, score matching, and denoising diffusion entirely in JAX. The library offers three transformer-based architectures - SimFormer, Flux1, and a novel Flux1Joint that extends gate-modulated transformer blocks to joint density estimation - all interchangeable through a unified interface that decouples generative method, neural backbone, and inference mode. GenSBI provides an end-to-end workflow from training through posterior calibration (SBC, TARP, LC2ST) and supports custom architectures with domain-specific embedding networks. We validate the framework on standard SBI benchmarks, achieving near-ideal mean C2ST scores (0.50-0.56, where 0.50 is ideal) on SBIBM tasks with minimal per-task tuning and well-calibrated posterior coverage across all tested configurations. The code is publicly available at https://github.com/aurelio-amerio/GenSBI.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 51 of its 83 references that are in the map. First posted on arXiv 26 May 2026.

Builds on

51 of 83 references.

Closest ancestors · 7

Same direction, newest first

  1. 2026OneFlowSBI: One Model, Many Queries for Simulation-Based Inference30 Jan
  2. 2025The Curse of Conditions: Analyzing and Improving Optimal Transport for Conditional Flow-Based Generation13 Mar
  3. 2025Diffusion Models for Molecules: A Survey of Methods and Tasks13 Feb
  4. 2024Flow Matching Guide and Code9 Dec
  5. 2023Flow Matching for Scalable Simulation-Based Inference26 May
  6. 2023Improving and generalizing flow-based generative models with minibatch optimal transport1 Feb
  7. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow7 Sep

Other references · 44

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  5. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  6. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
  7. 2022Scalable Diffusion Models with Transformerscited by 6,054
  8. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
  9. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 3,045
  10. 2022Diffusion Models: A Comprehensive Survey of Methods and Applicationscited by 1,114
  11. 2022TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysiscited by 1,058
  12. 2020Improved Techniques for Training Score-Based Generative Modelscited by 1,043
32 more
  1. 2025FLUX.1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Spacecited by 1,006
  2. 2023Stochastic Interpolants: A Unifying Framework for Flows and Diffusionscited by 939
  3. 2017Masked Autoregressive Flow for Density Estimationcited by 684
  4. 2019Neural Spline Flowscited by 596
  5. 2025Mean Flows for One-step Generative Modelingcited by 561
  6. 2019The frontier of simulation-based inferencecited by 502
  7. 2016Revisiting Classifier Two-Sample Testscited by 268
  8. 2018Sequential Neural Likelihood: Fast Likelihood-free Inference with Autoregressive Flowscited by 221
  9. 2019Automatic Posterior Transformation for Likelihood-Free Inferencecited by 219
  10. 2019Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyrocited by 191
  11. 2021Benchmarking Simulation-Based Inferencecited by 162
  12. 2020BayesFlow: Learning complex stochastic models with invertible neural networkscited by 144
  13. 2018Validating Bayesian Inference Algorithms with Simulation-Based Calibrationcited by 124
  14. 2022Optimal Transport Tools (OTT): A JAX Toolbox for all things Wassersteincited by 101
  15. 2016Neural Autoregressive Distribution Estimationcited by 95
  16. 2021Real-time gravitational-wave science with neural posterior estimationcited by 78
  17. 2024All-in-one simulation-based inferencecited by 74
  18. 2013RNADE: The real-valued neural autoregressive density-estimatorcited by 66
  19. 2016Fast ε-free Inference of Simulation Models with Bayesian Conditional Density Estimationcited by 52
  20. 2023Sampling-Based Accuracy Testing of Posterior Estimators for General Inferencecited by 46
  21. 2024Neural Methods for Amortized Inferencecited by 39
  22. 2025Simulation-Based Inference: A Practical Guidecited by 32
  23. 2024BlackJAX: Composable Bayesian inference in JAXcited by 26
  24. 2021HNPE: Leveraging Global Parameters for Neural Posterior Estimationcited by 19
  25. 2020OutbreakFlow: Model-based Bayesian inference of disease outbreak dynamics with invertible neural networks and its application to the COVID-19 pandemics in Germanycited by 18
  26. 2023L-C2ST: Local Diagnostics for Posterior Approximations in Simulation-Based Inferencecited by 18
  27. 2024Stochastic Sampling from Deterministic Flow Modelscited by 18
  28. 2025Joint Distillation for Fast Likelihood Evaluation and Sampling in Flow-based Modelscited by 18
  29. 2025Diffusion Models in Simulation-Based Inference: A Tutorial Reviewcited by 11
  30. 2019Likelihood-free MCMC with Amortized Approximate Ratio Estimatorscited by 10
  31. 2024Simulation-based Inference with the Python Package sbijaxcited by 6
  32. 2024A Comprehensive Guide to Simulation-based Inference in Computational Biologycited by 6

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Diffusion posterior sampling for simulation-based inference in tall data settings
  2. 2025A Review of Diffusion-based Simulation-Based Inference: Foundations and Applications in Non-Ideal Data Scenarios
  3. 2024A survey of probabilistic generative frameworks for molecular simulations
  4. 2026Spectra: Exact Component Transport for Test-Time Prior Adaptation in Simulation-Based Inference
  5. 2026Tokenised Flow Matching for Hierarchical Simulation Based Inference
  6. 2025Diffusion Tree Sampling: Scalable inference-time alignment of diffusion models
  7. 2026Calibrating Generative Flows through Regional Probability Matching
  8. 2025Inference-Time Alignment in Diffusion Models with Reward-Guided Generation: Tutorial and Review