[Paper Review] Benchmarking Simulation-Based Inference
This paper introduces a public benchmark framework for simulation-based inference (SBI) to enable standardized, transparent, and reproducible evaluation of likelihood-free inference algorithms. It evaluates diverse algorithms—including neural network-based and classical ABC methods—across ten tasks with ground-truth posteriors, revealing that performance depends critically on metrics, sequential estimation improves sample efficiency, and neural network approaches generally outperform classical methods, though no single algorithm dominates across all tasks.
Recent advances in probabilistic modelling have led to a large number of simulation-based inference algorithms which do not require numerical evaluation of likelihoods. However, a public benchmark with appropriate performance metrics for such 'likelihood-free' algorithms has been lacking. This has made it difficult to compare algorithms and identify their strengths and weaknesses. We set out to fill this gap: We provide a benchmark with inference tasks and suitable performance metrics, with an initial selection of algorithms including recent approaches employing neural networks and classical Approximate Bayesian Computation methods. We found that the choice of performance metric is critical, that even state-of-the-art algorithms have substantial room for improvement, and that sequential estimation improves sample efficiency. Neural network-based approaches generally exhibit better performance, but there is no uniformly best algorithm. We provide practical advice and highlight the potential of the benchmark to diagnose problems and improve algorithms. The results can be explored interactively on a companion website. All code is open source, making it possible to contribute further benchmark tasks and inference algorithms.
Motivation & Objective
- To address the lack of a standardized benchmark for simulation-based inference (SBI) algorithms that hinders fair comparison and progress.
- To identify and evaluate suitable performance metrics for SBI, addressing biases and inconsistencies in existing metrics.
- To provide a curated set of inference tasks with analytically tractable posteriors to enable accurate algorithm evaluation.
- To promote reproducibility and community-driven development by releasing open-source code and an interactive website for results visualization.
- To guide practitioners in selecting appropriate SBI algorithms for specific problems and to inform future algorithm design.
Proposed method
- The benchmark includes ten diverse inference tasks—ranging from low-dimensional Gaussians to complex ecological and epidemiological models—where the likelihood is analytically tractable, enabling ground-truth posterior computation.
- For each task, reference posteriors are computed using exact Bayesian inference, allowing precise evaluation of algorithm performance.
- A range of performance metrics is evaluated, including C2ST (classifier two-sample test), energy distance, and KLD, with emphasis on their sensitivity to hyperparameters and task characteristics.
- The framework supports both non-sequential and sequential inference algorithms, with the latter enabling adaptive proposal distributions to improve sample efficiency.
- The benchmark integrates multiple SBI algorithms, including SNPE, SNLE, SMC-ABC, and ABC-REJ, across a unified interface for consistent evaluation.
- An interactive website (sbi-benchmark.github.io) enables real-time comparison of algorithm performance across tasks and metrics, with visual inspection of posterior samples.
Experimental results
Research questions
- RQ1Which performance metrics are most reliable and informative for evaluating SBI algorithms, and how do they vary across different inference tasks?
- RQ2How do modern neural network-based SBI algorithms compare to classical ABC methods in terms of accuracy and sample efficiency?
- RQ3To what extent does sequential estimation improve the performance of SBI algorithms under limited simulation budgets?
- RQ4Are there systematic weaknesses in current SBI algorithms that can be diagnosed and addressed through benchmarking?
- RQ5Can a standardized, open-source benchmark framework accelerate the development and adoption of new SBI algorithms?
Key findings
- The choice of performance metric significantly impacts algorithm rankings, with metrics like C2ST and energy distance showing strong sensitivity to hyperparameters and task structure.
- Even state-of-the-art SBI algorithms exhibit substantial performance gaps relative to ground-truth posteriors, indicating significant room for improvement.
- Sequential estimation strategies consistently improve sample efficiency, reducing the number of simulations required to achieve comparable accuracy.
- Neural network-based approaches, such as SNPE and SNLE, generally outperform classical ABC methods across most tasks, though performance varies by task complexity and dimensionality.
- The benchmark reveals that multimodal posteriors and high-dimensional summary statistics pose particular challenges, with some algorithms struggling to capture complex posterior structures.
- The availability of ground-truth posteriors enables effective hyperparameter tuning and implementation debugging, highlighting the value of reference solutions in algorithm development.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.