Abstract
ABC algorithms involve a large number of simulations from the model of interest, which can be very computationally costly. This paper summarises the lazy ABC algorithm of Prangle (2015), which reduces the computational demand by abandoning many unpromising simulations before completion. By using a random stopping decision and reweighting the output sample appropriately, the target distribution is the same as for standard ABC. Lazy ABC is also extended here to the case of non-uniform ABC kernels, which is shown to simplify the process of tuning the algorithm effectively.
Introduction
In scientific fields ranging from epidemiology to climate science, researchers rely on complex simulators to model real-world phenomena. Bayesian inference is typically used to find parameters ($\theta$) that align these simulators with observed data ($y_{obs}$). However, when the likelihood function—the probability of the data given the parameters—is computationally intractable, researchers turn to Approximate Bayesian Computation (ABC).
Standard ABC is notoriously slow because it requires running millions of simulations, comparing their outputs to real data, and discarding the vast majority that do not match. Crucially, standard ABC completes every simulation, even when it becomes clear early on that the result will be a poor match. This paper addresses this inefficiency through "Lazy ABC," a "fail-fast" approach that abandons unpromising simulations mid-way, potentially boosting computational efficiency by 2x to 4x without sacrificing statistical accuracy.
Methodology
The Lazy ABC algorithm breaks the simulation process into two distinct stages:
- Initial Stage: A "cheap" version or a partial segment of the simulation is executed to obtain an intermediate result ($x$).
- Continuation Decision: Based on $x$, the algorithm decides whether to complete the simulation ($y$) or stop early. This decision is probabilistic, with continuation occurring with probability $\alpha(\theta, x)$.
- Reweighting: To ensure the final distribution remains mathematically identical to standard ABC, the contribution of completed simulations is scaled by $1/\alpha$.
A key contribution of this work is the extension of Lazy ABC to non-uniform kernels (e.g., Gaussian/Normal kernels). While previous iterations used uniform kernels with hard pass/fail thresholds, non-uniform kernels provide smoother data for the regression models used to predict which simulations are worth finishing. This "full support" ensures every simulation provides information to help optimize the stopping probability, making the algorithm significantly easier to tune.
Experimental Setup
The algorithm was evaluated using a Spatial Extremes model, which is used to model annual extreme measurements (such as peak rainfall) across multiple geographical locations. In this study, the task involved modeling data from 20 locations over a 100-year period.
The primary computational bottleneck in this model is calculating summary statistics, specifically coefficients for every triple of locations. In the "Lazy" setup, the initial stage simulates the data and calculates a distance based on only a subset of locations. The expensive full coefficients are only calculated in the continuation stage if the initial subset appears promising.
Results
The performance of Lazy ABC was compared against standard ABC across six different parameter settings. The results demonstrate that Lazy ABC consistently outperforms the standard approach in terms of efficiency—defined as the Effective Sample Size (ESS) divided by total computing time.
As shown in Table 1, the "Actual Relative Efficiency" ranged from 2.2 to 4.5. In the most favorable scenarios, Lazy ABC achieved the same quality of results as the standard method while using less than 25% of the computing resources. Even when accounting for the overhead of "training" the stopping rule (approximately 70 seconds for 10,000 training runs), the efficiency gains remained substantial.
Conclusion
Lazy ABC offers a significant performance boost for Bayesian inference in simulation-heavy models. However, its applicability depends on the ability to split a simulation into a "cheap" preview and an "expensive" completion. The efficiency of the method is also highly sensitive to the choice of "decision statistics" used in the initial stage.
Future research may explore "multiple stopping decisions"—checking the simulation at various stages of completion (e.g., 10%, 20%, 50%)—and integrating Lazy ABC into more advanced frameworks such as Markov Chain Monte Carlo (MCMC) or Sequential Monte Carlo (SMC).
Summary updated