Overview
BOCS is a novel Bayesian Optimization framework designed specifically for discrete, combinatorial search spaces where function evaluations are expensive. By combining a sparse second-order statistical model with a semidefinite programming (SDP) relaxation for the acquisition function, it efficiently navigates massive search domains while remaining highly sample-efficient.
The Challenge of Combinatorial Optimization
Many real-world optimization problems involve "combinatorial structures"—think of selecting the best locations for bike-sharing stations, designing a drug molecule, or choosing which components in a complex aircraft model to "couple" for a simulation. These problems share two major hurdles:
- Combinatorial Explosion: The search space grows exponentially with the number of variables (e.g., $2^d$ possible configurations for $d$ binary choices).
- Expensive Evaluations: Determining the "quality" of a single configuration might require a slow computer simulation or a costly physical experiment.
Standard Bayesian Optimization (BO) works wonders for continuous variables but often fails in discrete spaces. In these scenarios, the "acquisition function" (the mechanism that chooses the next point to test) becomes an NP-hard discrete optimization problem itself.
The BOCS Approach
The authors introduce BOCS, which tackles these challenges using two innovative components:
- A Sparse Statistical Model: Instead of a complex Gaussian Process, BOCS uses a second-order polynomial model: $f(x) = \alpha_0 + \sum \alpha_j x_j + \sum \alpha_{ij} x_i x_j$. This captures the "interplay" between elements (e.g., the utility of one bike station depends on the presence of another). To handle the $O(d^2)$ parameters when data is scarce, they employ Sparse Bayesian Linear Regression with a horseshoe prior, which effectively "shrinks" irrelevant interaction terms to zero.
- SDP-Based Acquisition: BOCS uses Thompson Sampling for its acquisition strategy. To find the next point to evaluate, it samples a model from the posterior and tries to find its optimizer. This results in a Binary Quadratic Program (BQP). Since BQPs are NP-hard, the authors relax the problem into a Semidefinite Program (SDP) and use randomized rounding to find a near-optimal discrete solution.
They also propose BOCS-SA, a faster variant that replaces the SDP solver with Simulated Annealing for very high-dimensional problems.
Benchmarks and Applications
The authors evaluated BOCS against several state-of-the-art methods (including Expected Improvement, SMAC, and Simulated Annealing) across four distinct benchmarks:
- Synthetic Binary Quadratic Programming: A controlled environment with $d=10$ variables.
- Sparsification of Ising Models: Finding a sparse graph that approximates a dense probability distribution ($d=24$ edges).
- Contamination Control: Minimizing the cost of preventing food supply chain contamination across $d=25$ stages.
- Aero-structural Design: Reducing the complexity of aircraft models by selecting which of $d=21$ coupling variables are truly necessary.
Key Insights
- The "Sweet Spot" of Complexity: Second-order models are powerful enough to capture essential interactions in combinatorial problems but simple enough to be optimized efficiently via SDP relaxations.
- Sparsity as a Requirement: In expensive-to-evaluate scenarios, you will almost always have more model parameters than data points. The use of the horseshoe prior is critical because it allows the algorithm to identify the "useful" structure of the problem even when data is extremely limited.
- Taming the Acquisition Function: By treating the acquisition step as a convex optimization problem (via SDP relaxation), BOCS avoids getting stuck in the local optima that plague traditional local search methods in discrete spaces.
Key Results
- Superior Sample Efficiency: In the Contamination Control task, BOCS found significantly better solutions in 80 iterations than competing methods (like Expected Improvement or Simulated Annealing) found in 250.
- Robustness: BOCS-SDP consistently showed lower variability across different random instances compared to other methods, meaning it is more likely to provide a good result on a single "expensive" run.
- Scalability: While the number of possible configurations is in the millions for these benchmarks, BOCS successfully identified near-optimal structures using only a few dozen to a hundred evaluations.
Limitations and Future Work
- Higher-Order Interactions: The current model only looks at pairs of variables ($x_i x_j$). Some problems might involve "triplets" or more complex dependencies that a second-order model would miss.
- Computational Bottleneck: While SDP is polynomial-time, it can still become slow as the number of variables $d$ reaches the hundreds. The authors suggest BOCS-SA as a workaround, but further algorithmic improvements in SDP solvers could help.
- Deep Learning Integration: The authors suggest that for functions with lower evaluation costs (where more data is available), deep neural networks could be used to learn even more complex representations of the combinatorial space.
Summary updated