Near-linear Time Gaussian Process Optimization with Adaptive Batching and Resparsification

Daniele Calandriello, Luigi Carratino, Alessandro Lazaric, Michal Valko, Lorenzo RosascoarXiv 2020

Gaussian Process (GP) optimization, particularly through algorithms like GP-UCB, has long been the gold standard for optimizing "black-box" functions where evaluations are noisy and expensive. These applications range from hyperparameter tuning in machine learning to the design of complex chemical experiments. However, traditional GP methods face two significant scalability barriers: experimental sequentiality and cubic computational complexity. This paper introduces Batch Budgeted Kernel Bandits (BBKB), the first algorithm to simultaneously overcome both hurdles, achieving near-linear runtime while supporting parallel candidate selection.

The Scalability Challenge

Standard GP optimization algorithms typically hit two "walls" as the number of evaluations ($T$) grows:

  1. Experimental Scalability: Most algorithms are strictly sequential. If a single experiment takes a day, 1,000 experiments would take years. While "batched" versions exist, they often fail to address the underlying math's complexity.
  2. Computational Scalability: The mathematical operations behind GPs scale cubically ($O(T^3)$) with the number of evaluations. As the experiment progresses, the time required to select the next point becomes prohibitively long, often stalling after only a few thousand iterations.

While sparse approximations (like BKB) have addressed computational costs and batched methods (like GP-BUCB) have addressed parallelism, BBKB is the first to merge these solutions into a single, theoretically grounded framework.

The BBKB Framework

BBKB achieves its efficiency by combining sparse GP approximations with a novel adaptive batching schedule. Its architecture relies on four core components:

  • Nyström Embeddings: Instead of processing the full, heavy GP covariance matrix, BBKB maintains a "dictionary" of representative points to create a low-dimensional approximation. This keeps the per-step computational cost manageable.
  • Adaptive Batching via Summation Bounds: Traditional batched GPs use a multiplicative "product" rule to determine when a batch is full, which often results in small, inefficient batches. BBKB introduces a tighter summation-based bound. This allows the algorithm to select increasingly larger batches over time without sacrificing theoretical "no-regret" guarantees.
  • Delayed Resparsification: Updating the sparse dictionary is the most computationally intensive task. BBKB "freezes" the dictionary and the posterior mean during a batch, only performing the heavy "resparsification" (updating the dictionary) at the end of each batch. This results in a near-constant amortized cost per step.
  • Lazy Evaluations: Because the model is frozen during a batch, the algorithm can skip re-calculating scores for every possible candidate at every sub-step, providing a massive practical speedup.

Experimental Evaluation

The authors evaluated BBKB across three distinct benchmarks to test its versatility and speed:

  1. Abalone and Cadata: These regression datasets (ranging from ~4,000 to ~20,000 candidates) served as tests for basic optimization performance and scalability. BBKB achieved lower regret (found better solutions) in a fraction of the time required by BKB and GP-BUCB.
  2. NAS-bench-101: This Neural Architecture Search dataset represents a high-dimensional, real-world challenge. BBKB outperformed common genetic algorithms like Regularized Evolution in terms of cumulative regret and matched their ability to find the single best architecture, all while being optimized for parallel execution.

Key Insights and Results

The primary breakthrough of BBKB is the shift from a multiplicative to a summative bound for tracking posterior variance. This mathematical shift proves that it is safe to take much larger batches than previously thought possible. As the algorithm becomes more certain about the function, batch sizes grow linearly, allowing for massive experimental speedups in the later stages of an optimization run.

Computationally, BBKB runs in $\tilde{O}(T A d_{eff}^2)$ time, where $A$ is the number of candidates and $d_{eff}$ is the effective dimension of the problem. This near-linear complexity is a massive improvement over the $O(T^3)$ complexity of standard methods, making high-performance black-box optimization practical for large-scale, parallel setups.

Limitations and Future Work

While BBKB marks a significant advancement, some limitations remain. The current implementation is optimized for finite decision sets; while extensions to continuous spaces are possible, the most efficient "lazy" updates rely on a fixed set of candidates. Additionally, the runtime still depends on the square of the effective dimension ($d_{eff}$), meaning computational savings may be less pronounced in problems with extremely high complexity. Future research may explore optimal "warm-starting" strategies for sparse GPs to further improve initial performance.

Summary updated

BibTeX
@misc{calandriello2020near,
  author = {Daniele Calandriello and Luigi Carratino and Alessandro Lazaric and Michal Valko and Lorenzo Rosasco},
  title = {{Near-linear Time Gaussian Process Optimization with Adaptive Batching and Resparsification}},
  year = {2020},
  eprint = {2002.09954},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.09954},
}
Figure