Recommendations for Baselines and Benchmarking Approximate Gaussian Processes

Sebastian W. Ober, Artem Artemev, Marcel Wagenländer, Rudolfs Grobins, Mark van der WilkarXiv 2024 · DOI

Introduction

Gaussian Processes (GPs) are a cornerstone of probabilistic machine learning, prized for their ability to provide principled uncertainty estimates and automated hyperparameter tuning via marginal likelihood. However, their $O(N^3)$ computational complexity limits their application to large datasets. While numerous approximations—ranging from sparse methods to variational inference—have been proposed, the field currently lacks a standardized benchmarking framework. This "Wild West" of evaluation makes it difficult to discern whether a new method offers a genuine breakthrough or if its performance gains stem from poorly tuned baselines.

A Standardized Evaluation Framework

The authors propose a shift toward a more rigorous, tuning-free evaluation protocol centered on three pillars:

  1. The "Near-Exact" Requirement: A robust approximation should converge to the exact GP solution as computational resources (e.g., the number of inducing points $M$) increase. Evaluation should prioritize the efficiency with which a method reaches this "near-exact" regime.
  2. A Robust SGPR Baseline: The paper introduces a specific training procedure for Sparse Gaussian Process Regression (SGPR). By employing an alternating optimization strategy and automatically scaling $M$, this baseline removes the need for manual hyperparameter intervention, providing a consistent yardstick for comparison.
  3. Pareto Frontier Benchmarking: Rather than comparing models at arbitrary fixed points, the authors advocate for plotting performance against a compute budget. This approach identifies the "efficient frontier," revealing the true trade-offs between accuracy, time, and memory.
Overview of SGPR performance on a standard regression task, showing the regression fit, the convergence of variational bounds, and hyperparameter stability.

Key Insights: Approximating the Model vs. Fitting the Data

A critical distinction made in this work is between fitting the data and approximating the model. Often, an approximation might appear to outperform an exact GP on test metrics due to "lucky" regularization. However, a true approximation should be judged by its ability to recover the exact GP's posterior.

The authors find that when properly implemented, SGPR is remarkably difficult to beat. Many claims of superiority over sparse GPs in existing literature may actually be comparisons against sub-optimally tuned implementations.

The "No Near-Exact" Regime and Misspecification

On certain datasets, such as the "Step" function, SGPR fails to converge even with a high number of inducing points. This behavior typically indicates model misspecification—such as using a smooth Squared Exponential kernel for a discontinuous function—rather than a failure of the approximation method itself.

SGPR behavior on a discontinuous 'Step' dataset. The failure to reach a 'near-exact' regime highlights model misspecification rather than an algorithmic flaw.

Results and Stability

The proposed benchmarking framework was tested across 12 UCI datasets, ranging from small (Bike, Elevators) to large and complex (Kin40k, Protein). Key findings include:

  • Rapid Convergence: On datasets like Elevators and Naval, the SGPR baseline reached exact GP performance levels very quickly.
  • Numerical Robustness: By incorporating adaptive jitter and L-BFGS restarts, the authors achieved "out-of-the-box" training stability across all benchmarks without per-dataset tweaks.
  • Efficiency: SGPR consistently outperformed more complex iterative methods (like IterGP) in low-to-medium compute regimes, maintaining monotonic improvement where others showed instability.

Conclusion and Future Directions

This work provides a much-needed foundation for GP research by establishing a high-quality, reproducible baseline. While the current focus is on regression with Gaussian likelihoods and smooth kernels, future work should extend these "tuning-free" principles to non-Gaussian likelihoods (classification) and explore the interaction between kernel choice and approximation quality. By adopting these standardized practices, the community can ensure that reported progress reflects genuine algorithmic advancement.

Summary updated

BibTeX
@misc{ober2024recommendations,
  author = {Sebastian W. Ober and Artem Artemev and Marcel Wagenländer and Rudolfs Grobins and Mark van der Wilk},
  title = {{Recommendations for Baselines and Benchmarking Approximate Gaussian Processes}},
  year = {2024},
  eprint = {2402.09849},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.09849},
}
Figure