Abstract
Gaussian Processes (GPs) are a cornerstone of Bayesian machine learning, prized for their non-parametric flexibility and robust uncertainty quantification. However, their standard inference complexity of $O(n^3)$ has historically limited their use to small datasets. This review explores the taxonomy of "Scalable GPs," categorizing modern techniques into global and local approximations. We discuss how these methods reduce computational overhead to linear or constant time, enabling GPs to model massive datasets with billions of observations while maintaining their probabilistic integrity.
Introduction: The Cubic Complexity Curse
Gaussian Processes (GPs) are often considered the "gold standard" for Bayesian regression. Unlike neural networks, they provide principled uncertainty estimates and are highly interpretable. However, standard GP inference requires the inversion of an $n \times n$ covariance matrix, leading to a computational cost of $O(n^3)$ and memory requirements of $O(n^2)$. In the era of "Big Data," where datasets frequently exceed $10^6$ points, this cubic scaling is a fatal flaw. This paper reviews the decade-long evolution of techniques designed to break this curse, allowing GPs to scale to datasets as large as the NYC Taxi dataset, which contains over 1.2 billion points.
Taxonomy of Scalable GPs
The landscape of scalable GPs is primarily divided into two families: global approximations and local approximations.
1. Global Approximations
Global methods attempt to summarize the entire dataset using a smaller set of $m$ representative "inducing points" (or pseudo-inputs). This reduces the complexity to $O(nm^2)$.
- Sparse Approximations: Earlier methods like FITC (Fully Independent Training Conditional) modified the GP prior to simplify inference, though they often produced overconfident uncertainty estimates. Modern approaches like VFE (Variational Free Energy) and SVGP (Stochastic Variational GP) use variational inference to approximate the posterior. SVGP is particularly notable for enabling mini-batch training, further reducing complexity to $O(m^3)$ per iteration.
- Structured Sparse Approximations: These methods, such as SKI (Structured Kernel Interpolation), exploit mathematical structures like Kronecker or Toeplitz matrices in the data to accelerate matrix-vector multiplications, often achieving near-linear scaling.
2. Local Approximations
Local methods employ a "divide-and-conquer" strategy by partitioning the input space into subregions.
- Naive Local Experts: Independent GPs are trained on small subsets. While fast, they suffer from discontinuities at the boundaries between experts.
- Product/Mixture of Experts (PoE/MoE): These use weighting schemes to average predictions from multiple local experts, smoothing boundaries and improving global accuracy through collaborative inference.
Key Insights: The Scalability-Capability Trade-off
A fundamental theme in scalable GP research is the trade-off between a model's capability to capture complex patterns and its computational scalability. Global methods are excellent at capturing long-range trends but may "blur" local details if the number of inducing points is too small. Conversely, local methods excel at capturing high-frequency, non-stationary data but may struggle to identify global patterns.
Qualitative Performance and Uncertainty
The choice of approximation method significantly impacts the quality of uncertainty quantification. As shown in the 1D toy comparison below, methods like SoR (Subset of Regressors) can produce narrow, overconfident uncertainty bands. In contrast, variational methods like VFE and SVGP act as natural regularizers, recovering the true GP behavior and uncertainty more faithfully even with limited inducing points.
Hardware and Software Evolution
The recent success of GPs in big data is not solely due to algorithmic breakthroughs. The development of specialized libraries like GPflow (built on TensorFlow) and GPyTorch (built on PyTorch) has allowed GPs to leverage GPUs and distributed computing clusters. This hardware acceleration has been critical in moving GPs from academic curiosities to production-ready models for massive datasets like the NYC Taxi or Airline benchmarks.
Future Directions and Limitations
Despite significant progress, challenges remain:
- High Dimensionality: While GPs now scale well with the number of points ($n$), they still struggle with high-dimensional input features ($d$), where grid-based methods like SKI suffer from exponential growth.
- Deep GPs: Stacking GPs into deep hierarchies offers the potential to learn complex features, but inference remains computationally demanding.
- Non-Gaussian Likelihoods: Most scalable tricks are optimized for regression. Extending these to classification or robust regression (e.g., Student-t noise) requires more complex, non-closed-form solutions.
Summary updated