Chained Gaussian Processes

Alan D. Saul, James Hensman, Aki Vehtari, Neil D. Lawrence

Abstract

Gaussian process models are flexible, Bayesian non-parametric approaches to regression. Properties of multivariate Gaussians mean that they can be combined linearly in the manner of additive models and via a link function (like in generalized linear models) to handle non-Gaussian data. However, the link function formalism is restrictive, link functions are always invertible and must convert a parameter of interest to a linear combination of the underlying processes. There are many likelihoods and models where a non-linear combination is more appropriate. We term these more general models Chained Gaussian Processes: the transformation of the GPs to the likelihood parameters will not generally be invertible, and that implies that linearisation would only be possible with multiple (localized) links, i.e. a chain. We develop an approximate inference procedure for Chained GPs that is scalable and applicable to any factorized likelihood. We demonstrate the approximation on a range of likelihood functions.

Introduction

Standard Gaussian Process (GP) models are powerful tools for non-parametric regression, yet they often suffer from a lack of flexibility when dealing with complex, non-Gaussian data. Typically, these models assume homoscedastic noise or utilize a fixed link function to map a single GP to the mean of a distribution. However, real-world phenomena frequently exhibit heteroscedasticity, heavy-tailed noise, or time-varying distributional shapes that a single latent process cannot adequately capture.

To address these limitations, we introduce Chained Gaussian Processes. This framework moves beyond simple regression by "chaining" multiple independent GPs to different parameters of a likelihood function. This approach allows for the modeling of complex data behaviors, such as input-dependent noise or evolving sentiment distributions, without the restrictive requirement of invertible link functions.

Methodology

The core of the Chained GP framework is a likelihood $p(y|\theta_1, \theta_2, ...)$ that depends on multiple latent functions, each governed by its own independent GP prior. To make this framework computationally feasible for large-scale applications, we employ several key technical strategies:

  • Variational Inference (VI): We derive a variational lower bound (ELBO) to facilitate approximate posterior inference for non-Gaussian and intractable likelihoods.
  • Sparse Inducing Points: To overcome the $O(n^3)$ complexity of standard GPs, we utilize $m$ inducing variables, reducing the computational burden to $O(nm^2)$, where $m \ll n$.
  • Stochastic Variational Inference (SVI): By factorizing the likelihood, we enable the use of mini-batching and stochastic gradients, allowing the model to scale to datasets with millions of observations.
  • Numerical Quadrature: We utilize two-dimensional Gauss-Hermite quadrature to compute the expected log-likelihood within the ELBO. This is particularly efficient for models involving two latent functions, such as those modeling both mean and variance.

Experimental Evaluation

We evaluated the Chained GP framework across several diverse datasets to test its robustness and scalability:

  • Regression: Elevators (1k and 10k samples) and Boston Housing datasets.
  • Robust/Heteroscedastic Regression: A "corrupted" version of the Motorcycle dataset featuring localized high-variance noise.
  • Survival Analysis: The Leukemia dataset, modeled using a log-logistic distribution with varying scale and shape parameters.
  • Sentiment Analysis: Over 100,000 tweets from the 2015 UK General Election, using a Beta distribution to track public opinion shifts.
  • Point Processes: Chicago Homicide data, decomposed into spatial and temporal components.

Results and Discussion

The experimental results demonstrate that Chained GPs offer superior predictive accuracy and robustness compared to standard methods. By modeling multiple parameters of a distribution simultaneously, the framework captures the true generative process more accurately.

Table 1: Negative Log Predictive Density (NLPD) results across various datasets. Lower values indicate better performance. The Chained Heteroscedastic Gaussian (CHG) and Chained Student-t (CHt) models consistently outperform standard Gaussian (G) and other variational benchmarks.

As shown in the table above, the Chained Heteroscedastic Gaussian (CHG) model achieves significantly lower NLPD on the Elevators and Boston datasets compared to standard GPs. Furthermore, in the corrupted motorcycle experiment, the Chained Student-$t$ (CHt) model effectively ignored outliers, outperforming standard Laplace (Lt) and variational (Vt) approximations.

Beyond quantitative metrics, Chained GPs provide enhanced interpretability. For instance, in the Chicago homicide analysis, the model successfully separated long-term spatial background trends from volatile seasonal components. In the Twitter sentiment analysis, it captured the transition of public opinion between unimodal (unified) and bimodal (polarized) states, which standard single-parameter models fail to represent.

Conclusion

Chained Gaussian Processes provide a scalable and flexible framework for modeling complex distributions. By integrating sparse SVI and numerical quadrature, these models become practical for modern, large-scale datasets. Future work will address the "curse of dimensionality" in quadrature for distributions with more than two parameters—potentially through Monte Carlo sampling—and explore potential a priori correlations between latent functions.

Summary updated

BibTeX
@inproceedings{saul2016chained,
  author = {Alan D. Saul and James Hensman and Aki Vehtari and Neil D. Lawrence},
  title = {{Chained Gaussian Processes}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2016},
  url = {https://openreview.net/forum?id=s2NUSP9B6DW},
}
Figure