Gaussian Processes (GPs) are widely considered the "gold standard" for non-parametric Bayesian regression due to their exceptional ability to quantify uncertainty. However, they suffer from a massive scaling problem: computing the marginal likelihood requires factorizing a covariance matrix, an operation that costs $O(n^3)$ in time and $O(n^2)$ in space.
For large datasets, researchers typically resort to approximations like "inducing points" or "subsets of data." While these methods make the math tractable, they can "smear" or artificially inflate the uncertainty estimates. If the primary goal is high-fidelity uncertainty quantification, these approximations are undesirable. This paper tackles a critical challenge: How do we perform full Bayesian inference on GP parameters for large $n$ without ever computing the full marginal likelihood?
The authors introduce a novel approach combining Stochastic Gradient Langevin Dynamics (SGLD) with a new unbiased linear system solver called ULISSE. This combination enables GP inference to scale to large datasets using only efficient matrix-vector products, entirely bypassing the dreaded $O(n^3)$ marginal likelihood bottleneck.
The Methodology: SGLD and ULISSE
The proposed solution relies on a two-part methodological innovation:
- Stochastic Gradient Langevin Dynamics (SGLD): Standard Markov Chain Monte Carlo (MCMC) methods, like Metropolis-Hastings, require evaluating the full likelihood at every step. SGLD, on the other hand, only requires an unbiased estimate of the gradient of the log-posterior. In the context of GPs, this gradient involves solving linear systems (terms like $K^{-1}y$) and computing trace terms (like $\text{Tr}(K^{-1} \frac{\partial K}{\partial \theta})$).
- ULISSE (Unbiased LInear System SolvEr): Normally, computing these gradient terms requires solving linear systems ($Ks = b$). While iterative solvers like Conjugate Gradient (CG) are faster than direct factorization, they still require many iterations to converge. ULISSE is a randomized version of CG that allows the algorithm to stop early while still providing an unbiased estimate of the solution. It treats the final solution as a sum of incremental updates and uses a probabilistic "Russian Roulette" style termination to ensure the expected value remains exact.
By embedding ULISSE within SGLD, the authors can compute "noisy" but unbiased gradients using only parallelizable covariance matrix-vector products (CMVPs). These operations are computationally cheaper and map perfectly onto modern GPU hardware.
Key Insights
- GPs vs. Mini-batches: Standard SGLD typically achieves scalability by taking mini-batches of data. However, GPs do not naturally accommodate mini-batching because every data point is correlated with every other point through the kernel matrix. ULISSE circumvents this by keeping the entire dataset but "noising" the linear system solver instead of the data.
- The "Aha" Moment for ULISSE: The authors realized that the iterations of the Conjugate Gradient algorithm are simply incremental updates. By applying a specific weighting scheme to these updates and stopping based on a random draw, they obtain an unbiased estimate of the infinite-iteration solution in a fraction of the time.
Experimental Results
The authors evaluated their approach on two regression tasks: the smaller Concrete dataset ($n=1,030$, $d=8$) for validation, and the larger 1990 US Census dataset ($n=22,784$, $d=8$) to demonstrate scalability.
Accuracy and Convergence
On the Concrete dataset, the posterior distributions for the length-scale, variance, and noise parameters perfectly matched those obtained via traditional "gold standard" Metropolis-Hastings MCMC.
The trace plots and Potential Scale Reduction Factor (PSRF) diagnostics confirm that the SGLD chains reliably converge to the true posterior, validating that the unbiased noise introduced by ULISSE does not disrupt the stationary distribution.
Efficiency and Scalability
ULISSE yielded orders of magnitude improvements in the number of iterations required to estimate gradients compared to standard CG.
On the larger Census dataset ($n \approx 23k$), exact likelihood computation would normally be prohibitively slow. However, using this method, the authors were able to draw 10,000 samples per day from the posterior on a single desktop equipped with a 2011-era GPU. This represents a significant milestone for "exact" (in a Monte Carlo sense) GP inference on standard hardware.
Limitations and Future Work
While highly promising, the method has a few limitations that pave the way for future research:
- Preconditioning: The speed of the solver depends heavily on a "preconditioning matrix" $M$. The authors used a Hessian-based approach on a subset of data, but finding the optimal $M$ for more complex kernels remains an open challenge.
- Step-size Tuning: Like all SGLD methods, the quality of inference is sensitive to the decay schedule of the step size ($\epsilon_t$).
- Broader Scope: This paper focused strictly on GP regression with Gaussian noise. Extending this framework to GP classification or spatio-temporal models is a logical next step.
- ARD Kernels: Future work will involve testing this approach on Automatic Relevance Determination (ARD) kernels, where the number of parameters to infer is significantly higher.
Summary updated