The Vizier Gaussian Process Bandit Algorithm

Xingyou Song, Qiuyi Zhang, Chansoo Lee, Emily Fertig, Tzu-Kuo Huang, Lior Belenki, Greg Kochanski, Setareh Ariafar, Srinivas Vasudevan, Sagi Perel, Daniel GolovinarXiv 2024 · DOI

Introduction

Black-box optimization (BBO) is critical for tuning systems where the underlying objective function is unknown or expensive to evaluate, such as hyperparameter tuning for deep neural networks. While Bayesian Optimization (BO) using Gaussian Processes (GPs) is a well-established academic framework, standard "textbook" implementations often struggle with real-world complexities: extreme outliers, mixed-type search spaces, high dimensionality, and the need for efficient batching.

Google Vizier addresses these challenges by providing a production-grade GP Bandit algorithm. Having tuned over 70 million objectives at Google, Vizier represents a "local optimum" in the design space of BBO—a robust, scalable, and performant default algorithm capable of handling diverse industrial workloads.

Methodology

The Vizier algorithm evolves the standard GP-UCB (Upper Confidence Bound) framework through several key technical pillars designed for robustness and performance.

Overview of the Vizier GP Bandit pipeline, illustrating the flow from search space definition to suggestion generation.

Multi-Stage Preprocessing

To ensure numerical stability and model accuracy, Vizier employs a sophisticated preprocessing pipeline.

  • Input Scaling: Continuous variables are scaled to a unit ball.
  • Output Warping: This is a critical step to handle non-Gaussian distributions and outliers. Vizier uses a combination of Linear, Half-Rank, Log, and Infeasibility warping. This process "squashes" poor results and "stretches" high-performing ones, allowing the GP to focus its modeling capacity on the region near the optimum.
Detail of the X-Normalization and Y-Warping preprocessing steps used to stabilize GP modeling.

Modeling and Acquisition

The core model utilizes a Matern-5/2 kernel with Automatic Relevance Determination (ARD). Hyperparameters are optimized via Maximum A Posteriori (MAP) estimation using L-BFGS-B.

For acquisition optimization—finding the next point to sample—Vizier departs from traditional gradient-based methods. Instead, it uses a Vectorized Firefly Algorithm implemented in JAX. This zeroth-order metaheuristic allows for the simultaneous evaluation of over 10,000 points on a GPU, effectively navigating the non-convex and "bumpy" landscapes typical of acquisition functions like UCB.

Operational Constraints

To prevent over-exploitation of search space boundaries, Vizier implements Trust Regions. These regions restrict new suggestions to the vicinity of known high-performing points, expanding dynamically as more data is collected. For multi-objective problems, Vizier employs hypervolume scalarization to decompose the task into parallelizable single-objective sub-problems.

Key Insights

  • Warping is Essential: Without output warping, GPs often fail to model the high-performance regions of real-world data accurately.
  • Evolutionary Optimization over Gradients: Vectorized population-based search (Firefly) is more reliable and faster on modern hardware than gradient-based acquisition optimization.
  • Numerical Hardening: Production environments require extreme stability. Vizier is specifically engineered to avoid common "production killers" like Cholesky decomposition failures in high-dimensional spaces.

Results and Evaluation

Vizier was benchmarked against industry standards including Ax (Meta), HEBO (Huawei), and Optuna across several suites (BBOB, COMBO, DTLZ).

  • Scalability: Vizier demonstrated superior performance in high-dimensional spaces (up to 40D), showing significantly slower performance degradation than competitors.
  • Hybrid Spaces: The algorithm maintained high efficiency in mixed continuous-categorical spaces where others often failed numerically.
  • Latency: The JAX-based GPU implementation ensures that "suggest latency" remains nearly constant even as trial history grows, avoiding the exponential increases seen in CPU-based methods.

Conclusion

Google Vizier provides a robust, open-source implementation of a Gaussian Process Bandit algorithm refined by years of large-scale industrial use. By prioritizing preprocessing, evolutionary acquisition, and numerical stability, it offers a highly performant default for a wide array of black-box optimization problems.

Summary updated

BibTeX
@misc{song2024vizier,
  author = {Xingyou Song and Qiuyi Zhang and Chansoo Lee and Emily Fertig and Tzu-Kuo Huang and Lior Belenki and Greg Kochanski and Setareh Ariafar and Srinivas Vasudevan and Sagi Perel and Daniel Golovin},
  title = {{The Vizier Gaussian Process Bandit Algorithm}},
  year = {2024},
  eprint = {2408.11527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.11527},
}
Figure