Scalable Gaussian Processes: Advances in Iterative Methods and Pathwise Conditioning

Jihao Andreas LinarXiv 2025 · DOI

Abstract

Gaussian Processes (GPs) are revered for their mathematically principled uncertainty quantification but are traditionally limited by $O(n^3)$ computational complexity. This paper explores advances in iterative linear solvers and pathwise conditioning to enable exact GP inference on datasets with millions of points. By leveraging Stochastic Dual Descent (SDD) and exploiting latent structures in spatio-temporal data, these methods achieve significant speedups and competitive performance against state-of-the-art neural networks.

Introduction: The Scalability Wall

Gaussian Processes are often considered the "gold standard" for probabilistic modeling due to their ability to provide reliable uncertainty estimates. Unlike standard neural networks, which can be overconfident even when hallucinating, GPs provide a mathematically grounded measure of trust. However, the requirement to invert a massive kernel matrix creates a cubic scaling bottleneck. While "Sparse GPs" offer an approximation by using inducing points, they often sacrifice accuracy and can underestimate uncertainty. This work focuses on iterative methods that approach exact solutions without the prohibitive $O(n^3)$ cost, transforming GPs into viable tools for large-scale machine learning.

Methodology: Iterative Solvers and Pathwise Conditioning

The core of this research lies in several algorithmic innovations designed to bypass traditional matrix decomposition:

  1. Stochastic Gradient Descent (SGD) for GPs: By reformulating GP sampling as a quadratic optimization task, the memory requirement is reduced from $O(n^2)$ to $O(n)$ through mini-batching, allowing the model to process data in smaller, manageable chunks.
  2. Stochastic Dual Descent (SDD): SDD optimizes a dual objective rather than the standard primal one, resulting in a significantly flatter optimization landscape. This stability allows for step sizes up to 100x larger than standard SGD, drastically accelerating convergence.
  3. Pathwise Gradient Estimators: This technique allows for the efficient tuning of hyperparameters (such as length scales) by reusing computations from the prediction phase, essentially providing gradients "for free."
  4. Latent Kronecker Structure: For spatio-temporal datasets, this method exploits grid-based mathematical efficiencies even when data contains missing values, allowing for high-performance modeling of irregular real-world observations.

Experimental Results

The proposed methods were evaluated across diverse benchmarks, including UCI regression tasks, molecular binding affinity (DOCKSTRING), and large-scale climate datasets.

  • Performance at Scale: On the Nordic Gridded Climate Dataset, the Latent Kronecker GP successfully processed 5 million observations, outperforming sparse GP baselines in both Root Mean Square Error (RMSE) and Negative Log-Likelihood (NLL).
  • Computational Efficiency: The combination of warm-starting and pathwise techniques yielded speedups of up to 72× for hyperparameter optimization compared to standard iterative baselines.
  • Competitive Accuracy: In the DOCKSTRING molecular task, the SDD-based GP achieved performance parity with state-of-the-art Graph Neural Networks (GNNs), demonstrating that GPs can compete with deep learning architectures in complex domains.

Discussion and Insights

A key finding is the concept of "benign non-convergence." Spectral analysis reveals that SGD prioritizes fitting the most significant components of the data (top eigenvalues) first. Consequently, even before full convergence, the model provides highly accurate predictions in data-dense regions. Furthermore, switching to the dual objective (SDD) fundamentally improves the problem's condition number, enhancing stability and allowing for much more aggressive optimization strategies.

Conclusion and Future Work

This research bridges the gap between the theoretical elegance of Gaussian Processes and the practical demands of big data. While challenges remain—such as sensitivity to learning rates and the constraints of product kernels—the integration of iterative solvers and pathwise conditioning provides a robust framework for high-stakes applications like drug discovery and robotics, where reliable uncertainty is paramount. Future work will likely focus on adaptive learning rates and more flexible kernel structures to make these solvers truly plug-and-play.

Summary updated

BibTeX
@misc{lin2025scalable,
  author = {Jihao Andreas Lin},
  title = {{Scalable Gaussian Processes: Advances in Iterative Methods and Pathwise Conditioning}},
  year = {2025},
  eprint = {2507.06839},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.06839},
}
Figure