Abstract
Some statistical models are specified via a data generating process for which the likelihood function cannot be computed in closed form. Standard likelihood-based inference is then not feasible but the model parameters can be inferred by finding the values which yield simulated data that resemble the observed data. This approach faces at least two major difficulties: The first difficulty is the choice of the discrepancy measure which is used to judge whether the simulated data resemble the observed data. The second difficulty is the computationally efficient identification of regions in the parameter space where the discrepancy is low. We give here an introduction to our recent work where we tackle the two difficulties through classification and Bayesian optimization.
Introduction
In modern statistical modeling, we frequently encounter "simulator-based" models. These complex systems—ranging from climate simulations to epidemic forecasts—allow us to generate synthetic data by running a simulation, yet they lack a tractable mathematical formula for the likelihood of observed data. This intractability renders traditional likelihood-based inference impossible, forcing researchers toward Likelihood-Free Inference (LFI).
The standard approach to LFI is Approximate Bayesian Computation (ABC). ABC typically involves proposing a parameter $\theta$, simulating pseudo-data $Y_\theta$, and comparing it to observed data $X$ using a discrepancy measure. However, this process is hindered by two significant roadblocks: the subjective choice of summary statistics to define "similarity" and the extreme computational cost of running simulations across a high-dimensional parameter space.
Classification as a Discrepancy Measure
The first innovation presented by Gutmann et al. is the re-framing of the discrepancy problem as a binary classification task. Instead of manually selecting summary statistics (like means or variances), which can be prone to human error and information loss, the authors propose using classification accuracy—or "discriminability"—as the metric for discrepancy.
By training a classifier (such as Linear Discriminant Analysis) to distinguish between real data $X$ and simulated data $Y_\theta$, the model automatically identifies the most relevant features. If the classifier achieves high accuracy, the simulated data is clearly distinct from the real data. Conversely, if the classifier performs at chance level (50% accuracy), the simulated data is indistinguishable from the observed data, indicating that the parameter $\theta$ is likely close to the true value.
As shown in the figure above, the discriminability curve reaches its minimum (0.5) exactly when the mean of the simulated distribution matches the observed distribution (centered at 0).
Bayesian Optimization for Parameter Search
The second challenge in LFI is the "Efficiency Problem." Simulations are often slow and expensive, making exhaustive searches or random sampling impractical. To address this, the authors employ Bayesian Optimization (BO).
BO treats the discrepancy function as a "noisy" black box. It builds a statistical surrogate model—typically a Gaussian Process (GP)—to map the relationship between parameters and discriminability. An acquisition function then guides the search, balancing "exploration" (sampling unknown regions) with "exploitation" (sampling regions where discrepancy is already known to be low). This targeted approach significantly reduces the number of simulations required to find the optimal parameters.
The figure above illustrates the BO process in action. Even with as few as three data points, the surrogate model (black line) begins to approximate the true empirical mean of the discriminability (red line), identifying the region of interest far more efficiently than a blind search.
Case Studies and Results
The framework was validated using both a Gaussian toy example and a complex epidemiological model for bacterial infections in day care centers.
- Gaussian Toy Example: This proof-of-concept demonstrated that classification-based discrepancy correctly identifies true parameters where discriminability drops to chance level.
- Epidemiological Data: In this real-world application, the authors found that Bayesian Optimization accelerated inference by several orders of magnitude compared to traditional ABC methods.
Key Insights
- Automation: The approach removes the "art" of picking summary statistics, making inference more objective and reproducible.
- Handling Stochasticity: Because simulations are inherently random, the discrepancy measure is noisy. BO is specifically designed to handle such noisy optimization problems.
- Active Learning: The BO framework acts as an active learner, intelligently deciding which simulations will provide the most information about the parameter space.
Limitations and Future Work
While powerful, the framework's performance depends on the choice of classifier. While LDA is sufficient for simple cases, high-dimensional or non-linear data may require more complex models like deep neural networks. Additionally, scaling BO to very high-dimensional parameter spaces remains a challenge due to the "curse of dimensionality." Future research will focus on exploring the formal mathematical bounds of the relationship between classification and LFI.
Summary updated