Abstract
Gaussian Processes (GPs) are powerful Bayesian models but suffer from cubic computational scaling. This paper introduces Quadruply Stochastic Gaussian Processes (QSGP), a variational inference method that achieves $O(1)$ per-iteration complexity. By employing four levels of stochastic sub-sampling—one for data and three for basis functions—QSGP makes training time and memory requirements independent of both the dataset size and the number of basis functions.
Introduction
Gaussian Processes are often considered the "gold standard" for regression and classification due to their robust uncertainty estimates. However, their standard formulation requires $O(n^3)$ time and $O(n^2)$ storage for $n$ data points, making them impractical for large-scale datasets.
While "sparse GP" methods reduce this cost using $m$ inducing points, they introduce a new bottleneck: the cost per iteration scales as $O(m^3)$. Even Stochastic Variational GPs (SVGP), which allow for data mini-batching, remain tethered to this cubic cost in $m$. This constraint often limits researchers to small models (usually $m < 1000$) that may lack the capacity to capture complex patterns in massive datasets.
Methodology: Achieving $O(1)$ Complexity
The authors pivot from the traditional function-space view of GPs to a weight-space perspective using finite basis function approximations, such as Random Fourier Features. The core innovation is the Quadruply Stochastic estimator for the Evidence Lower Bound (ELBO), which utilizes four levels of stochasticity:
- Data Sub-sampling: Sampling a mini-batch of $n$ training points.
- Basis Function Sub-sampling (x3): Sub-sampling the $m$ basis functions three separate times within the ELBO calculation.
By combining these, the authors derive an unbiased estimator for regression where the cost of a single gradient descent step is constant relative to $n$ and $m$.
To ensure practical stability, the method incorporates:
- Chevron Cholesky Parameterization: A sparse variational covariance structure that captures correlations between basis functions with parameters linear in $m$.
- Control Variates: A variance-reduction technique that stabilizes noisy stochastic gradients without increasing the $O(1)$ per-iteration complexity.
Experimental Results
The authors evaluated QSGP against standard benchmarks including MNIST and the UCI Regression Suite (e.g., kin40k, ctslice, song).
Performance on Large-Scale Data
On the MNIST dataset, the authors trained a model with 10 million basis functions in just 11 minutes on a single GPU, achieving 97.85% accuracy. This demonstrates the ability to decouple model capacity from computational constraints.
Regression Benchmarks
In regression tasks, QSGP consistently outperformed or matched SVGP, particularly on high-dimensional datasets. For instance, on the ctslice dataset, QSGP achieved a Root Mean Squared Error (RMSE) of approximately 2.48, nearly half the error of the standard SVGP (~4.74).
Discussion and Key Insights
A significant takeaway is the ability to use orders of magnitude more basis functions than traditional sparse GPs on consumer-grade hardware. The authors also highlight a theoretical link to Dropout: maximizing their objective with a zero-covariance assumption is mathematically equivalent to training a linear model with Dropout, suggesting inherent regularization.
Limitations
Despite its strengths, QSGP has limitations. The current formulation assumes a diagonal prior precision matrix for efficiency in hyperparameter learning. Additionally, while the estimator is unbiased for regression, the lower-bound version for classification can exhibit bias when applied to Gaussian likelihoods. Finally, like many basis-function methods, performance may degrade in extremely high-dimensional spaces without additional dimensionality reduction.
Conclusion
Quadruply Stochastic Gaussian Processes represent a significant step forward in scaling Bayesian nonparametrics. By reducing the computational burden to $O(1)$, QSGP allows for high-capacity models that were previously computationally infeasible, opening new doors for GP applications in big data regimes.
Summary updated