Paper commentary
Sparse Gaussian Processes using Pseudo-inputs
Sparse GP regression learns pseudo-input locations by gradient ascent
- Problem Full GP regression costs O(N^3) to train and needs all training points at test time. Subset-based sparse methods struggle because reselecting the active set makes the marginal likelihood fluctuate, so hyperparameters cannot be learned smoothly.
- Method SPGP keeps a small set of M pseudo-inputs that can sit anywhere in input space, unlike subset methods. It fits them and the hyperparameters jointly by gradient ascent on a single marginal likelihood.
- Results On pumadyn-32nm, SPGP with 25 pseudo-inputs reaches full GP performance when hyperparameters are set from a full GP. It also beats random and info-gain subset baselines on kin-40k.
Why full GP training gets stuck
Full GP regression is attractive because it is a non-parametric Bayesian method for non-linear regression and classification. Its training needs O(N^3) time, because the covariance matrix must be inverted. Prediction is also tied to the data, since the training points are required at test time to build the predictive distribution. Once the inversion is done, prediction costs O(N) for the mean and O(N^2) for the variance per new test case.
Sparse methods therefore pick a subset of M training points, the active set, often with an information criterion, to push the cost toward O(M^2 N). Seeger et al. use a very fast approximate information gain criterion that greedily selects points into the active set.
Choosing that subset is where hyperparameter learning breaks down. Seeger et al. construct an approximation to the full GP marginal likelihood and try to maximize it to find the hyperparameters. As the authors state, they have persistent difficulty doing this through gradient ascent. The cause is that reselecting the active set makes the marginal likelihood and its gradients fluctuate non-smoothly.
Because of these fluctuations, they cannot get smooth convergence, so the speed of active set selection is undermined.
Poorly learned hyperparameters degrade the quality of the solution. This matters most when automatic relevance determination (ARD) is used to find relevant inputs. Its pseudo-inputs need not be a subset of the data, so the locations are found by continuous optimization.
Pseudo-inputs replace the active set
The key idea is to keep a small set of M points but let them sit anywhere in input space. The authors call these pseudo-inputs, and the covariance function is built from their locations. Because the pseudo-inputs are continuous parameters, gradient ascent can move them, which subset methods can't do.
The model starts from a pseudo data set of size M, with M smaller than N, holding the pseudo-inputs and the pseudo targets. The sparsity comes from M being small, so each real observation is explained by a single-point likelihood. This is a regression with a parameterized mean and an input-dependent noise term, and the noise grows away from the pseudo-inputs.
The full likelihood multiplies these single-point terms over the N data points, giving the form in equation (5). The pseudo targets get a Gaussian prior with covariance K_M, and integrating them out gives the marginal likelihood in equation (9). The authors choose maximum likelihood for the pseudo-inputs, because a prior on them would make the model hard to keep tractable.
Gradient ascent over the pseudo-inputs and hyperparameters is a single optimization, with the gradients following Seeger et al.'s derivations. The gradients are most efficiently computed with Cholesky factorisations, and the main matrix product costs O(M^2 N). When M equals N and the pseudo-inputs equal the training inputs, Λ is zero and the model collapses to the full GP.
Why the Λ term lets gradients move pseudo-inputs
PLV uses the same expressions with Λ removed, so its marginal likelihood drops the Λ term entirely. Seeger's method learns hyperparameters with this likelihood, but it doesn't use it to learn pseudo-input locations. The authors note that this marginal likelihood has also been used elsewhere, and that they derived it as a direct approximation to the full GP marginal likelihood.
The authors test whether the Λ term matters by optimizing each likelihood over pseudo-inputs on a simple 1D data set. Hyperparameters are fixed to their true values, and all pseudo-inputs start on the left of the input space. Under the PLV likelihood the pseudo-inputs begin to spread, but they quickly become stuck as the gradient pushing them right becomes tiny.
The authors explain the stall through the noise term, which is a constant σ² everywhere under PLV. Under SPGP the marginal variance is constant at Knn + σ2, while the noise grows to Knn + σ2 away from the pseudo-inputs. If the rightmost pseudo-input moves slightly right, the SPGP noise in that region drops from Knn + σ2 towards σ2, which gives a strong gradient pulling it right.
Under PLV the same move doesn't improve the mean function enough locally, so the gradient stays small and the points stall.
The SPGP likelihood also suffers from local optima, but the authors say it doesn't fail so catastrophically. They offer the Λ term as the explanation for the PLV failure, and the 1D example is the evidence they show for it.
Learning curves on kin-40k and pumadyn-32nm
The authors reuse Seeger et al.'s data sets, preprocessing and testing procedure for this comparison. kin-40k has 10000 training and 30000 test points with 9 attributes. pumadyn-32nm has 7168 training, 1024 test and 33 attributes. The curves plot mean square test error as a function of active or pseudo set size M. Random, info-gain and smo-bart serve as the baselines, which Seeger et al.
compare against. Full GP references use a subset of 2000 points for kin-40k and 1024 points for pumadyn-32nm.
For kin-40k, the authors fix the hyperparameters from a full GP trained on a subset, then optimize only the pseudo-inputs. The SPGP learning curve lies significantly below all three other methods across the range of M. SPGP rapidly approaches the error of a full GP trained on 2000 points. It needs only a pseudo set of a few hundred points to get there.
The harder task learns the hyperparameters jointly with the pseudo-inputs, starting from random initialisation. This joint learning, plotted as blue circles, performs extremely well for small M. For large M it overfits, which the authors attribute to the noise hyperparameter being driven too small. The blue circles reach higher likelihood than the red squares beneath them.
On pumadyn-32nm, joint learning reaches extremely low error with just 10 pseudo-inputs, close to a full GP trained on 1024 points. Increasing the pseudo set size does not decrease this error. The problem has many irrelevant attributes, and joint learning recovers 2 of the 4 relevant dimensions. That is not good enough to reach the error of the full GP.
Initializing the hyperparameters from a full GP, SPGP reaches full GP performance with only 25 pseudo-inputs. The other methods also had their hyperparameters set from the full GP, and SPGP still significantly outperforms them. The authors read the squares' higher likelihood as a local optima problem rather than overfitting.
Cost and scaling limits
The main constraint is cost, since SPGP fits M·D + |Θ| parameters where the full GP fits only |Θ|. Because the pseudo-inputs are not constrained to lie on data, the optimization runs over a potentially large parameter space. The authors call the method relatively expensive to train for this reason. Even so, the marginal likelihood gradients can be coded efficiently with Cholesky factorisations, as in Seeger et al.
Subset baselines still need hyperparameters, either from a full GP on a subset or by gradient ascent on an approximate likelihood. So the authors argue that none of these methods is cheap once the hyperparameter step is counted. Random and info-gain look extremely cheap on their own, but they still depend on a gradient-based procedure for hyperparameters.
The authors believe SPGP's gain in accuracy can often be worth its extra training time in the larger parameter space.
The authors list chunked optimization, stochastic gradient ascent and hybrids that pick some points at random as options. They didn't test these options in the paper. The method is most useful when one wants a very sparse and accurate solution.
Starting from the full GP hyperparameters, a pseudo set of size 25 reaches the full GP performance.
Fitting input-dependent noise with moved pseudo-inputs
A standard GP has trouble with non-stationary processes, because sensible non-stationary covariance functions are hard to construct. Although the SPGP isn't designed for non-stationarity, moving the pseudo-inputs gives it extra flexibility that can capture this to a certain extent. The test uses a data set whose noise variance depends on the input, with the standard GP and the SPGP fit shown in Figure 4.
The SPGP fits this data much better than the standard GP. It does so by moving almost all of its pseudo-inputs outside the region of the data. The authors note that the method reaches this fit without any extra noise model being specified for the data.
The authors ran the method 5 times with random initialisations. All runs had higher likelihood than the GP, and the run with the highest likelihood is the one plotted. They didn't test a larger pseudo set size on this problem, which they name as a limit of the method.
Paper info
- Authors
- Snelson, Edward, Ghahramani, Zoubin
- Venue
- Advances in Neural Information Processing Systems · Published
- Added
- 2026-11-6
- Original paper terms
- Check in the original ↗
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Snelson, Edward, Ghahramani, Zoubin (2005). Sparse Gaussian Processes using Pseudo-inputs. Advances in Neural Information Processing Systems. https://papers.nips.cc/paper_files/paper/2005/hash/4491777b1aa8b5b32c2e8666dbe1a495-Abstract.html
BibTeX
@article{edward2005sparse,
title = {{Sparse Gaussian Processes using Pseudo-inputs}},
author = {Snelson, Edward and Ghahramani, Zoubin},
year = {2005},
journal = {Advances in Neural Information Processing Systems},
url = {https://papers.nips.cc/paper_files/paper/2005/hash/4491777b1aa8b5b32c2e8666dbe1a495-Abstract.html}
}