Framework and Benchmarks for Combinatorial and Mixed-variable Bayesian Optimization

Kamil Dreczkowski, Antoine Grosnit, Haitham Bou Ammar

TL;DR

This paper introduces a modular, open-source framework designed to bring order to the "Wild West" of Mixed-variable and Combinatorial Bayesian Optimization (MCBO). By providing a standardized "plug-and-play" library, the authors implemented 47 novel MCBO algorithms and conducted over 4,000 experiments, ultimately identifying superior combinations of model primitives that outperform existing state-of-the-art methods.

The Benchmarking Gap in MCBO

Bayesian Optimization (BO) is a powerful tool for optimizing expensive "black-box" functions, such as tuning a machine learning model or designing a new drug. However, when the input space is a mix of continuous, discrete, and categorical variables (e.g., "Temperature: 72.5" vs. "Material: Steel"), standard BO often struggles.

The authors identify a major gap in the MCBO field: a lack of systematic benchmarking. Currently, researchers often test their new methods on non-standard, non-diverse tasks. Furthermore, because implementing these complex algorithms from scratch requires massive overhead, many papers fail to compare their work against fair baselines. This makes it nearly impossible to tell which specific "primitive"—the surrogate model, the acquisition function, or the optimizer—is actually driving performance improvements.

A Modular "Mix-and-Match" Methodology

To address this, the authors propose a modular framework that treats an MCBO algorithm as a combination of three high-level primitives:

  1. Surrogate Model: A probabilistic model (like a Gaussian Process) that estimates the function's behavior.
  2. Acquisition Function: A strategy (like Expected Improvement) that decides where to sample next based on the surrogate's uncertainty.
  3. Acquisition Optimizer: The algorithm (like a Genetic Algorithm or Local Search) that finds the best point suggested by the acquisition function.

The core innovation is the BoBuilder class, which allows researchers to effortlessly combine these primitives using a single line of code.

Grid of MCBO primitive combinations

By systematically combining existing primitives in new ways, the authors discovered 47 novel algorithms. The framework also generalizes the use of Trust Regions (TR)—a technique that restricts the search to a local area where the model is most accurate—across all implemented optimizers.

Comprehensive Datasets

The paper provides a suite of ten benchmarking tasks, categorized into:

  • Synthetic Tasks: 21 generalized functions from the Simon Fraser University (SFU) suite and the "Pest Control" problem, which involves high-order interactions.
  • Real-World Tasks:
    • Logic Synthesis: Optimizing Boolean circuits (AIG and MIG graphs).
  • Antibody Design: Optimizing amino acid sequences for binding affinity.
  • RNA Inverse Folding: Finding RNA sequences that fold into specific shapes.
  • Hyperparameter Tuning: Tuning XGBoost and $\nu$-SVR models on standard datasets.

Key Insights and Ideas

The authors conducted a massive evaluation involving over 4,000 individual experiments. Their findings highlight the distinct impact of different primitives on overall optimization success.

Average rank of different MCBO components over iterations
  • Superior Novel Combinations: Two newly discovered combinations—pairing a String Subsequence Kernel (SSK) or Transformed Overlap (TO) kernel with a Genetic Algorithm (GA) and Trust Regions—statistically outperformed established baselines like Casmopolitan, BOSS, and BOiLS.
  • Trust Regions are Essential: One of the most consistent findings was that incorporating a Trust Region (TR) significantly improves performance across almost all task types. It prevents the optimizer from "getting lost" in high-dimensional combinatorial spaces where the surrogate model might be inaccurate.
  • Exploitation vs. Exploration Trade-off: The authors found that Exhaustive Local Search (LS) performs best at very low budgets because it is highly exploitative. However, as the number of iterations increases, the Genetic Algorithm (GA) takes the lead because its less "myopic" approach allows for better global exploration.
  • Model Fit Matters: There is a strong positive correlation between how well a surrogate model fits the data and the eventual optimization performance. Methods using GP (SSK) or GP (TO) surrogates significantly outperformed simpler baselines like Linear Regression or standard Overlap kernels.

Limitations and Future Work

While BO solvers generally dominated, the authors noted that on specific real-world tasks (like Antibody Design), standard non-BO heuristics like Simulated Annealing remain highly competitive, highlighting the need for further BO development in these domains.

The authors acknowledge that their experiments only scratch the surface of possible primitive combinations. While they focused heavily on Gaussian Processes, they suggest future versions of the framework should incorporate other surrogate models like Random Forests or Bayesian Neural Networks. They invite the community to contribute to the library, aiming for it to become a centralized hub for fair, reproducible, and rigorous MCBO evaluation.

Summary updated

BibTeX
@inproceedings{dreczkowski2023framework,
  author = {Kamil Dreczkowski and Antoine Grosnit and Haitham Bou Ammar},
  title = {{Framework and Benchmarks for Combinatorial and Mixed-variable Bayesian Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=qi0Zrm6E5E},
}
Figure