Sparse multiscale gaussian process regression

Christian Walder, Kwang In Kim, Bernhard Schölkopf

Gaussian Processes (GPs) are powerful, non-parametric tools for regression, but they famously suffer from a "big data" bottleneck: their computational cost scales cubically ($O(n^3)$) with the number of data points. To bypass this, researchers rely on sparse GPs, which approximate the full model using a small set of $m$ basis functions (where $m \ll n$).

However, traditional sparse GPs come with a significant restriction. These basis functions are typically forced to share the same "shape" or length scale, defined by a global kernel. If your dataset features a mix of broad, sweeping trends and sharp, localized spikes, a single scale forces a compromise, leading to sub-optimal approximations.

To solve this, researchers introduced the Variable Sigma Gaussian Process (VSGP), a method that breaks the fixed-scale restriction to allow for a truly multiscale representation.

The VSGP Approach: Flexible Basis Functions

The core innovation of VSGP is a shift in how basis functions are defined:

  1. Independent Scales: Instead of using the standard global kernel, VSGP employs Gaussian basis functions where each function $i$ has its own center $v_i$ and its own independent, diagonal covariance matrix $\sigma_i$.
  2. Closed-Form Likelihood: The authors successfully derived a closed-form expression for the likelihood of these arbitrary Gaussian mixtures under a GP prior. This is a non-trivial mathematical feat, as it requires computing complex integrals involving the basis functions and the covariance function.
  3. Joint Optimization: The model performs gradient-based optimization of the marginal likelihood to simultaneously learn the locations ($v_i$), the individual scales ($\sigma_i$), and the global hyper-parameters (like noise variance).
  4. Maintained Efficiency: Despite this added flexibility, the training cost remains $O(m^2n + mnd)$—the exact same asymptotic scaling as previous state-of-the-art sparse GP methods like the Sparse Pseudo-input GP (SPGP).

Visualizing the Multiscale Advantage

By allowing $\sigma_i$ to vary, the model can deploy "fat" basis functions to cover smooth areas of the input space and "skinny" ones to capture high-frequency oscillations.

Comparison of SPGP, VSGP, and Exact GP on a toy dataset.

As seen in the toy problem above, standard methods like SPGP (left) are forced to use uniform basis functions, often resulting in an over-smoothed posterior that misses sharp local features. In contrast, VSGP (middle) adapts the width of its basis functions (indicated by the crosshairs) to match the local complexity of the data, producing a predictive distribution that closely mirrors the Exact GP (right).

A fascinating theoretical insight from the paper justifies this approach: it is mathematically impossible to recover a Gaussian function using a GP with a Gaussian covariance if the kernel is more than twice as broad as the function itself. Independent, smaller scales are strictly necessary for capturing fine details.

Superior Sparsity on Real-World Data

The true test of VSGP is its performance on standard regression benchmarks, such as the pumadyn-32nm (simulated robotic arm dynamics) and kin-40k (forward kinematics) datasets.

Test error comparisons on pumadyn-32nm and kin-40k datasets.

The results demonstrate that VSGP achieves superior sparsity. On the kin-40k dataset, the fully optimized VSGP (vsgp-full) significantly outperforms SPGP when the number of basis functions $m$ is small. It achieves the same predictive accuracy as competing models but requires far fewer basis functions. Furthermore, despite having roughly twice as many parameters as SPGP (due to the individual $\sigma_i$ values), VSGP does not show a greater tendency to overfit, as the marginal likelihood naturally penalizes unnecessary complexity.

Limitations and Future Directions

While VSGP pushes the boundaries of sparse kernel learning, it has a few limitations:

  • Optimization Complexity: The increased flexibility makes the marginal likelihood harder to optimize, introducing more local minima. The authors found that initializing VSGP with the results of a standard SPGP helped avoid poor local optima.
  • Kernel Specificity: The elegant closed-form derivations in this paper are specific to Gaussian kernels and Gaussian basis functions. Extending this multiscale approach to other popular kernels (like Matérn) would require new, potentially messier mathematical derivations.
  • Constant Factors: While the asymptotic $O(m^2n)$ complexity matches other sparse methods, the constant factors in training time are higher, and the higher-dimensional parameter space may require more iterations to converge.

Ultimately, VSGP represents a significant step forward for scalable Gaussian Processes, proving that giving basis functions their own scale is a highly effective way to capture complex, multiscale phenomena without sacrificing computational efficiency.

Summary updated

BibTeX
@inproceedings{walder2008sparse,
  author = {Christian Walder and Kwang In Kim and Bernhard Schölkopf},
  title = {{Sparse multiscale gaussian process regression}},
  booktitle = {International Conference on Machine Learning},
  year = {2008},
  doi = {10.1145/1390156.1390296},
}
Figure