BoGrape: Bayesian optimization over graphs with shortest-path encoded
Yilin Xie, Shiqiang Zhang, Jixiang Qing, Ruth Misener, Calvin Tsay
TL;DR
BoGrape tackles optimization over graphs for expensive black-box objectives by marrying Bayesian optimization with shortest-path graph kernels encoded into a mixed-integer program. It introduces four variants of shortest-path kernels (SP, SSP, ESP, ESSP) and develops a complete MIP encoding for shortest paths and kernel evaluations, enabling global optimization of the BO acquisition function under mixed graph-feature domains. The approach uses a Gaussian-process surrogate with a graph-kernel prior and optimizes the acquisition via PK-MIQP, providing theoretical groundwork for global optimality in graph search. Experimental results on QM7 and QM9 molecular design tasks demonstrate competitive predictive performance and clear BO advantages over feasible baselines, with SSP often excelling in larger graphs due to model simplicity and efficiency. The work provides a flexible, constraint-aware framework for graph-domain BO with potential applications in neural architecture search and sensor placement.
Abstract
Graph-structured data play an important role across science and industry. This paper asks: how can we optimize over graphs, for instance to find the best graph structure and/or node features that minimize an expensive-to-evaluate black-box objective? Such problem settings arise, e.g., in molecular design, neural architecture search, and sensor placement. Bayesian optimization is a powerful tool for optimizing black-box functions, and existing technologies can be applied to optimize functions over nodes of a single fixed graph. We present Bayesian optimization acquisition functions for a class of shortest-path kernels and formulate them as mixed-integer optimization problems, enabling global exploration of the graph domain while maintaining solution feasibility when problem-specific constraints are present. We demonstrate our proposed approach, BoGrape, on several molecular design case studies.
