NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Computation-Aware Gaussian Processes: Model Selection And Linear-Time Inference

Jonathan Wenger, Kaiwen Wu, Philipp Hennig, Jacob R. Gardner, Geoff Pleiss, John Patrick Cunningham

Abstract

Gaussian Processes (GPs) are a cornerstone of probabilistic machine learning, offering principled uncertainty quantification. However, their cubic computational complexity ($O(n^3)$) limits their application to large-scale datasets. While sparse approximations like Stochastic Variational GPs (SVGP) enable scalability, they often suffer from overconfidence and hyperparameter bias. This paper introduces CaGP-Opt, a novel framework that treats approximation error as "computational uncertainty." By utilizing a new Variational Evidence Lower Bound (ELBO) and learned sparse block-diagonal actions, CaGP-Opt achieves linear-time scaling ($O(n)$) and enables unbiased model selection, allowing for reliable GP inference on millions of data points.

Introduction

Gaussian Processes are often considered the "gold standard" for regression tasks due to their ability to provide full predictive distributions. Despite this, the computational burden of inverting large covariance matrices remains a significant barrier. Common workarounds, such as Sparse GP Regression (SGPR) and SVGP, introduce inducing points to reduce complexity.

However, these methods exhibit two primary pathologies. First, they are frequently overconfident, underestimating uncertainty in regions far from training data or inducing points. Second, they suffer from hyperparameter bias; during training, the optimization process often inflates the observation noise to mask the errors introduced by the approximation itself. This leads to "oversmoothed" models that fail to capture fine-grained data patterns.

Methodology: The CaGP-Opt Framework

To address these issues, the authors propose CaGP-Opt, which builds upon the concept of Computation-Aware GPs (CaGP). The core philosophy of CaGP is to explicitly model the error introduced by the approximation as an additional source of variance.

1. Conservative Uncertainty and Model Selection

CaGP-Opt is designed to be "conservative," meaning its predictive variance is guaranteed to be greater than or equal to the exact GP variance. This prevents the model from becoming overconfident due to limited computational resources. To enable effective model selection, the authors derived a novel ELBO that allows for the simultaneous optimization of kernel hyperparameters and the approximation parameters. This ensures that the model can distinguish between true observation noise and computational error.

Comparison of predictive posteriors. Unlike SVGP (second from left), which shows near-zero variance at inducing points far from data, CaGP-Opt (right) maintains significant posterior variance in data-sparse regions.

2. Linear-Time Scalability via Sparse Actions

Previous iterations of CaGP were limited by $O(n^2)$ complexity due to the use of dense projections (actions). CaGP-Opt introduces a sparse block-diagonal structure for these actions. This innovation reduces the time complexity to $O(n)$, making the method highly compatible with modern hardware acceleration. By optimizing these sparse actions alongside hyperparameters, the model learns to focus its computational budget on the most informative projections of the data.

Experimental Results

The performance of CaGP-Opt was evaluated across a suite of UCI regression benchmarks, ranging from the Parkinsons dataset (5,288 points) to the massive Power dataset (1,844,352 points).

Scalability and Accuracy

CaGP-Opt demonstrated remarkable scalability, training on the 1.8-million-point Power dataset in approximately 4.5 hours on a single GPU. Quantitatively, the method consistently matched or outperformed state-of-the-art SVGP and SGPR baselines in terms of Negative Log-Likelihood (NLL) and Root Mean Squared Error (RMSE).

Quantitative results across UCI datasets. CaGP-Opt (bold green) consistently achieves the best or second-best NLL and RMSE, often outperforming the standard SVGP baseline.

Calibration and Signal Recovery

Because CaGP-Opt accounts for its own approximation error, it does not need to artificially inflate observation noise. This allows the model to recover the underlying signal more accurately than SVGP, which often oversmooths. Furthermore, the model's uncertainty estimates were found to be better calibrated; on the largest datasets, CaGP-Opt’s 95% credible intervals aligned much more closely with actual frequentist coverage than competing methods.

Conclusion and Future Work

CaGP-Opt represents a significant step forward in making Gaussian Processes viable for large-scale, high-stakes applications where reliable uncertainty is paramount. By integrating computational error into the probabilistic model, it avoids the pitfalls of standard sparse approximations while maintaining linear-time efficiency.

Future research directions include extending this framework to non-Gaussian likelihoods (e.g., classification) and developing methods for minibatch training to overcome current GPU memory limitations. Additionally, automating the selection of the approximation rank remains an area for further optimization.

Summary updated

BibTeX
@inproceedings{wenger2024computation,
  author = {Jonathan Wenger and Kaiwen Wu and Philipp Hennig and Jacob R. Gardner and Geoff Pleiss and John Patrick Cunningham},
  title = {{Computation-Aware Gaussian Processes: Model Selection And Linear-Time Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=tDvFa5OJyS},
}
Figure