Bayesian Optimization with Informative Covariance

Afonso Eduardo, Michael U. Gutmann

Abstract

Bayesian optimization is a methodology for global optimization of unknown and expensive objectives. It combines a surrogate Bayesian regression model with an acquisition function to decide where to evaluate the objective. Typical regression models are given by Gaussian processes with stationary covariance functions. However, these functions are unable to express prior input-dependent information, including possible locations of the optimum. The ubiquity of stationary models has led to the common practice of exploiting prior information via informative mean functions. In this paper, we highlight that these models can perform poorly, especially in high dimensions. We propose novel informative covariance functions for optimization, leveraging nonstationarity to encode preferences for certain regions of the search space and adaptively promote local exploration during optimization. We demonstrate that the proposed functions can increase the sample efficiency of Bayesian optimization in high dimensions, even under weak prior information.

Introduction

Bayesian Optimization (BO) is a powerful tool for optimizing expensive, black-box functions. Traditionally, BO relies on Gaussian Process (GP) surrogate models with stationary kernels. These kernels assume that the function's characteristics—specifically its lengthscale and variance—remain constant across the search space. However, in high-dimensional settings, this assumption often leads to the "boundary issue," where the search becomes inefficient by over-exploring the edges of the hypercube. While researchers frequently use informative mean functions to guide the search, this approach fails to address the underlying uncertainty structure governed by the covariance.

Informative Covariance Framework

The authors propose a framework for Informative (I) covariance functions that utilize "anchors"—specific points in the search space where the optimum is likely to reside. This approach moves beyond flat priors by introducing nonstationarity in two key ways:

  1. Spatially-Varying Prior Variance: By scaling prior variance to be higher near anchors, the model is encouraged to prioritize exploration in these "interesting" regions.
  2. Spatially-Varying Lengthscales: Through input warping, the model can employ shorter lengthscales near anchors. This enables high-resolution, fine-grained local searches in promising areas while maintaining a coarser search elsewhere.
Comparison between constant and spatially-varying lengthscales, showing how the latter enables high-resolution local search.

Anchor Strategies

The framework supports different anchor placements:

  • Fixed (+X0): Anchors are placed at the center of the search space, mitigating the tendency to drift toward boundaries.
  • Adaptive (+XA): The anchor dynamically moves to the current best-found point (the incumbent), facilitating aggressive local exploration.

Key Insights: Covariance vs. Mean

A central finding of this work is that the covariance function is a more potent tool for guiding search than the mean function. While an informative mean can suggest where the optimum might be, the covariance controls the "search scale" and the model's curiosity. By making the covariance nonstationary, the model can effectively manage the trade-off between global exploration and "surgical" local optimization.

Comparison of stationary models vs. the proposed nonstationary (I+X0) model in capturing objective function features.

Experimental Results

The proposed methods were evaluated on synthetic benchmarks (up to 100D), rover trajectory planning (60D), and neural network hyperparameter optimization (100D).

  • Efficiency: On high-dimensional functions like the 100D Rosenbrock, the I+X0 and I+XA methods significantly outperformed standard stationary GPs.
  • Robustness: The adaptive anchor strategy (+XA) proved robust even when initial priors were misspecified, eventually recovering to outperform baselines.
  • Real-World Success: In the Rover trajectory task, informative covariance methods found efficient paths much faster than standard BO or Trust Region methods, which often struggled with high-dimensional constraints.

Conclusion and Future Work

This research demonstrates that informative, nonstationary covariance functions can significantly boost BO efficiency in high dimensions. Future work will explore managing multiple anchors for multimodal functions and investigating alternative distance metrics, such as max-norm, to further combat the curse of dimensionality.

Summary updated

BibTeX
@article{eduardo2023bayesian,
  author = {Afonso Eduardo and Michael U. Gutmann},
  title = {{Bayesian Optimization with Informative Covariance}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=JwgVBv18RG},
}
Figure