Adaptive Inducing Points Selection For Gaussian Processes

Théo Galy-Fajou, Manfred OpperarXiv 2021

TL;DR

This paper introduces Online Inducing Points Selection (OIPS), a simple yet effective algorithm for automatically determining the number and location of inducing points in streaming Gaussian Processes. By using a kernel-based thresholding strategy, OIPS adaptively grows the model to match data complexity, providing theoretical guarantees on both computational efficiency and predictive performance.

What Problem Does This Paper Address?

Gaussian Processes (GPs) are the "gold standard" for probabilistic time-series modeling, but they suffer from a major flaw: they scale cubically ($O(N^3)$) with the number of data points. To fix this, researchers use Sparse GPs, which approximate the full dataset using a smaller set of $M$ "inducing points" (IPs), reducing complexity to $O(M^3)$.

However, in a streaming setting—where data arrives continuously—two big questions remain:

  1. How many inducing points do we need? Too few, and the model is inaccurate; too many, and it becomes too slow.
  2. Where should they be? Standard methods like gradient-based optimization are slow to "move" IPs to new data regions, especially if there are gaps in the input stream.

Existing solutions like k-means aren't designed for online use, and fixed grids fail to scale to high-dimensional data.

Methods

The authors propose OIPS, a threshold-based algorithm that decides whether to add a new inducing point on the fly.

For every new data point $x$:

  1. Measure Similarity: Calculate the kernel similarity between $x$ and the current set of inducing points $Z$.
  2. Threshold Check: If the maximum similarity is below a user-defined threshold $\rho$ (meaning $x$ is in a "new" region not well-covered by existing IPs), $x$ is added to the set of inducing points.
  3. Update: The model's variational parameters are updated using the new, slightly larger set of IPs.
Figure 1: Illustration of the inducing point selection pro- cess. Blue points represent inducing points, green points data and the orange line represent the mean of the predic- tion from the GP model surrounded by one standard error. The dashed represent the space covered by the existing IPs, only points seen outside those areas are selected as new IPs.

This approach is computationally "free" because the similarity scores are already required for the standard GP variational updates. Crucially, the authors provide Theorem 1, which bounds the expected number of IPs, and Theorem 2, which bounds the approximation error (ELBO), giving OIPS a solid theoretical foundation compared to heuristic methods.

Datasets

The algorithm was evaluated on several benchmarks:

  • Toy Dataset A: A uniform time series (noisy sine wave) to test basic streaming performance.
  • Toy Dataset B: An irregular time series with a significant "gap" in the middle, testing the model's ability to adapt to sudden changes in data location.
  • Toy Dataset C: A 3D synthetic dataset ($\text{sinc}(\|x\|)$) to evaluate performance in higher dimensions.
  • Abalone Dataset: A real-world dataset ($N=4177, D=7$) used to compare OIPS against Determinantal Point Processes (DPPs).

Key Insights and Ideas

  • Handling Data Gaps: Traditional gradient-based methods struggle when new data appears far from existing IPs (e.g., after a time gap). OIPS solves this instantly by simply adding a new point in the new region.
  • Model-Agnostic Sparsity: Because the acceptance condition depends on the kernel, OIPS naturally adapts as hyperparameters (like lengthscale) are optimized. If the model needs more detail, it automatically accepts more points.
  • Connection to DPPs: The authors show that OIPS acts like a "half-greedy" version of a Determinantal Point Process. It consistently selects sets of IPs that are more diverse and informative than standard k-DPP sampling.
  • Predictable Growth: The number of IPs doesn't grow forever. It converges to a limit determined by the volume of the input space and the kernel's lengthscale.

Key Results

  • Robustness to Gaps: In Dataset B, OIPS maintained a low Negative Log-Likelihood (NLL) while fixed-IP methods saw performance stall because they couldn't "move" their IPs across the data gap quickly enough.
  • Efficiency: In high-dimensional tests (Dataset C), OIPS converged to just 10 IPs to achieve better performance than a grid method using $10^3$ points.
  • Theoretical Alignment: Empirical tests showed that the actual number of inducing points accepted by OIPS stays well below the theoretical upper bound derived in the paper.
Figure 4: Bound on the number of inducing points accepted M given the number of seen points N vs the empirical es- timation

Limitations and Future Work

  • Outlier Sensitivity: A single outlier could trigger the addition of an unnecessary inducing point. The authors suggest that using a threshold based on the median distance to $k$-nearest IPs could make the algorithm more robust.
  • Non-Stationarity: The current version assumes a stationary kernel. Future work could involve adapting the number of IPs locally to handle regions with varying levels of complexity.
  • Likelihoods: While demonstrated on regression, the authors note OIPS is compatible with non-conjugate likelihoods (like classification) through data augmentation techniques.

Summary updated

BibTeX
@misc{galyfajou2021adaptive,
  author = {Théo Galy-Fajou and Manfred Opper},
  title = {{Adaptive Inducing Points Selection For Gaussian Processes}},
  year = {2021},
  eprint = {2107.10066},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.10066},
}
Figure