Abstract
We study the problem of optimizing expensive blackbox functions over combinatorial spaces, such as sets, sequences, trees, and graphs. The current state-of-the-art method for tractable statistical models, Bayesian Optimization of Combinatorial Structures (BOCS), utilizes semi-definite programming (SDP) for acquisition function optimization (AFO). However, BOCS scales poorly as the number of binary or categorical variables increases. To address this, we introduce Parametrized Submodular Relaxation (PSR), an approach that leverages recent advances in submodular relaxation for solving Binary Quadratic Programs. PSR reformulates the AFO problem into a submodular relaxation solved efficiently via minimum graph cut algorithms, with parameters estimated to closely approximate the true objective. Our experiments across diverse benchmarks demonstrate that PSR significantly improves both the scalability and accuracy of the BOCS framework.
Introduction
Bayesian Optimization (BO) has emerged as a premier strategy for optimizing expensive-to-evaluate blackbox functions. While BO is well-established for continuous domains, extending it to combinatorial spaces—where inputs are discrete structures like graphs or sequences—remains a significant challenge.
The BOCS framework (Baptista and Poloczek, 2018) was designed to handle these discrete spaces by using a tractable statistical model (typically a second-order polynomial) to represent the objective function. To select the next point for evaluation, BOCS solves an Acquisition Function Optimization (AFO) problem. Traditionally, this is solved using Semi-Definite Programming (SDP). While effective for small problems, SDP-based AFO has a computational complexity of $O(n^6)$, where $n$ is the number of variables. This cubic-to-sextic scaling makes BOCS impractical for high-dimensional combinatorial problems.
Methodology: Parametrized Submodular Relaxation (PSR)
To overcome the scalability bottleneck of SDP, we propose the Parametrized Submodular Relaxation (PSR) method. PSR transforms the difficult AFO problem into a series of efficiently solvable subproblems.
1. Reformulation as a Binary Quadratic Program
The AFO in BOCS can be expressed as a Binary Quadratic Program (BQP). In this form, the goal is to find a binary vector that minimizes a quadratic objective function. General BQP is NP-hard, necessitating efficient approximation techniques.
2. Submodular Relaxation and Graph Cuts
PSR decomposes the quadratic objective into two components: a submodular part and a non-submodular part. Submodular functions are desirable because they can be minimized exactly in polynomial time. We approximate the non-submodular (hard) portion using a linear lower bound. This relaxation allows the problem to be mapped to a minimum graph cut problem. Minimum cut algorithms are highly mature and operate with a complexity of approximately $O(n^3)$, providing a massive theoretical speedup over the $O(n^6)$ SDP approach.
3. Parameter Optimization
The quality of the submodular relaxation depends on a set of parameters, $\Lambda$. To ensure the relaxation remains a tight approximation of the original objective, we employ an iterative optimization strategy. We alternate between solving the graph cut (the inner loop) and updating the parameters $\Lambda$ via proximal gradient descent (the outer loop). This ensures that the surrogate objective closely tracks the true acquisition function.
Experimental Evaluation
We evaluated the PSR-enhanced BOCS against the standard SDP-based BOCS across four distinct combinatorial benchmarks:
- Binary Quadratic Programming (BQP): A synthetic testbed for quadratic maximization.
- Contamination Control: A real-world simulation focused on minimizing the spread of contaminants in a food supply chain.
- Ising Models: A physics-based problem involving the sparsification of zero-field Ising models.
- Low Auto-correlation Binary Sequences (LABS): A complex sequence optimization problem relevant to communications engineering and physics.
Key Results and Insights
Superior Scalability
The most striking result is the difference in computational overhead. As the number of variables $n$ increases, the time required for SDP grows prohibitively. PSR maintains a much flatter growth curve, confirming the $O(n^3)$ efficiency. Because BO is an iterative process, saving time in the AFO phase at every step leads to a cumulative reduction in total runtime from hours to minutes.
Improved Optimization Accuracy
Beyond speed, PSR frequently identifies better candidates than SDP. In our benchmarks, PSR consistently found lower (better) values for the acquisition function. This translated directly to the global optimization performance: BOCS with PSR reached better "best-seen" function values in fewer iterations than the SDP version, particularly in the Ising and LABS benchmarks.
The Bridge of Parameterization
Pure submodular relaxation can sometimes be too loose to be useful. The "parametrized" aspect of PSR is the critical bridge; by tuning $\Lambda$, we balance the computational ease of submodularity with the mathematical rigor required for accurate Bayesian Optimization.
Limitations and Future Work
While PSR offers a significant leap forward, it is currently optimized for the second-order polynomial models used in BOCS. Future research could explore extending submodular relaxation to non-parametric models, such as Gaussian Processes with specialized combinatorial kernels. Additionally, while categorical variables are handled via one-hot encoding, very high-cardinality categories could still lead to a large binary search space that may test the limits of graph-cut efficiency.
Conclusion
Parametrized Submodular Relaxation provides a scalable, accurate alternative to Semi-Definite Programming for combinatorial Bayesian Optimization. By reducing the complexity of the acquisition step from $O(n^6)$ to $O(n^3)$, PSR enables the application of BOCS to much larger and more complex discrete design problems than previously possible.
Source Code: https://github.com/aryandeshwal/Submodular_Relaxation_BOCS
Summary updated