Scalable Bayesian Optimization Using Vecchia Approximations of Gaussian Processes

Felix Jimenez, Matthias Katzfuss

Abstract

Bayesian optimization is a technique for optimizing black-box target functions. At the core of Bayesian optimization is a surrogate model that predicts the output of the target function at previously unseen inputs to facilitate the selection of promising input values. Gaussian processes (GPs) are commonly used as surrogate models but are known to scale poorly with the number of observations. Inducing point GP approximations can mitigate scaling issues, but may provide overly smooth estimates of the target function. In this work we adapt the Vecchia approximation, a popular GP approximation from spatial statistics, to enable scalable high-dimensional Bayesian optimization. We develop several improvements and extensions to Vecchia, including training warped GPs using mini-batch gradient descent, approximate neighbor search, and variance recalibration. We demonstrate the superior performance of Vecchia in BO using both Thompson sampling and qUCB. On several test functions and on two reinforcement-learning problems, our methods compared favorably to the state of the art, often outperforming inducing point methods and even exact GPs.

Introduction

Bayesian Optimization (BO) has become the gold standard for optimizing expensive black-box functions, ranging from hyperparameter tuning in machine learning to complex engineering design. The efficiency of BO relies on a surrogate model—typically a Gaussian Process (GP)—to provide a probabilistic estimate of the objective function. However, exact GPs suffer from a computational complexity of $O(n^3)$, where $n$ is the number of observations. This cubic scaling makes standard BO prohibitive for problems requiring thousands of evaluations.

To address this, researchers often employ "inducing point" methods like Stochastic Variational Inference (SVI-GP). While these methods reduce complexity, they frequently "oversmooth" the surrogate, failing to capture the local fluctuations and sharp peaks necessary for identifying global optima. This paper introduces a scalable alternative: the Vecchia approximation.

The Vecchia Approximation for BO

Originally developed in spatial statistics, the Vecchia approximation decomposes the joint probability of the data into a product of conditional probabilities. Instead of modeling the relationship between every pair of points, each point $i$ is conditioned only on a small set of $m$ previously ordered neighbors. This approach reduces the computational burden to $O(nm^3)$, which is linear in the number of observations $n$.

Figure 1: Visualization of the Vecchia conditioning process. As the index $i$ increases, the conditioning set (red dots) focuses on the nearest neighbors among previously ordered points (blue dots), while the initial points (purple squares) provide a global sketch.

Technical Enhancements

To make Vecchia viable for high-dimensional BO, the authors introduced several key innovations:

  1. Warped Vecchia GPs: By integrating a Kumarswamy CDF to warp the input space, the model can handle non-stationary functions where behavior changes across the domain.
  2. Mini-batch Training: The authors demonstrated that Vecchia GPs can be trained using stochastic gradient descent, ensuring that hyperparameter optimization remains efficient as data grows.
  3. Fast Neighbor Search: To avoid bottlenecks in finding nearest neighbors, the framework utilizes Product Quantization for approximate nearest neighbor (ANN) searches.
  4. Variance Recalibration: An additive variance inflation factor is used to prevent the model from becoming overconfident, which naturally encourages exploration in the BO loop.

Experimental Results

The performance of the Vecchia-based surrogate was evaluated against standard benchmarks and complex reinforcement learning tasks. The results consistently showed that Vecchia balances global and local information more effectively than inducing point methods.

Figure 3: Comparison of log regret on Hartmann-6 and Ackley-5 benchmarks. Vecchia (dark blue) matches or outperforms the Exact GP (pink) and significantly beats inducing point methods like SVI-GP (gold) and WOGP (grey).

Key Findings

  • Superior Regret: On synthetic functions like Hartmann-6 and Ackley-5, Vecchia matched or exceeded the performance of exact GPs. By focusing on local neighbors, the model is less "distracted" by distant, irrelevant data points in complex landscapes.
  • Reinforcement Learning Success: In a 14D Robot Pushing task, Vecchia outperformed all other approximate methods and eventually surpassed the exact GP after 7,500 evaluations, demonstrating its robustness in high-dimensional, high-evaluation regimes.
  • Scalability: The method successfully optimized the 100D Rastrigin function and handled datasets with up to 100,000 observations, a scale that is computationally impossible for exact GPs.

Conclusion

The adaptation of Vecchia approximations provides a powerful, linear-scaling surrogate for Bayesian Optimization. By avoiding the oversmoothing typical of inducing point methods and maintaining the local precision of exact GPs, Vecchia enables BO to tackle significantly larger and higher-dimensional problems. Future work may explore integrating these approximations with subspace-based BO methods to further push the boundaries of high-dimensional optimization.

Summary updated

BibTeX
@misc{jimenez2022scalable,
  author = {Felix Jimenez and Matthias Katzfuss},
  title = {{Scalable Bayesian Optimization Using Vecchia Approximations of Gaussian Processes}},
  year = {2022},
  eprint = {2203.01459},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.01459},
}
Figure