On Approximate Inference for Generalized Gaussian Process Models

Lifeng Shang, Antoni B. ChanarXiv 2013

TL;DR

Generalized Gaussian Process Models (GGPMs) provide a "plug-and-play" framework for non-Gaussian data by unifying various likelihoods under the exponential family. The authors derive general approximate inference algorithms—including a fast, closed-form Taylor approximation—that turn common heuristics like log-transforming data into principled Bayesian methods.

What Problem Does This Paper Address?

Standard Gaussian Process (GP) regression is designed for continuous, real-valued outputs. However, many real-world problems involve different domains: counting people (integers), estimating age (non-negative values), or predicting reflectance (values in a fixed interval).

Researchers often "shoe-horn" these problems into standard GP regression using heuristics, such as rounding predictions or log-transforming the data. While these tricks sometimes work, they aren't optimal in a Bayesian sense and make it difficult to get accurate predictive distributions. Developing a custom GP model for every new data type is traditionally a chore, requiring one to derive complex inference algorithms from scratch for every new likelihood function.

Methods

The authors introduce the Generalized Gaussian Process Model (GGPM), inspired by Generalized Linear Models (GLMs). By parameterizing the observation likelihood using the Exponential Family Distribution (EFD), they create a unifying framework where the specific model (e.g., Poisson for counts, Beta for intervals) is just a matter of changing EFD parameters.

Key contributions include:

  • General Inference Algorithms: They derive Laplace Approximation (LA), Expectation Propagation (EP), and KL Divergence minimization (KLD) for the general EFD form.
  • Taylor Approximation (TA): A novel, non-iterative closed-form approximation. The authors prove that many common heuristics—like label regression for classification or log-transforming positive values—are actually specific instances of this Taylor approximation.
  • Link Functions: They show how link functions (like the logit or log) can be used to map the latent GP function to the mean of the output distribution, allowing for better modeling of trends (e.g., a "linearized" Poisson model for age estimation).
  • Fast Initialization: They use the computationally cheap Taylor approximation to find good starting points for more expensive inference methods like EP, significantly speeding up hyperparameter optimization.

The following table summarizes how various regression tasks fit into this unified GGPM framework:

Summary of Bayesian regression methods using GP priors and their associated inference algorithms.

Datasets

The framework was evaluated across a diverse set of benchmarks:

  • Synthetic 1D data: Used to analyze the systematic biases of different inference methods.
  • Tokyo Rainfall: A binomial dataset for modeling the probability of rain.
  • UCI Regression (Abalone, Housing, Auto-mpg, Servo): Used to test regression to non-negative reals (Gamma and Inverse-Gaussian GGPMs).
  • Munsell Dataset: Reflectance spectra data used to test interval-constrained regression (Beta-GGPM).
  • UCSD Crowd Counting: Image-based count regression.
  • FG-NET Face Images: Age estimation, treated as a counting problem with a linearized mean.

Key Insights and Ideas

  • Heuristics are Principled: One of the most satisfying "aha" moments is the proof that applying a GP to log-transformed positive data is equivalent to a Gamma-likelihood GGPM using Taylor approximate inference. Similarly, "label regression" is just a Taylor approximation of a Bernoulli GP.
  • Systematic Bias: The authors demonstrate that TA, LA, and EP approximations follow a specific ordering in their posterior means (e.g., $\mu_{TA} < \mu_{LA} < \mu_{EP}$ for certain likelihoods). This means the "best" inference method often depends on whether your test data is skewed toward the "high" or "low" side of the mean curve.
  • The Power of Initialization: Hyperparameter optimization for GPs is notorious for local optima. By running 50 fast Taylor-based optimizations and using the best results to initialize EP, the authors achieved a 13x to 26x speedup in training while maintaining (or improving) accuracy.

Key Results

  • Improved Accuracy: Non-negative GGPMs (Gamma/Inverse-Gaussian) consistently outperformed standard GP regression on UCI datasets.
  • Better Trends: The "linearized" Poisson GGPM achieved a Mean Absolute Error (MAE) of 5.82 for age estimation, outperforming standard GPR (6.12) and even specialized warped GPs (6.11).
  • Robustness: The Taylor-initialization strategy prevented convergence issues often seen with Expectation Propagation, making the overall pipeline much more reliable for practitioners.

Limitations and Future Work

The current work focuses exclusively on univariate observations (single-output regression). The authors note that extending this to multivariate exponential families is the natural next step. This would allow the framework to encompass multi-class classification and ordinal regression (ranking) in a similarly unified way. Additionally, while the link function is currently fixed by the user, future iterations could explore learning the link function directly from data.

Summary updated

BibTeX
@misc{shang2013approximate,
  author = {Lifeng Shang and Antoni B. Chan},
  title = {{On Approximate Inference for Generalized Gaussian Process Models}},
  year = {2013},
  eprint = {1311.6371},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1311.6371},
}
Figure