NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diffusion Models in Simulation-Based Inference: A Tutorial Review

Jonas Arruda, Niels Bracher, Ullrich Köthe, Jan Hasenauer, Stefan T. Radev

TL;DR

This tutorial review provides a comprehensive synthesis and empirical evaluation of diffusion models applied to Simulation-Based Inference (SBI). By systematically benchmarking various design choices—such as noise schedules, parameterizations, and samplers—across diverse scientific case studies, the authors deliver a practical roadmap for using score-based generative models to invert complex, likelihood-free simulators.

What Problem Does This Paper Address?

Many scientific disciplines rely on high-fidelity simulators to model complex systems, from cosmological structures to cognitive processes. While these simulators can easily generate synthetic data given a set of latent parameters, evaluating the likelihood of observing real-world data under the model is often computationally intractable. This is the core challenge of Simulation-Based Inference (SBI).

Figure 1: The three overarching fields whose intersection gives rise to simulation-based inference (SBI). Uncertainty quantification, inverse problems, and Bayesian inference. The ingredients of SBI are (1) a simulator that can generate synthetic observations y given latent parameters θ; (2) a prior over the latent parameters; and (3) an approximator (e.g., a diffusion model) that plays a role in estimating the posterior distribution of parameters from the observations.

While deep learning approaches like normalizing flows have previously been used to approximate these intractable posteriors, diffusion models have recently emerged as a highly flexible alternative. However, the rapid explosion of diffusion variants has left the field fragmented. Researchers face a bewildering array of choices regarding noise schedules, network architectures, and sampling algorithms. This paper addresses this gap by providing a unified methodological framework and the first large-scale empirical comparison of these design choices specifically tailored to the demands of SBI.

Table 1: Comparison of likelihood-based and simulation-based models from a Bayesian perspective, which can both be estimated with diffusion models.

Methods

The paper reviews and contrasts three main generative paradigms adapted for SBI:

  1. Conditional Diffusion Models: Models trained via denoising score matching to gradually remove noise, targeting either the score function, the noise vector ($\epsilon$), or the clean target ($z_0$).
  2. Conditional Flow Matching (CFM): An alternative paradigm that avoids explicit SDE simulation during training by learning the deterministic velocity fields of the probability flow, often resulting in straighter trajectories and faster sampling.
  3. Conditional Consistency Models: A newer class of models trained to map any point along the smoothing trajectory directly back to the clean data in a single or few steps, bypassing multi-step ODE/SDE solvers during inference.
Figure 3: Conceptual overview of diffusion models for simulation-based inference. Diffusion models can solve canonical tasks in SBI, such as neural posterior estimation (NPE), neural likelihood estimation (NLE), or even joint estimation. They do so by recasting sampling from a complex target distribution into a denoising process that starts with a sample z1 from a simple noise distribution and progressively removes the noise to arrive at a target sample z0.

The authors evaluate these methods across critical design dimensions: variance-preserving (VP) vs. variance-exploding (VE) noise schedules, the Elucidated Diffusion Model (EDM) framework, and various ODE/SDE numerical solvers. Crucially, they highlight how the score-based formulation enables compositional inference—allowing researchers to additively combine scores to handle hierarchical or pooled data structures post-hoc without retraining the underlying network.

Datasets

The design choices were rigorously tested across four problem archetypes representing different simulation budgets and dimensionalities:

Table 2: Example simulation models. Featuring different simulation budgets available, dimensionalities of parameters (θ) and observations (y). Setting arbitrary cutoffs, we consider parameter and data spaces high-dimensional if dim(θ) > 30 and dim(y) > 10, 000, respectively.
  • Low-Dimensional Benchmarks: Ten standard synthetic toy tasks (e.g., Two Moons, Lotka-Volterra, SIR epidemic model) from the SBI benchmarking suite.
  • Large-Scale Biological ODE Benchmark: The Beer et al. (2014) model tracking enzymatic reactions, featuring a high-dimensional parameter space (72 parameters) and over 27,000 data measurements.
  • Gaussian Random Fields (GRFs): A highly scalable spatial benchmark used to evaluate performance across varying spatial resolutions (up to $256 \times 256$) and simulation budgets.
  • Cognitive Modeling Case Study: An Evidence Accumulation Model (EAM) used to test different data-pooling regimes (no pooling, complete pooling, and partial pooling).

Key Insights and Ideas

  • The Sum is Easier Than the Whole: Because product factorizations in Bayesian models translate to simple additions in score space, diffusion models excel at hierarchical modeling. You can train a model on single-subject data and seamlessly aggregate individual scores at inference time to perform massive multi-subject inference.
  • VP-EDM is the Gold Standard: For high-dimensional scientific data, variance-preserving (VP) noise schedules combined with Elucidated Diffusion Model (EDM) weighting consistently outperform older variance-exploding (VE) setups, particularly in maintaining posterior calibration.
  • Flow Matching is Highly Competitive: Flow matching models are often easier to implement than standard diffusion models because they have fewer hyperparameters to tune and naturally generate straighter, faster sampling trajectories.
  • Avoid Direct Noise ($\epsilon$) Prediction: While predicting the noise vector $\epsilon$ is standard in commercial image generation, it is highly unstable for scientific SBI tasks. Predicting the velocity vector ($v$) or using EDM target parameterization yields far more robust results.
  • The Consistency Tradeoff: Consistency models offer blazing fast inference (requiring fewer than 10 network evaluations), but their accuracy degrades significantly when applied to high-dimensional target spaces.

Key Results

  • Accuracy: On low-dimensional benchmarks, diffusion models utilizing a variance-preserving EDM schedule achieved the lowest Classifier Two-Sample Test (C2ST) scores, indicating that the approximated posteriors were nearly indistinguishable from the true reference posteriors.
  • High-Dimensional Robustness: In the 72-dimensional biological ODE task, flow matching achieved the lowest overall error (NRMSE), while VP-EDM diffusion models provided the most reliable calibration metrics.
  • Sampling Efficiency: Adaptive higher-order SDE solvers (such as the two-step adaptive solver) consistently provided the best balance of speed and statistical accuracy, drastically outperforming traditional annealed Langevin dynamics.

Limitations and Future Work

  • Guidance Bias: Modifying scores at inference time (e.g., to enforce physical constraints or swap priors) can introduce mathematical biases into the reverse diffusion process. Characterizing exactly when guidance preserves statistical validity remains an open theoretical challenge.
  • Data Modality Gaps: The empirical evaluations focused heavily on time series and spatial grids. Extending and validating these diffusion pipelines on more complex data structures, such as graph-valued simulator outputs, is an important next step.
  • Discrete Parameter Spaces: The current framework is optimized for continuous, real-valued parameters. Adapting diffusion-based SBI to handle discrete or mixed discrete-continuous parameter spaces is a critical frontier for model selection tasks.

Summary updated

BibTeX
@misc{arruda2025diffusion,
  author = {Jonas Arruda and Niels Bracher and Ullrich Köthe and Jan Hasenauer and Stefan T. Radev},
  title = {{Diffusion Models in Simulation-Based Inference: A Tutorial Review}},
  year = {2025},
  eprint = {2512.20685},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.20685},
}
Figure