Scaling Gaussian Process Optimization by Evaluating a Few Unique Candidates Multiple Times

Daniele Calandriello, Luigi Carratino, Alessandro Lazaric, Michal Valko, Lorenzo Rosasco

This paper offers a clever solution to one of the most persistent headaches in Bayesian Optimization: the cubic scaling bottleneck of Gaussian Processes. By rethinking how candidates are evaluated, the authors achieve state-of-the-art scalability without sacrificing theoretical guarantees.

TL;DR

The authors introduce MINI-META, a meta-algorithm that scales Gaussian Process Optimization (GP-Opt) by intentionally evaluating a small number of unique candidates multiple times. By limiting "candidate switches," they reduce the computational complexity from cubic in the total number of steps to cubic in the number of unique points, achieving massive speedups while maintaining theoretical no-regret guarantees.

The Bottleneck in Gaussian Processes

Gaussian Processes (GPs) are the gold standard for optimizing expensive black-box functions because they provide excellent uncertainty estimates. However, they suffer from a severe computational bottleneck: calculating the posterior costs $O(t^3)$, where $t$ is the number of data points. As an optimization runs for thousands of steps, this calculation becomes painfully slow.

Furthermore, many real-world optimization tasks have high switch costs. For example, in a "wet lab" chemistry experiment, changing the chemical being tested requires recalibrating equipment. In hyperparameter tuning, switching models might require reloading massive datasets. Standard GP algorithms ignore these costs, often suggesting a different candidate at every single step.

The MINI-META Approach

The core contribution is MINI-META, an epoch-based meta-strategy that can be applied to standard acquisition functions like GP-UCB or GP-EI.

  1. The Switching Rule: Instead of picking a new point at every step, MINI-META selects a candidate $x_{t+1}$ and evaluates it multiple times. It only switches to a new candidate when the uncertainty at that point (the posterior variance) drops below a specific threshold.
  2. Exact Reformulation: The authors show that if you evaluate the same point multiple times, you don't need to add a new row/column to the GP kernel matrix for every evaluation. Instead, you can use a weighted reformulation where the complexity depends only on the number of unique points ($q_t$).
  3. Efficiency: This reduces the time complexity from $O(T^3)$ to $O(q_t^3)$. Since $q_t$ is bounded by the "maximum information gain" ($\gamma_T$), which grows very slowly, the algorithm remains fast even over millions of total evaluations.
  4. Parallelism: Because the algorithm decides to evaluate the same point multiple times before seeing the feedback, these evaluations can easily be batched and performed in parallel.

Key Insights

  • Redundancy is a Feature, Not a Bug: In noisy settings, evaluating the same point multiple times is actually useful for "denoising." MINI-META exploits this to keep the GP "sparse" and fast.
  • Decoupling Runtime from Horizon: By using the unique-point reformulation, the authors effectively decouple the $O(T)$ component of the runtime from the $O(\gamma_T)$ component. This is the first approach to achieve this while maintaining exact (non-approximate) GP inference.
  • Deterministic Scalability: Unlike methods that rely on random projections or "inducing points" (which add stochasticity and approximation error), MINI-META is deterministic and uses the exact GP model.
  • Theoretical Harmony: The paper proves that this "lazy switching" doesn't hurt the convergence rate. The "MINI" variants achieve the same $O(\gamma_T \sqrt{T})$ cumulative regret as their standard counterparts.

Key Results

The authors evaluated their approach on NAS-bench-101 (a massive neural architecture search benchmark) and standard synthetic black-box optimization functions (e.g., Rosenbrock, Ellipsoid, Schaffer, and Rastrigin).

Performance of MINI variants across steps, unique arms, and runtime.
  • Speedup: On the NAS-bench experiment, the MINI variants (denoted as $\mu$-gp-ucb and $\mu$-gp-ei in the figures) were significantly faster than BBKB (the previous state-of-the-art for batched GP-Opt), terminating earlier while achieving lower or comparable regret.
  • Unique Points: The algorithm drastically reduced the number of unique candidates. For 15,000 total steps, MINI-variants often used fewer than 200 unique points, whereas standard methods would have used thousands.
  • Performance: In synthetic tests, the MINI-variants performed as well as or better than tuned $\epsilon$-greedy strategies and other scalable GP approximations, proving that you don't need to explore a massive variety of points to find the optimum.

Limitations and Future Work

While highly effective, the method does have boundaries:

  • Evaluation Reuse: The method relies entirely on the ability to evaluate the same candidate multiple times. It is unsuitable for environments that change over time (non-stationary) or where repeated testing is impossible (e.g., medical trials on a single patient).
  • Noiseless Settings: In perfectly noiseless environments, evaluating the same point twice provides zero new information. The authors acknowledge that MINI-META is poorly suited for such cases.
  • Hyperparameter Sensitivity: Like all GP methods, it still requires choosing a kernel and estimating noise levels. Future work could explore "online tuning" of these parameters within the MINI-META framework.
  • Acquisition Optimization: While the GP math is faster, maximizing the acquisition function (the "inner loop") remains a challenging non-convex optimization problem for continuous spaces.

Summary updated

BibTeX
@inproceedings{calandriello2022scaling,
  author = {Daniele Calandriello and Luigi Carratino and Alessandro Lazaric and Michal Valko and Lorenzo Rosasco},
  title = {{Scaling Gaussian Process Optimization by Evaluating a Few Unique Candidates Multiple Times}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=P3q0UHWk63},
}
Figure