NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Assessing Approximations for Gaussian Process Classification

Malte Kuss, Carl Edward RasmussenNeurIPS 2005

Overview

Gaussian Process Classification (GPC) is a powerful tool for probabilistic modeling, but because exact inference is impossible, researchers must rely on approximations. This paper demonstrates that Expectation Propagation (EP) significantly outperforms the traditional Laplace’s method, providing predictive probabilities and marginal likelihood estimates that are surprisingly close to the "gold standard" of Markov chain Monte Carlo (MCMC).

The Challenge of GPC Inference

In the realm of Gaussian Processes (GPs), regression is mathematically straightforward because the operations work out analytically. Classification, however, presents a significant challenge. Because we are dealing with discrete labels (like 0 or 1), the posterior distribution is no longer Gaussian—it becomes skewed and analytically intractable.

Practitioners face a dilemma: use fast but potentially inaccurate analytic approximations like Laplace’s method, or use "exact" but computationally grueling methods like MCMC. Before this paper, there was little rigorous evidence showing which approximation was better for model selection (tuning hyperparameters) and predictive accuracy. The authors set out to determine if these approximations actually hold up when compared to the ground truth.

Evaluated Methods

The authors compare three primary approaches to GPC:

  1. Laplace’s Method (LA): A classic technique that approximates the posterior by finding the mode (the peak) and fitting a Gaussian based on the local curvature (Hessian) at that point.
  2. Expectation Propagation (EP): A more modern iterative algorithm that tries to match the moments (mean and variance) of the distribution rather than just looking at the peak.
  3. MCMC (Annealed Importance Sampling): Used as the "gold standard" baseline. While too slow for daily use, it provides a near-exact reference point for the marginal likelihood.

The study specifically focuses on the probit likelihood and uses Type-II Maximum Likelihood (ML-II) for hyperparameter optimization. These methods were evaluated on several classic machine learning benchmarks, including USPS Digits, Ionosphere, Wisconsin Breast Cancer, Pima Indians Diabetes, Crabs, and Sonar.

Key Insights: Geometry and Probability Mass

  • The Mode is a Lie: In high-dimensional spaces, the "mode" (the highest point of the probability density) is often unrepresentative of where the actual probability mass lies. High-dimensional Gaussians look more like "thin shells" than solid balls.
  • Laplace is Too Cautious: Because Laplace’s method centers itself on the mode, it systematically underestimates the magnitude of the latent function. This results in "over-conservative" predictions—the model is less confident than it should be.
  • EP Captures the Mass: By matching moments (mean and variance) across the distribution, EP does a much better job of "finding" the skewed probability mass.
1D illustration comparing the true skewed posterior with Laplace and EP approximations.
  • Geometry Matters: The GPC posterior is essentially a Gaussian prior "softly truncated" by the likelihood. This truncation creates a skewed shape that a simple Taylor expansion (Laplace) fails to capture, but moment matching (EP) handles gracefully.

Key Results

  • Predictive Performance: EP consistently provided more "information" (measured in bits) about the test targets than Laplace. While error rates were sometimes similar, EP’s probabilistic "confidences" were much more accurate.
  • Marginal Likelihood: For model selection, EP’s approximation of the log marginal likelihood was nearly indistinguishable from the MCMC gold standard. Laplace’s estimates were "slanted" and led to sub-optimal hyperparameter choices.
  • Magnitude of Latent Values: The mean vector length (||m||) for EP was significantly larger than for Laplace (often by an order of magnitude), confirming that Laplace systematically "shrinks" its predictions toward the origin.
Histogram of MCMC samples compared to Laplace and EP distributions, showing Laplace's severe underestimation of the latent function magnitude.
  • EP vs. SVM: EP performed competitively with Support Vector Machines (SVMs) in terms of error rate but offered the distinct advantage of well-calibrated class probabilities, whereas SVMs often produced "wrong class with large certainty."

Limitations and Future Work

  • Computational Cost: While EP is much faster than MCMC, it is still slightly more complex to implement than Laplace’s method.
  • Convergence: The authors conjecture that EP always converges for GPC with a probit likelihood based on their experiments, but they do not provide a formal mathematical proof of convergence.
  • Scalability: The methods discussed scale cubically with the number of data points ($O(m^3)$). This limits their use to datasets with a few thousand points unless sparse approximations are used—a direction the authors suggest for future exploration.

Summary updated

BibTeX
@inproceedings{kuss2005assessing,
  author = {Malte Kuss and Carl Edward Rasmussen},
  title = {{Assessing Approximations for Gaussian Process Classification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2005},
  url = {https://openreview.net/forum?id=r1VgtL-_WS},
}
Figure