Abstract
Optimizing expensive to evaluate black-box functions over an input space consisting of all permutations of $d$ objects is an important problem with many real-world applications. For example, placement of functional blocks in hardware design to optimize performance via simulations. The overall goal is to minimize the number of function evaluations to find high-performing permutations. The key challenge in solving this problem using the Bayesian optimization (BO) framework is to trade-off the complexity of statistical model and tractability of acquisition function optimization. In this paper, we propose and evaluate two algorithms for BO over Permutation Spaces (BOPS). First, BOPS-T employs Gaussian process (GP) surrogate model with Kendall kernels and a Tractable acquisition function optimization approach based on Thompson sampling to select the sequence of permutations for evaluation. Second, BOPS-H employs GP surrogate model with Mallow kernels and a Heuristic search approach to optimize expected improvement acquisition function. We theoretically analyze the performance of BOPS-T to show that their regret grows sub-linearly. Our experiments on multiple synthetic and real-world benchmarks show that both BOPS-T and BOPS-H perform better than the state-of-the-art BO algorithm for combinatorial spaces. To drive future research on this important problem, we make new resources and real-world benchmarks available to the community.
Introduction
Many critical engineering and logistics problems involve finding the optimal ordering of a set of items. Whether it is arranging functional blocks on a silicon chip to minimize wire length, scheduling manufacturing jobs to maximize throughput, or solving the classic Traveling Salesman Problem (TSP), the underlying challenge is optimization over a permutation space. These problems are often "expensive black-box" functions: there is no closed-form mathematical expression for the objective, and evaluating a single configuration—often through complex simulations—requires significant time and resources.
Standard Bayesian Optimization (BO) is highly effective for continuous variables but struggles with the discrete, constrained nature of permutations. Existing combinatorial BO methods frequently treat inputs as categorical variables. However, permutations have a unique constraint: every item must appear exactly once. Ignoring this structure forces algorithms to search a space of size $d^d$ rather than the $d!$ space of valid permutations, leading to significant inefficiencies.
Methodology: The BOPS Framework
This paper introduces BOPS (Bayesian Optimization over Permutation Spaces), proposing two distinct algorithms that balance surrogate model complexity with the tractability of the acquisition function search.
BOPS-T (Tractable)
BOPS-T utilizes a Gaussian Process (GP) with a Kendall kernel, which measures similarity based on the number of concordant pairs between two permutations. For the acquisition phase, it employs Thompson Sampling. The authors demonstrate that selecting the next permutation to evaluate under this setup is equivalent to a Quadratic Assignment Problem (QAP). While QAP is NP-hard, BOPS-T uses a Semi-Definite Programming (SDP) relaxation to find high-quality solutions efficiently. This approach is backed by theoretical proofs showing sublinear regret.
BOPS-H (Heuristic)
BOPS-H uses a GP with a Mallows kernel, a more expressive "universal" kernel capable of approximating complex functions. To optimize the Expected Improvement (EI) acquisition function, it employs a heuristic local search with multiple restarts. Crucially, this search is restricted to valid permutations, preventing the algorithm from wasting evaluations on invalid configurations—a common pitfall for generic combinatorial solvers.
Experimental Evaluation
The researchers evaluated BOPS on a diverse set of benchmarks, including synthetic problems like QAPLIB and TSPLIB, and real-world IC design tasks such as Floor Planning (FP1, FP2), Cell Placement (CP), and Heterogeneous Manycore Design (HMD).
Results and Discussion
The experimental results consistently demonstrate the superiority of the proposed methods over existing state-of-the-art algorithms like COMBO.
- Superior Performance: BOPS-H emerged as the clear winner, significantly outperforming COMBO across all six benchmarks. BOPS-T generally performed comparably to or slightly better than COMBO while providing stronger theoretical guarantees.
- Model Accuracy: The Mallows-based GP in BOPS-H consistently provided more accurate objective function predictions (lower Negative Log-Likelihood) than other models, confirming that kernel choice is critical for permutation spaces.
- Efficiency: By restricting the search to valid permutations, BOPS avoids the "invalid" space where generic solvers often stall. BOPS-H also outperformed standard Genetic Algorithms (GA), highlighting the sample efficiency of model-guided search.
Conclusion
BOPS represents a significant advancement in optimizing expensive black-box functions over permutation spaces. By leveraging specialized kernels and search strategies that respect the mathematical structure of permutations, BOPS-H and BOPS-T offer a more efficient path to optimal solutions in hardware design and logistics. Future work will focus on scaling these methods to higher-dimensional spaces and extending the framework to handle multi-objective optimization problems.
Summary updated