NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Combinatorial Bayesian Optimization using the Graph Cartesian Product

ChangYong Oh, Jakub M. Tomczak, Efstratios Gavves, Max Welling

Introduction

Bayesian Optimization (BO) is the gold standard for optimizing "black-box" functions that are expensive to evaluate, such as tuning hyperparameters for large neural networks. However, traditional BO tools are primarily designed for continuous spaces (like learning rates).

When optimizing over combinatorial spaces—where variables are categorical (e.g., choosing between "Adam" or "SGD" optimizers) or ordinal (e.g., choosing 16, 32, or 64 filters)—the problem becomes significantly harder. The number of possible configurations explodes exponentially ($k^M$ for $M$ variables with $k$ choices). Standard "smooth" kernels used in Gaussian Processes (GPs) do not naturally apply to these discrete jumps. Previous attempts to solve this either rounded continuous values, causing artifacts, or artificially limited variable interactions to keep the math tractable, often missing the high-order dependencies that make these problems complex.

To address this, researchers introduced COMBO (Combinatorial Bayesian Optimization), a novel framework that brings the power of GPs to discrete, high-dimensional search spaces by modeling them as a graph.

Methodology: The Combinatorial Graph

COMBO reimagines the discrete search space as a massive combinatorial graph. Each vertex represents a unique assignment of all variables, and an edge exists between two vertices if they differ by only one variable.

Instead of building one unmanageable global graph, COMBO leverages the Graph Cartesian Product. It constructs small sub-graphs for each variable—a "complete graph" for categorical variables and a "path graph" for ordinal ones—and combines them. This mathematical property allows the Graph Fourier Transform (GFT), which defines "smoothness" on the graph, to be computed linearly ($O(M)$) rather than exponentially.

To power the optimization, COMBO introduces several key components:

  • ARD Diffusion Kernel: An Automatic Relevance Determination diffusion kernel allows the model to learn which variables are most important.
  • Horseshoe Prior: Applied to the kernel parameters, this prior encourages sparsity. It effectively performs automatic variable selection, preventing the model from getting distracted by irrelevant features in high-dimensional spaces.
  • Acquisition Maximization: To find the next point to sample, COMBO uses Breadth-First Local Search (BFLS) on the graph, which is highly efficient for discrete structures.

Key Insights

  • Smoothness is Spectral: In continuous space, "smooth" means small input changes lead to small output changes. On a graph, COMBO defines smoothness through the GFT. By penalizing high-frequency components of the graph signal, the GP can generalize from a few samples to the entire discrete space.
  • The Power of the Product: The Graph Cartesian Product provides a computational "free lunch." It decomposes a massive global Laplacian matrix into small, variable-wise pieces, making spectral GP methods viable for combinatorial problems.
  • Beyond Second-Order: Unlike existing combinatorial optimizers (like BOCS) that only model pairs or triplets of variables, COMBO's diffusion kernel operates on the full graph, naturally capturing arbitrarily high-order interactions without a massive parameter increase.

Experiments and Results

The authors evaluated COMBO across diverse benchmarks, including numerical tasks (Contamination control, Ising sparsification), categorical/ordinal tasks (Discretized Branin, Pest Control), and real-world logic problems like Weighted Maximum Satisfiability (wMaxSAT) with up to $1.15 \times 10^{18}$ configurations.

Key Findings: * Superior Accuracy: COMBO consistently outperformed state-of-the-art baselines like SMAC, TPE, and BOCS across almost all benchmarks. * Scaling to the Impossible: On the wMaxSAT60 problem, COMBO efficiently found significantly better solutions than competitors. One baseline (BOCS-SA3) failed to finish even 270 evaluations within 168 hours, a hurdle COMBO easily cleared. * NAS Efficiency: In Neural Architecture Search (NAS) for a CNN on CIFAR-10, COMBO outperformed specialized evolutionary algorithms (like Regularized Evolution), finding lower-error architectures with fewer evaluations.

Limitations and Future Work

While powerful, COMBO has limitations. As the graph grows to trillions of nodes, the BFLS acquisition step can become a bottleneck, suggesting a need for more advanced discrete optimization techniques. Additionally, the paper assumes standard structures (complete/path graphs) for variables; future work could explore learning the sub-graph structure itself. Finally, like all GP methods, COMBO faces $O(N^3)$ complexity relative to the number of evaluated points ($N$), meaning scaling to thousands of evaluations would require sparse GP approximations.

Summary updated

BibTeX
@inproceedings{oh2019combinatorial,
  author = {ChangYong Oh and Jakub M. Tomczak and Efstratios Gavves and Max Welling},
  title = {{Combinatorial Bayesian Optimization using the Graph Cartesian Product}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure