Abstract
Bayesian inference for complex models with an intractable likelihood can be tackled using algorithms performing many calls to computer simulators. These approaches are collectively known as "simulation-based inference" (SBI). Recent SBI methods have made use of neural networks (NN) to provide approximate, yet expressive constructs for the unavailable likelihood function and the posterior distribution. However, the trade-off between accuracy and computational demand leaves much space for improvement. In this work, we propose an alternative that provides both approximations to the likelihood and the posterior distribution, using structured mixtures of probability distributions. Our approach produces accurate posterior inference when compared to state-of-the-art NN-based SBI methods, even for multimodal posteriors, while exhibiting a much smaller computational footprint. We illustrate our results on several benchmark models from the SBI literature and on a biological model of the translation kinetics after mRNA transfection.
Introduction
In many scientific domains, generative models are available as complex computer simulators, but their explicit likelihood functions remain intractable. Simulation-Based Inference (SBI) addresses this by running simulators numerous times to learn the relationship between model parameters ($\theta$) and observed data ($y$). While deep learning approaches, such as Normalizing Flows, currently dominate the field, they are often resource-intensive, requiring significant computational power and extensive hyperparameter tuning.
This paper introduces SeMPLE (Sequential Mixture Posterior and Likelihood Estimation), a "frugal" alternative to standard deep learning methods. By replacing heavy neural networks with structured Gaussian mixture models, SeMPLE achieves state-of-the-art accuracy—particularly on challenging multimodal distributions—while being significantly faster and more energy-efficient.
Methodology: Gaussian Locally Linear Mapping
The core of SeMPLE is GLLiM (Gaussian Locally Linear Mapping). Unlike black-box neural networks, GLLiM is a parametric mixture model that assumes a locally linear relationship between parameters and data.
Key Innovations
- Joint Surrogates: A single run of the Expectation-Maximization (EM) algorithm on GLLiM simultaneously yields closed-form approximations for both the likelihood and the posterior.
- Sequential Refinement: SeMPLE operates in rounds. In each round, the current GLLiM posterior serves as a well-informed proposal distribution for a tuning-free Metropolis-Hastings (MH) sampler, guiding simulations toward informative regions of the parameter space.
- Frugality: By utilizing mixture models instead of deep neural networks, the number of parameters is reduced by orders of magnitude (e.g., hundreds vs. tens of thousands).
Experimental Evaluation
The authors evaluated SeMPLE against state-of-the-art neural network methods, specifically SNL and SNPE-C, across a diverse suite of benchmarks. These included standard SBI benchmarks like Two Moons (multimodal) and Bernoulli GLM (unimodal), as well as complex geometries like the Multiple Hyperboloid model. The method was also tested on dynamical systems such as Ornstein-Uhlenbeck and Lotka-Volterra, and a real-world biological model of translation kinetics after mRNA transfection.
Results and Discussion
SeMPLE demonstrates a significant advantage in both performance and efficiency. On the Hyperboloid model, SeMPLE outperformed NN methods in the C2ST metric (a measure of posterior accuracy), as neural networks often failed to capture all posterior modes.
Computational Efficiency
The "Green AI" aspect of SeMPLE is a major highlight. For the Bernoulli GLM, SeMPLE was 19x to 74x faster than SNL. In the Two Moons test, it required only 0.71 GB of RAM compared to 19 GB for SNL, with a corresponding reduction in energy consumption.
The efficiency stems from the closed-form nature of GLLiM. Because it provides analytical expressions for the posterior, the Metropolis-Hastings step is highly efficient, avoiding the manual trial-and-error often required for MCMC tuning. This makes high-quality inference accessible without massive computational overhead.
Conclusion and Future Work
SeMPLE offers a robust, lightweight alternative for SBI, particularly effective for multimodal posteriors and resource-constrained environments. While it handles high-dimensional parameters well, it may struggle with extremely high-dimensional raw observations (like images) without pre-processing. Future work may explore hybrid approaches where neural networks are used solely for learning summary statistics, while GLLiM handles the core inference.
Summary updated