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

Merge Kernel for Bayesian Optimization on Permutation Space

Zikai Xie, Linjiang Chen · DOI

Introduction

Bayesian Optimization (BO) is a powerful framework for optimizing expensive black-box functions. While well-established for continuous domains, applying BO to permutation spaces—where the objective is to find an optimal ordering of $n$ items—presents significant challenges. The primary hurdle lies in the kernel function, which must effectively measure similarity between permutations while remaining computationally and statistically efficient as $n$ grows.

The Complexity Bottleneck in Permutation BO

The current state-of-the-art for permutation BO often relies on the Mallows kernel, which uses the Kendall-$\tau$ distance. This distance is calculated by counting the number of pairwise inversions between two permutations. While theoretically sound, this approach requires $O(n^2)$ features to represent the permutation space.

As the number of items $n$ increases, this quadratic growth becomes a severe bottleneck. For instance, a problem with $n=280$ items requires nearly 40,000 features. This high dimensionality leads to the "curse of dimensionality," making the Gaussian Process (GP) surrogate model statistically inefficient and computationally expensive.

The Merge Kernel: Efficiency through Sorting

To address this, researchers have introduced the Merge Kernel. This approach reconceptualizes sorting algorithms as feature generators. By tracking the binary comparison outcomes of a modified Merge Sort algorithm, a permutation can be uniquely encoded into a binary vector of length $O(n \log n)$.

This representation hits the information-theoretic lower bound for lossless permutation encoding. To ensure the resulting kernel is valid and positive-definite, the authors modified the standard Merge Sort to use a deterministic comparison path of fixed length, regardless of the input data. This $O(n \log n)$ feature vector is then used within a standard Radial Basis Function (RBF) kernel.

Experimental Evaluation

The authors compared the Merge Kernel (MergeBO) against the Mallows-based baseline (BOPS-H) across various benchmarks, ranging from low-dimensional scheduling to high-dimensional logistics.

High-Dimensional Scalability

The most significant advantage of the Merge Kernel is seen in high-dimensional tasks like the Traveling Thief Problem (TTP) with $n=280$. In this setting, the Merge Kernel reduces the feature space from 39,060 (Mallows) to just 2,009.

Figure 1: Performance on the high-dimensional Traveling Thief Problem (TTP), where the Merge Kernel significantly outperforms the Mallows-based baseline by reducing representation complexity.

As shown in Figure 1, the reduced representation complexity allows MergeBO to find significantly better solutions (lower simple regret) much faster than the Mallows kernel.

Low-Dimensional Performance

In low-dimensional settings ($n=15$ to $30$), such as the Quadratic Assignment Problem (QAP), the Mallows kernel's "right-invariance" property—where the distance is independent of item labeling—gives it a slight theoretical advantage.

Figure 2: Performance on the low-dimensional Quadratic Assignment Problem (QAP, n=15). In this regime, the Mallows kernel remains highly competitive or slightly superior due to its symmetry properties.

However, as seen in Figure 2, the Merge Kernel remains highly competitive even in these smaller spaces, proving its robustness as a general-purpose tool for permutation optimization.

Conclusion

The Merge Kernel represents a paradigm shift in Bayesian Optimization for permutations. By trading off perfect symmetry for information-theoretic efficiency, it enables BO to scale to dimensions previously considered intractable. This "sorting-as-features" framework opens new doors for optimizing large-scale combinatorial problems in fields ranging from logistics to neural architecture search.

Summary updated

BibTeX
@inproceedings{xie2026merge,
  author = {Zikai Xie and Linjiang Chen},
  title = {{Merge Kernel for Bayesian Optimization on Permutation Space}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=7QtKdabBP9},
}
Figure