Bayesian Optimization of Function Networks with Partial Evaluations
Poompol Buathong, Jiayue Wan, Raul Astudillo, Samuel Daulton, Maximilian Balandat, Peter I. Frazier
TL;DR
This work addresses Bayesian optimization for objectives represented as a function network, where the final scalar $y_K(x)$ depends on intermediate node outputs. It introduces p-KGFN, a cost-aware knowledge-gradient acquisition that selects which node $k$ and input $z_k$ to evaluate next, enabling partial evaluations under a budget. The method uses independent Gaussian process priors for each node, fantasy sampling to propagate information to the final node, and MC/SAA-based procedures with a discretized inner optimization to scale acquisition maximization. Empirical results on synthetic networks and real-world problems (Ackley6D, Manu-GP, FreeSolv, Pharma) show p-KGFN consistently outperforming full-network baselines and other benchmarks, especially when downstream evaluations are costly. The approach is implemented in BoTorch and demonstrates substantial practical impact for cost-efficient, network-structured Bayesian optimization.
Abstract
Bayesian optimization is a powerful framework for optimizing functions that are expensive or time-consuming to evaluate. Recent work has considered Bayesian optimization of function networks (BOFN), where the objective function is given by a network of functions, each taking as input the output of previous nodes in the network as well as additional parameters. Leveraging this network structure has been shown to yield significant performance improvements. Existing BOFN algorithms for general-purpose networks evaluate the full network at each iteration. However, many real-world applications allow for evaluating nodes individually. To exploit this, we propose a novel knowledge gradient acquisition function that chooses which node and corresponding inputs to evaluate in a cost-aware manner, thereby reducing query costs by evaluating only on a part of the network at each step. We provide an efficient approach to optimizing our acquisition function and show that it outperforms existing BOFN methods and other benchmarks across several synthetic and real-world problems. Our acquisition function is the first to enable cost-aware optimization of a broad class of function networks.
