Combinatorial Bayesian Optimization with Random Mapping Functions to Convex Polytopes

Jungtaek Kim, Seungjin Choi, Minsu Cho

Abstract

Bayesian optimization is a popular method for solving the problem of global optimization of an expensive-to-evaluate black-box function. It relies on a probabilistic surrogate model of the objective function, upon which an acquisition function is built to determine where next to evaluate the objective function. In general, Bayesian optimization with Gaussian process regression operates on a continuous space. When input variables are categorical or discrete, an extra care is needed. A common approach is to use one-hot encoded or Boolean representation for categorical variables which might yield a combinatorial explosion problem. In this paper we present a method for Bayesian optimization in a combinatorial space, which can operate well in a large combinatorial space. The main idea is to use a random mapping which embeds the combinatorial space into a convex polytope in a continuous space, on which all essential process is performed to determine a solution to the black-box optimization in the combinatorial space. We describe our combinatorial Bayesian optimization algorithm and present its regret analysis. Numerical experiments demonstrate that our method shows satisfactory performance compared to existing methods.

Introduction

Standard Bayesian optimization (BO) is the gold standard for optimizing "expensive" black-box functions, such as hyperparameter tuning or chemical compound design. However, BO was originally designed for continuous, real-valued spaces. When inputs are categorical or discrete, researchers often resort to one-hot encoding. This approach suffers from the "curse of dimensionality" as the number of combinations grows, leading to a combinatorial explosion that standard BO cannot handle efficiently. This paper proposes a scalable solution by using random mapping functions to embed these discrete spaces into continuous convex polytopes, allowing for efficient optimization with a guaranteed sublinear regret bound.

Methodology: The CBO-Lookup Algorithm

The authors introduce CBO-Lookup (Combinatorial Bayesian Optimization with Lookup Table), which bridges the gap between discrete search spaces and continuous optimization through several key steps:

  1. Random Embedding: Categorical variables are converted into Boolean vectors and projected into a lower-dimensional continuous space using a random matrix ($\mathbf{R}$).
  2. Convex Polytope Mapping: This mapping creates a "convex polytope" in the continuous space. All Gaussian Process (GP) surrogate modeling and acquisition function optimization occur within this continuous polytope.
  3. The Lookup Table: To evaluate the objective function, the algorithm maps back from the continuous space to the original discrete space using a pre-computed lookup table to find the closest discrete combination.
  4. Similarity Preservation: Leveraging the Johnson-Lindenstrauss lemma, the authors show that random mappings preserve the relative distances (similarities) between discrete points, allowing the GP to learn the landscape effectively even in the reduced space.

Experimental Evaluation

The researchers evaluated CBO-Lookup on a diverse set of benchmarks, including artificial tasks like "Thumbs-up" maximization (20D) and a Seesaw equilibrium problem (24D), as well as mathematical optimization tasks like Binary Quadratic Programming (BQP) and Ising model sparsification.

Performance of CBO-Lookup on artificial benchmarks: (a) Thumbs-up (20D) and (b) Seesaw (24D).

Across these tests, CBO-Lookup demonstrated superior performance, matching or outperforming established baselines like BOCS, SMAC, and COMBO. The method proved highly scalable, handling search spaces of up to $2^{24}$ combinations (over 16 million points) with a manageable memory footprint.

Performance of CBO-Lookup on mathematical optimization tasks: (a) BQP (10D) and (b) Ising (24D).

Key Insights and Results

Numerical experiments confirmed the theoretical sublinear regret, showing that the "Minimum Simple Regret" dropped significantly faster than random search or standard binary-encoding methods. Unlike previous methods like REMBO that required manual rounding thresholds, CBO-Lookup's nearest-neighbor search in a lookup table makes the algorithm more robust and easier to implement using standard vector-based BO tools.

Conclusion

CBO-Lookup provides an efficient framework for combinatorial BO by leveraging random mappings to continuous polytopes. While the current lookup table approach is effective for millions of points, future work may explore hash functions for even larger spaces and extend the approach to mixed-variable environments containing both continuous and discrete variables.

Summary updated

BibTeX
@inproceedings{kim2022combinatorial,
  author = {Jungtaek Kim and Seungjin Choi and Minsu Cho},
  title = {{Combinatorial Bayesian Optimization with Random Mapping Functions to Convex Polytopes}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=SYbORrLoqec},
}
Figure