Incorporating Expert Prior in Bayesian Optimisation via Space Warping

Anil Ramachandran, Sunil Gupta, Santu Rana, Cheng Li, Svetha Venkatesh · DOI

Abstract

Bayesian optimisation (BO) is a sample-efficient framework for the global optimisation of expensive black-box functions. Despite its efficiency, BO often suffers from a "cold start" problem in large search spaces, where it explores many low-value regions before identifying the optimum. This paper introduces a novel framework to accelerate discovery by incorporating expert prior knowledge directly into the search process. By using a technique called "space warping," we transform the search space to expand regions with high prior probability and shrink those with low probability. This is achieved by redefining the Gaussian Process (GP) kernel, making the approach acquisition-agnostic. Our results across synthetic benchmarks and real-world hyperparameter tuning tasks (SVM and Random Forest) demonstrate that space warping significantly reduces the number of function evaluations required to reach the global optimum.

Introduction

In fields ranging from materials science to machine learning, researchers often face the challenge of optimizing functions where each evaluation is costly in terms of time, money, or resources. Bayesian Optimisation has emerged as the standard solution for these "expensive" black-box problems. However, standard BO typically assumes a uniform prior over the search space, treating every coordinate as equally likely to house the optimum.

In practice, domain experts often possess significant intuition—or "gut feelings"—about where the optimum might lie based on previous experiments or theoretical knowledge. While transfer learning can leverage data from prior experiments, there has been a lack of mathematically robust methods to incorporate subjective expert priors into the BO loop without overhauling the underlying acquisition logic. This paper addresses this gap by proposing a method that modifies the "map" of the search space itself.

Methodology

Space Warping via Probability Integral Transform

The core of the proposed method is the use of the Probability Integral Transform (PIT) to warp the input space. The process follows four key steps:

  1. Prior Specification: An expert provides a prior distribution (e.g., Normal or Gamma) representing the suspected location of the optimum.
  2. The Warp: The Cumulative Distribution Function (CDF) of this prior is used to transform the input coordinates. Mathematically, this stretches the "mathematical real estate" of high-probability regions and compresses low-probability regions.
  3. The Warped Kernel: Rather than changing the acquisition function (the strategy for picking the next point), the authors modify the Gaussian Process (GP) kernel. The distance between two points is redefined based on their warped coordinates.
  4. Mathematical Validity: The paper provides a formal proof that this redefined warped kernel remains a valid Mercer kernel, ensuring that the Gaussian Process remains mathematically sound and stable.

Acquisition Agnostic

Because the expert knowledge is baked directly into the GP model’s kernel, the method is "acquisition agnostic." It can be used seamlessly with any standard acquisition function, such as Expected Improvement (EI) or Upper Confidence Bound (UCB), without requiring specialized modifications to the optimization logic.

Experimental Setup

The authors evaluated the space-warping framework against standard BO and prior-based random search across several domains:

  • Synthetic Benchmarks: The 3D Gaussian, 2D Branin, and 2D Levy functions were used to establish baseline performance and test the algorithm's sensitivity to prior misspecification.
  • SVM Hyperparameter Tuning: Tuning the 'C' and 'gamma' parameters for Support Vector Machines using the 'german numer' and 'four class' datasets.
  • Random Forest Tuning: Optimizing 'minimum samples per leaf' and 'max features' on the 'forest-fires' (UCI) and 'carsmall' (MATLAB) datasets.

Key Results and Discussion

Accelerated Convergence

In nearly all experimental scenarios, the warped BO method reached the global minimum significantly faster than standard BO. By focusing the GP's "attention" on regions identified by the expert, the algorithm avoids the exhaustive exploration of unpromising areas that typically characterizes the early stages of BO.

Robustness to Human Error

A critical question for any prior-based method is how it handles incorrect intuition. The authors tested this by intentionally misspecifying the prior on the Gaussian benchmark. Even when the expert's guess was 20% offset from the true optimum, the warped method eventually matched the performance of standard BO. This demonstrates that the method is robust; as long as the expert does not assign a zero probability to the true optimum, the algorithm is guaranteed to converge, though the speedup may be diminished.

Real-World Utility

On SVM and Random Forest tuning tasks, the proposed method consistently identified superior hyperparameters (measured by 1-AUC or quantile error) in fewer iterations. By leveraging priors derived from previous large-scale meta-learning studies, the method effectively bridges the gap between human expertise and automated optimization.

Conclusion and Future Work

Space warping provides a simple yet powerful mechanism for incorporating expert intuition into Bayesian Optimisation. By redefining the kernel to reflect prior beliefs, we can significantly reduce the "cold start" cost of expensive black-box optimization.

However, the method is not without limitations. The "Zero-Probability Trap" remains a concern: if an expert is so confident that they assign zero likelihood to a region containing the true optimum, the warped kernel will effectively hide that region from the optimizer. Future research will focus on handling more complex, multi-modal expert priors and exploring how space warping scales in extremely high-dimensional parameter spaces.

Summary updated

BibTeX
@article{ramachandran2020incorporating,
  author = {Anil Ramachandran and Sunil Gupta and Santu Rana and Cheng Li and Svetha Venkatesh},
  title = {{Incorporating Expert Prior in Bayesian Optimisation via Space Warping}},
  journal = {Knowledge-Based Systems},
  year = {2020},
  doi = {10.1016/j.knosys.2020.105663},
}
Figure