Pre-processing for approximate Bayesian computation in image analysis

Matthew T. Moores, Christopher C. Drovandi, Kerrie L. Mengersen, Christian P. RobertStat. Comput 2015 · DOI

Approximate Bayesian Computation (ABC) is a powerful tool for performing inference on models with intractable likelihoods. However, in the context of high-resolution image analysis, the computational cost of repeated data simulations often renders standard ABC methods impractical. This paper introduces a pre-processing strategy that shifts the simulation burden to a one-time "pre-flight" step, achieving significant speedups for complex image models like the Potts model.

The Computational Challenge of Image Models

In image analysis, spatial dependencies are frequently modeled using the Potts model, which characterizes the relationship between neighboring pixels through a smoothing parameter, $\beta$. Estimating $\beta$ is a "doubly intractable" problem because the model's normalizing constant cannot be computed directly for large images.

Standard ABC addresses this by simulating thousands of "pseudo-images" for different parameter values and comparing their summary statistics to the observed data. For satellite imagery containing millions of pixels, this simulation-heavy approach is prohibitively slow. For instance, fitting a model to a relatively small $125 \times 125$ pixel image can take over 70 hours.

Methodology: Amortized Computation via Binding Functions

The authors propose a "pre-processing" approach to decouple simulation from inference. Instead of generating new data during the main algorithm, they perform a one-time simulation over a grid of possible $\beta$ values.

  1. Binding Function Construction: For each $\beta$ in the grid, a batch of summary statistics is simulated.
  2. Gaussian Approximation: The distribution of summary statistics for a given $\beta$ is approximated as a Gaussian distribution.
  3. Non-parametric Regression: A regression model is used to create a continuous mapping—the "binding function"—between $\beta$ and the mean and variance of the summary statistics.
The binding function maps the parameter $\beta$ to the expectation and standard deviation of the summary statistic $S(\vec{z})$, allowing for rapid lookup during inference.

During the actual model fitting (e.g., using Sequential Monte Carlo ABC), the algorithm simply "looks up" the expected statistics from this precomputed function rather than running new simulations. This "amortized" approach allows the same binding function to be reused for any image of the same size and label count.

Experimental Evaluation

The method was tested on both synthetic and real-world datasets:

  • Synthetic Benchmark: On $125 \times 125$ pixel images, the average runtime dropped from 71.4 hours to just 7 minutes. The one-time precomputation cost was approximately 83 minutes.
  • Satellite Imagery: The algorithm was applied to a Landsat 7 image of Brisbane, Australia, containing nearly one million pixels. While standard ABC was infeasible, the proposed method successfully estimated the smoothing parameter in roughly 5.5 hours.

Discussion and Conclusion

The primary advantage of this approach is its scalability for "Big Data" in remote sensing. By replacing a "black box" simulation with a tractable mathematical approximation, the authors make Bayesian inference practical for large-scale spatial models.

However, limitations remain. The method is currently best suited for models with few parameters, as the precomputation grid grows exponentially with dimensionality. Additionally, the Potts model's phase transitions—where behavior changes abruptly—can pose challenges for MCMC stability. Future work may involve adaptive grids to better capture these critical regions.

Summary updated

BibTeX
@article{moores2015pre,
  author = {Matthew T. Moores and Christopher C. Drovandi and Kerrie L. Mengersen and Christian P. Robert},
  title = {{Pre-processing for approximate Bayesian computation in image analysis}},
  journal = {Stat. Comput.},
  year = {2015},
  doi = {10.1007/s11222-014-9525-6},
}
Figure