Abstract
Bayesian Optimization (BO) is a powerful tool for black-box optimization, but its application to set-valued inputs is often hindered by the quadratic computational cost of traditional set kernels. We present a practical framework for set-based BO that utilizes an approximate set kernel and a symmetry-aware acquisition function. Our approach reduces kernel computation costs from $O(m^2)$ to $O(L^2)$ through a consistent random projection and subsampling strategy. We demonstrate that this method achieves significant computational speedups while maintaining high performance across synthetic benchmarks, clustering initialization, and point cloud search tasks.
Introduction
Standard Bayesian optimization (BO) techniques are typically designed for fixed-length vector inputs. However, many real-world optimization problems involve inputs that are naturally represented as sets, where the order of elements is irrelevant (permutation invariance). Examples include selecting initial centers for clustering or searching through point cloud data. Applying standard Gaussian Process (GP) kernels to these problems is inefficient, as the model must learn the underlying symmetry from scratch. This paper introduces a framework to make set-based optimization computationally viable and theoretically sound.
The Challenge of Set-Based Kernels
While set kernels exist to enforce permutation invariance, they typically require comparing every element of one set to every element of another. For sets of size $m$, this results in a computational complexity of $O(m^2)$, which becomes prohibitive as $m$ increases. This quadratic scaling makes traditional set kernels too slow for practical BO when sets are large. The core contribution of this work is an approximation that maintains the benefits of set kernels while drastically reducing the computational overhead.
Methodology
The authors introduce two primary innovations to facilitate practical set-based BO: the approximate set kernel and constrained acquisition function optimization.
The Approximate Set Kernel
To avoid the $O(m^2)$ cost, the authors propose a subsampling strategy that maintains the properties of a valid, positive-definite kernel. The process involves three key steps:
- Random Projection: Elements of the sets are projected onto a random vector $\mathbf{w} \sim \mathcal{N}(0, \mathbf{I}_d)$, providing a consistent scalar ordering.
- Subsampling: A subset of $L$ elements ($L < m$) is selected based on this ordering.
- Kernel Computation: The set kernel is computed only on these $L$ elements.
This reduces the cost to $O(L^2)$, making the GP surrogate model significantly more scalable. Crucially, the authors prove that this subsampled kernel is an unbiased estimator of the full set kernel, meaning it does not introduce systematic error into the surrogate model.
Symmetry-Aware Acquisition Function
Optimizing the acquisition function in a set-based space is challenging because the search space contains $m!$ redundant regions due to permutation invariance. To improve efficiency, the authors employ rejection sampling to constrain the optimizer to a "symmetric region" (essentially an ordered version of the input space), effectively reducing the search volume by a factor of $m!$.
Experimental Evaluation
The framework was evaluated across a variety of synthetic and real-world benchmarks:
- Synthetic Functions: The method demonstrated the ability to find optimal sets in continuous space more efficiently than vector-based baselines.
- Clustering Initialization: On UCI Handwritten Digits and NIPS conference paper datasets, the proposed BO approach outperformed standard initializations like $k$-means++ and random initialization in terms of Adjusted Rand Index (ARI).
- Point Cloud Search: Using the ModelNet40 dataset, the method successfully identified nearest neighbors based on Chamfer distance, outperforming "DeepSets" baselines within just 20 iterations.
Key Insights and Results
- Efficiency: The approximate kernel significantly reduced execution time. On synthetic tasks, using $L=1$ was nearly 16x faster than using the full set ($m=20$) while still outperforming standard vector-based baselines.
- Symmetry as a Constraint: By baking permutation invariance directly into the model architecture—both in the kernel and the acquisition optimizer—the model avoids wasting its evaluation budget on redundant regions of the search space.
- Variance Control: Theoretical analysis shows that the variance of the approximate kernel decreases rapidly as the number of subsamples $L$ increases, allowing for high-fidelity approximations with minimal data.
Conclusion and Future Work
This work makes set-based Bayesian optimization practical for large-scale applications. By combining unbiased kernel approximations with symmetry-aware search, the authors achieve significant speedups without sacrificing convergence quality. Future research may explore handling variable-sized sets and integrating sparse GP approximations to further scale the number of optimization iterations as the dataset grows.
Summary updated