Abstract
Bayesian optimization (BO) is an efficient framework for solving black-box optimization problems with expensive function evaluations. This paper addresses the BO problem setting for combinatorial spaces (e.g., sequences and graphs) that occurs naturally in science and engineering applications. A prototypical example is molecular optimization guided by expensive experiments. The key challenge is to balance the complexity of statistical models and tractability of search to select combinatorial structures for evaluation. In this paper, we propose an efficient approach referred as Mercer Features for Combinatorial Bayesian Optimization (MerCBO). The key idea behind MerCBO is to provide explicit feature maps for diffusion kernels over discrete objects by exploiting the structure of their combinatorial graph representation. These Mercer features combined with Thompson sampling as the acquisition function allows us to employ efficient solvers for finding the next structure for evaluation. Experimental evaluation on diverse real-world benchmarks demonstrates that MerCBO performs similarly or better than prior methods.
Introduction
Combinatorial Bayesian Optimization (CBO) is essential for domains where the search space consists of discrete structures like graphs or sequences. In these settings, the objective function is typically a black box, and evaluations are costly, necessitating a sample-efficient optimization strategy. While standard BO techniques excel in continuous domains, their application to combinatorial spaces is hindered by the difficulty of defining kernels that are both expressive and computationally tractable for acquisition function optimization.
The challenge is a classic trade-off between model complexity and search tractability. Sophisticated models, such as Gaussian Processes (GPs) with diffusion kernels, are required to capture the intricate relationships between discrete structures. However, once a model is established, searching through an astronomical number of possible combinations to identify the next candidate for evaluation becomes a significant bottleneck. Existing methods often rely on simple models that lack predictive power or complex models that necessitate slow, heuristic local searches. MerCBO aims to provide the best of both worlds: high modeling power coupled with a fast, principled search algorithm.
Methodology
MerCBO (Mercer Features for Combinatorial Bayesian Optimization) addresses these challenges by introducing explicit feature maps for diffusion kernels. The approach consists of three key components:
- Mercer Features: Rather than treating the GP kernel as an implicit black box, MerCBO exploits the mathematical structure of combinatorial graphs, specifically their representation as Cartesian products. This allows for the closed-form computation of explicit, low-dimensional feature maps, known as Mercer Features. By breaking down large graphs into products of simpler components, the calculation of eigenvalues—ordinarily impossible for large spaces—becomes recursive and efficient. This transformation turns a non-parametric problem into a parametric one, significantly simplifying optimization.
- Thompson Sampling (TS): Using explicit features allows the GP posterior to be approximated as a linear model. MerCBO employs Thompson Sampling as the acquisition function, which involves sampling weights for this linear model. This approach is naturally suited for parallel experiments; because each sample is independent, researchers can generate a batch of candidates simultaneously, which is vital for high-throughput laboratory settings.
- Submodular Relaxation: The search for the next candidate structure is formulated as a Binary Quadratic Program (BQP). To solve this efficiently, MerCBO utilizes submodular relaxation, providing a lower bound that can be optimized iteratively using graph-cut algorithms. This ensures that the search process is both principled and computationally tractable.
Experimental Evaluation
The performance of MerCBO was evaluated across four diverse real-world benchmarks designed to test its versatility and scaling:
- Ising Sparsification: A 24-dimensional problem focused on approximating probability distributions.
- Low Auto-correlation Binary Sequences (LABS): High-dimensional (40 and 50-dim) signal processing tasks characterized by rugged optimization landscapes.
- UAV Power System Design: Optimizing energy and mass for unmanned aerial vehicles, encoded as 16-bit binary variables.
- Biological Sequence Design: Maximizing binding affinity between human transcription factors and DNA sequences.
Results and Discussion
MerCBO consistently outperformed or matched state-of-the-art baselines, including COMBO, BOCS, and SMAC, across all tested domains.
In high-dimensional tasks like the 50-dimensional LABS problem, MerCBO demonstrated superior scaling, finding significantly better solutions where other methods struggled to converge. The use of explicit Mercer features allowed the model to capture complex interactions without the computational overhead of traditional GP methods. Similarly, in the UAV design task, MerCBO reached optimal values for both energy and mass objectives much faster than the previous state-of-the-art, COMBO.
A key advantage of MerCBO is its parallel efficiency and the diversity of its candidates. In biological sequence design, MerCBO with parallel TS was not only faster than parallel Expected Improvement (p-EI) but also produced more diverse candidate batches. This diversity acts as a hedge in scientific discovery, ensuring that the search explores multiple promising regions of the combinatorial space simultaneously rather than converging prematurely on a single local optimum.
Conclusion
MerCBO provides a principled and efficient framework for combinatorial Bayesian Optimization. By moving from implicit kernels to explicit Mercer features, it transforms complex discrete optimization into tractable BQP problems. This approach enables high-performance optimization in astronomical search spaces while maintaining computational efficiency. Future work will explore higher-order features for even more complex landscapes and the integration of alternative acquisition functions, such as entropy-based methods, to further enhance the discovery process.
Summary updated