Automated Model Selection with Bayesian Quadrature

Henry Chai, Jean-Francois Ton, Michael A. Osborne, Roman Garnett

TL;DR

Calculating "model evidence" for Bayesian model selection is notoriously expensive, often relying on slow-to-converge Monte Carlo methods. This paper introduces a novel Bayesian Quadrature (BQ) approach that uses a mutual information-based acquisition function to target the posterior model probability directly. This significantly reduces the number of likelihood evaluations needed to pick the best model.

What Problem Does This Paper Address?

In Bayesian statistics, choosing between different models (e.g., "Does this data come from a linear or a quadratic process?") requires calculating the model evidence (or marginal likelihood). This is an integral of the likelihood of the data over all possible model parameters.

For complex, real-world models, these integrals are "intractable"—they can't be solved analytically. Researchers usually turn to Monte Carlo (MC) methods, which estimate the integral by random sampling. However, MC methods are "blind" to the shape of the function and converge very slowly.

While Bayesian Quadrature (BQ)—which uses Gaussian Processes to model the integrand—is much more sample-efficient, standard BQ focuses on estimating the evidence of each model as accurately as possible. The authors argue this is wasteful: if Model A is clearly superior to Model B, we shouldn't waste expensive computation refining a high-precision estimate for Model B. We just need to know enough to make the right choice.

Methods

The authors propose a principled adaptation of BQ specifically for the task of model selection.

  1. Gaussian Process Priors: They place GP priors on the likelihood functions of all candidate models.
  2. Novel Acquisition Function: Instead of picking points to reduce the variance of an individual integral, they use an acquisition function based on Mutual Information (MI). Specifically, they choose to evaluate the likelihood at the point that provides the most information about the vector of posterior model probabilities ($z$).
  3. Active Global Sampling: This allows the algorithm to automatically decide which model's parameter space is most "informative" to sample next. If the evidence for one model is already clearly dominant, the algorithm will stop sampling its competitors.
  4. Numerical Estimation: Since the MI integral itself is intractable, the authors use Simple Monte Carlo (SMC) or Quasi-Monte Carlo (QMC) to estimate the information gain, which is computationally cheap compared to evaluating the actual model likelihood.

Datasets

The method was evaluated on two main types of problems:

  • Synthetic GP Models: A controlled environment where the task was to distinguish between two zero-mean GP models (one with a Squared Exponential covariance and one with a Matérn 5/2 covariance) across dimensions $d=1$ to $4$.
  • Astrophysics Data (SDSS-III): A real-world application involving spectrographic observations of quasars. The goal was to detect the presence and number of Damped Lyman-$\alpha$ (DLA) absorbers (large gas clouds). This involved comparing models with 1, 2, or 3 putative DLAs.

Key Insights and Ideas

  • Precision $\neq$ Decision: The "aha moment" is that you don't need a low-variance estimate of every model's evidence to have a high-certainty estimate of which model is best.
Illustration of model evidence uncertainty where the optimal model choice is already clear.

As illustrated above, even if the evidence uncertainty (the width of the distributions) is relatively high, the separation between the distributions makes the model choice clear. The algorithm leverages this to stop sampling earlier.

  • Cross-Model Information: By framing the acquisition as a mutual information problem, the algorithm treats all candidate models as part of a single "information landscape." It can jump between different parameter spaces (different models) to find the single most useful observation for the final decision.
  • Efficiency over Monte Carlo: The method consistently reaches accurate posterior estimates with far fewer likelihood evaluations than specialized MC methods like Bridge Sampling or Reversible Jump MCMC.

Key Results

  • Superior Accuracy: In synthetic tests, the proposed method outperformed "round-robin" BQ (which samples models equally) and standard MC benchmarks. The performance gap was statistically significant at the 1% level.
Fractional error of posterior model probability vs. likelihood evaluations across different dimensions.
  • Real-World Success: On the quasar dataset, the method achieved significantly lower absolute errors in the log Bayes factor (a key metric for model comparison) compared to both Bridge Sampling and Reversible Jump MCMC.
  • Generalization: The method successfully scaled from two-model comparisons to three-model comparisons, maintaining its lead over traditional methods.

Limitations and Future Work

  • Independence Assumption: Currently, the method assumes that the evidences for different models are independent. However, in "nested" models (where one model is a special case of another), the evidences are likely correlated.
  • Future Direction: The authors suggest using multi-task Gaussian Processes to learn the correlations between different model likelihoods simultaneously, which could further improve efficiency.
  • Model Choice vs. Averaging: While the method excels at estimating posterior probabilities (useful for model averaging), the authors noted that a variant specifically targeting "Model Choice" (picking the single winner) sometimes became "overly confident" too quickly, suggesting that the magnitude of the difference between models is a crucial signal to maintain exploration.

Summary updated

BibTeX
@inproceedings{chai2019automated,
  author = {Henry Chai and Jean-Francois Ton and Michael A. Osborne and Roman Garnett},
  title = {{Automated Model Selection with Bayesian Quadrature}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=Sy-cr2WdbS},
}
Figure