A variational Gaussian process (VGP) makes Gaussian-process regression practical when a full GP is too expensive to train on a large dataset. Instead of conditioning on every observation, it learns a small set of inducing points that represent the dominant trends in the data. The goal is predictions close to those of a GP trained on all data, with far less computation. section 12.0 section 12.5
The approximation is chosen by comparing two posterior distributions: one induced by the selected points and one associated with the full dataset. KL divergence measures their difference. Because directly optimizing that difference is impractical, training optimizes the evidence lower bound (ELBO), a computable proxy that lower-bounds marginal log likelihood. section 12.2.1 section 12.5
A VGP training workflow is:
- Choose an initial, relatively small set of inducing points rather than using the entire dataset directly. section 12.2 section 12.2.3
- Define a variational distribution over those points and a variational strategy for producing predictions from it. section 12.2.3
- Learn inducing-point locations and other model parameters by minimizing negative ELBO with mini-batch gradient descent. section 12.2.3 section 12.5
- Optionally use natural gradient descent for variational parameters while mini-batch gradient descent updates parameters such as length and output scales. section 12.5
Housing-price regression at scale
For California housing prices, a VGP can use the same mean and covariance functions as a regular GP while avoiding its prohibitive large-data training cost. Features include housing attributes, the target is normalized log median house value, and a Matérn 5/2 kernel with ARD models the inputs. Comparing training times exposes the efficiency gain. section 12.4 section 12.1.3
Figure 12.1 Predictions made by a regular GP and those by a VGP. The VGP produces almost identical predictions as the GP, while taking significantly less time to train.
Compare the near-matching predictive behavior of a VGP and a regular GP against the VGP's substantially shorter training time. section 12.0
