Article view

Simulation-based Inference with the Python Package sbijax

By Simon Dirmeier, Antonietta Mira, Carlo Albert

Article information

Publication
Published 30 October 2026
Institutions at publication
ETH Zurich; Swiss Data Science Center; University of Insubria; Università della Svizzera italiana; Swiss Federal Institute of Aquatic Science and Technology
10 Citations OpenAlex, 4 December 2026 FULL LIST: Citations
Countries with citations No data yet
Usage Phase 3: not collected yet

Abstract

In natural sciences like astrophysics, biology or neuroscience, models can be frequently formulated as simulator functions, i.e., computer programs that stochastically map a parameter vector 𝜃 to synthetic data 𝑥.Even though simulators of this kind can represent realistic descriptions of real-world data-generating processes, they often emit intractable probability density functions. However, statistical inference of the parameters of a simulator requires the likelihood 𝑝(𝑥|𝜃) to be tractable, such that inference algorithms like Markov chain Monte Carlo can be applied. Simulation-based inference (SBI) circumvents this by only requiring the ability to sample from the simulator: parameters 𝜃 are drawn from the prior distribution 𝑝(𝜃), an observable 𝑥 is drawn from the simulator 𝑝(𝑥|𝜃), and the resulting pairs are used to approximate the posterior distribution. In computational statistics, neural SBI describes an emerging family of methods for Bayesian inference for simulator models that use neural networks as surrogate models. Here we introduce sbijax, a Python package that implements a wide variety of state-of-the-art methods in neural SBI using a user-friendly programming interface. Targeted at domain scientists, e.g., in computational physics or computational biology, and SBI researchers, sbijax offers a compact functional interface to construct SBI estimators and compute posterior distributions with a few lines of code. In addition, the package provides functionality for conventional approximate Bayesian computation, to compute model diagnostics, and to automatically estimate summary statistics. By virtue of being entirely written in JAX, sbijax is extremely computationally efficient, allowing rapid training of neural networks and executing code automatically in parallel on both CPU and GPU.

Citations per year

Citations per year
YearCitations
2026 4

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 10 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • AUTHORS
  • CITATIONS No data yet
  • USAGE Phase 3
Authors by country
CountryAuthors
Switzerland3
Italy1