Faster variational inducing input Gaussian process classification

Pavel Izmailov, Dmitry KropotovarXiv 2016

Abstract

Gaussian processes (GP) provide a powerful prior over functions, enabling the discovery of complex regularities in data. While widely used for classification, regression, and dimensionality reduction, standard GP methods suffer from a computational complexity that scales cubically ($O(n^3)$) with the number of training points $n$. This limitation makes them impractical for large-scale datasets. This paper focuses on GP classification using the inducing inputs approach, which reduces complexity to $O(nm^2)$ through variational inference. We introduce a novel training approach that utilizes quadratic approximations (Jaakkola-Jordan and Taylor expansion) of the evidence lower bound (ELBO). This allows for analytical expressions for most variational parameters, significantly reducing the optimization dimensionality. Our experiments demonstrate that this method achieves competitive or superior results compared to existing stochastic variational inference (SVI) techniques, while eliminating the need for manual learning rate tuning.

Introduction: The Scalability Challenge

Gaussian Processes are non-parametric models that define a distribution over functions. They are prized for their ability to provide uncertainty estimates and handle non-linear relationships. However, the core operation in GP inference involves inverting a covariance matrix, which scales poorly as data grows.

A 1-dimensional Gaussian process showing the mean function, confidence intervals, and sample paths.

To address this, researchers often turn to "inducing input" methods. These methods introduce a small set of $m$ representative points (inducing points) that act as a summary of the entire dataset. By conditioning the latent function on these points, the computational burden is shifted from the full dataset to this smaller set.

Methods: Inducing Points and Variational Inference

The standard inducing point framework introduces latent variables $u$ corresponding to the inducing inputs. The latent function values $f$ are then assumed to be conditionally independent given $u$, which simplifies the joint distribution and allows for more efficient computation.

Graphical model of a Gaussian process with inducing variables $u$, where latent function values $f_i$ are conditionally independent given $u$.

While existing Stochastic Variational Inference (SVI) methods allow for big data processing, they require optimizing $O(m^2)$ variational parameters via stochastic gradient descent. This is often slow and sensitive to hyperparameters like learning rates.

Analytical Optimization via Quadratic Approximations

The authors propose a "vi" (Variational Inference) approach that simplifies this optimization. By applying quadratic approximations to the log-logistic likelihood, they derive closed-form solutions for the optimal variational mean ($\mu$) and covariance ($\Sigma$). Two primary approximations are explored:

  1. Jaakkola-Jordan (JJ) Bound: A global parametric quadratic lower bound.
  2. Taylor Expansion: A local second-order Taylor approximation.

By substituting these into the ELBO, the high-dimensional optimization over $\mu$ and $\Sigma$ is replaced by analytical updates. This leaves only the kernel hyperparameters and approximation parameters to be optimized numerically, typically using L-BFGS-B.

Experimental Evaluation

The proposed methods were benchmarked against SVI on datasets ranging from small (e.g., german, $n=800$) to large (e.g., skin_nonskin, $n \approx 200,000$).

Key Results

  • Efficiency: On smaller datasets, the new methods reached peak validation accuracy almost instantly, whereas SVI-based methods required significantly more iterations to converge.
  • Robustness: Unlike SVI, which requires careful grid searching for optimal learning rates and batch sizes, the vi-JJ and vi-Taylor methods worked effectively "out of the box."
  • Scalability: In high-dimensional settings with many inducing points (e.g., $m=500$), the hybrid approach reached optimal quality faster than SVI, demonstrating better handling of large $m$.

Conclusion

This work presents a significant step forward in making Gaussian Process classification practical for large-scale applications. By leveraging analytical solutions derived from quadratic approximations, the authors provide a training framework that is not only faster but also more user-friendly, removing the common pitfalls of manual hyperparameter tuning in stochastic optimization.

Summary updated

BibTeX
@misc{izmailov2016faster,
  author = {Pavel Izmailov and Dmitry Kropotov},
  title = {{Faster variational inducing input Gaussian process classification}},
  year = {2016},
  eprint = {1611.06132},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1611.06132},
}
Figure