Introduction
Many high-stakes optimization problems—from designing novel materials to tuning complex neural network architectures—require navigating a mix of discrete and continuous variables. This "hybrid space" presents a significant challenge for standard Bayesian Optimization (BO) frameworks, which typically specialize in one domain or the other. Existing solutions often fall short by either treating discrete variables as continuous, which ignores essential structural information, or by using simplistic kernels that fail to capture higher-order interactions between different variable types.
In their paper, "Bayesian Optimization over Hybrid Spaces," Deshwal, Belakaria, and Doppa introduce Hybrid Bayesian Optimization (HyBO). This novel approach leverages a sophisticated additive hybrid diffusion kernel to natively and expressively model complex interactions, providing a robust solution for real-world mixed-variable optimization.
The HyBO Framework: Additive Hybrid Diffusion Kernels
The core innovation of HyBO is the Additive Hybrid Diffusion Kernel. This Gaussian Process (GP) surrogate model is built on two pillars:
- Diffusion Kernels: These kernels naturally apply to both continuous spaces (resolving to the standard Radial Basis Function kernel) and discrete spaces (using graph Laplacians to model transitions between states).
- Additive Formulation: Rather than simply combining kernels, HyBO constructs an overall kernel by summing over all possible orders of interactions between variable kernels. This allows the model to capture higher-order dependencies that simpler additive or multiplicative models miss.
To ensure computational feasibility, the authors developed a recursive algorithm based on the Newton-Girard formula, reducing the complexity of computing these interactions to polynomial time $O((n+m)^2)$. Furthermore, HyBO uses fully Bayesian marginalization (via slice sampling) to learn the optimal interaction strengths directly from data, allowing it to automatically scale its complexity to the problem at hand.
Experimental Performance and Surrogate Accuracy
The authors evaluated HyBO against state-of-the-art baselines, including CoCaBO, SMAC, and TPE, across a variety of synthetic and real-world benchmarks. The results consistently demonstrated HyBO's superior performance in both optimization speed and surrogate model accuracy.
As shown in the synthetic benchmarks, HyBO (red line) converges to optimal values significantly faster than its competitors. Notably, the "Cont-BO" baseline—which relaxes discrete variables into continuous ones—performed the worst, underscoring the importance of respecting the discrete topology of the search space.
Beyond optimization speed, the predictive power of the underlying GP surrogate is a key driver of HyBO's success. As the training set size increases, HyBO achieves a drastically lower Mean Absolute Error (MAE) compared to other methods, indicating a more accurate internal representation of the objective function.
Key Insights and Real-World Impact
HyBO's effectiveness is rooted in several key theoretical and practical insights:
- Universal Approximation: The authors mathematically prove that their kernel is a universal kernel, meaning it can approximate any continuous black-box function over a hybrid space given sufficient data.
- Higher-Order Interactions: Modeling complex, multi-variable interactions is crucial for efficiency; methods that only capture pairwise interactions often plateau early.
- Real-World Dominance: HyBO outperformed all baselines in diverse tasks, including NASA's speed reducer design, robot pushing control, and neural network hyper-parameter optimization.
Conclusion and Limitations
While HyBO offers state-of-the-art performance, it does come with a higher computational cost per iteration—approximately 180 seconds compared to 3 seconds for simpler methods like SMAC. However, in domains where the actual function evaluation (e.g., a physical lab experiment) takes hours or days, this overhead is a negligible trade-off for the significant gains in sample efficiency. Future work may focus on accelerating the hyperparameter marginalization and acquisition optimization steps to broaden HyBO's applicability to less expensive functions.
Summary updated