Fast Bayesian Optimization of Function Networks with Partial Evaluations

Poompol Buathong, Peter I. Frazier

TL;DR

This paper introduces "Fast p-KGFN," a more efficient Bayesian optimization method for complex, multi-stage functions (function networks). It significantly speeds up the optimization process by intelligently selecting which parts of the network to evaluate, achieving up to a 16x speedup over previous methods while maintaining competitive performance.

What Problem Does This Paper Address?

Many real-world optimization problems involve complex systems where the overall objective function is composed of several interconnected sub-functions, forming a "function network." Think of drug discovery pipelines or manufacturing processes, where the output of one stage feeds into the next. Evaluating the entire system can be very expensive. Existing methods like Bayesian Optimization of Function Networks (BOFN) and its variant p-KGFN try to tackle this by selectively evaluating only parts of the network (partial evaluations) to save costs. However, p-KGFN, while effective, suffers from a significant computational bottleneck: determining which part of the network to evaluate next requires a complex, nested optimization process that is very time-consuming. This limits its applicability to problems where the cost of evaluating the function network is astronomically high, outweighing the cost of this complex decision-making process. This paper aims to bridge this gap by developing a faster acquisition function that retains the benefits of partial evaluations but drastically reduces the computational overhead.

Methods

The core innovation lies in a new acquisition function called "Fast p-KGFN." Instead of the original p-KGFN's computationally intensive approach of optimizing a nested acquisition function for each node, Fast p-KGFN employs a two-pronged strategy:

  1. Fast Candidate Generation: It first uses a modified Expected Improvement for Function Networks (EIFN) acquisition function to generate a promising set of candidate network inputs. Then, it uses these to create node-specific candidates by combining them with simulated intermediate outputs from the network's surrogate model. This avoids the need to solve individual, complex optimization problems for each node.
  2. Fast Acquisition Function Computation: To evaluate the p-KGFN acquisition function for these candidates, Fast p-KGFN uses a novel discretization approach. Instead of optimizing over the entire continuous search space, it optimizes over a carefully constructed small, discrete set of high-potential points. This set includes points generated by batch Thompson sampling, local search around the current best solution, and the current best solution itself.

Datasets

The paper evaluates its method on three benchmark problems:

  • AckMat: A synthetic two-node cascade network.
  • FreeSolv: A molecular design problem adapted into a function network.
  • Manu: A manufacturing process problem modeled as a function network.

These problems were previously used in related work (Buathong et al., 2024) and are described in detail in Appendix A. No new datasets were introduced.

Key Insights and Ideas

  • The bottleneck is decision-making, not just evaluation: The paper highlights that for advanced BOFN methods like p-KGFN, the computational cost of deciding what to evaluate next can be a bigger problem than the cost of the evaluation itself.
  • Smart candidate generation is key: By generating a smaller, more informed set of candidate points for partial evaluations, the algorithm avoids the need for extensive, per-node optimization.
  • Discrete optimization for efficiency: Replacing continuous optimization with a discrete search over a well-chosen set of points significantly speeds up the acquisition function computation.
  • Including the current best solution in the discrete set is crucial: Ablation studies showed that excluding the current best posterior mean maximizer from the discrete set drastically degraded performance.

Key Results

  • Significant Speedup: Fast p-KGFN achieved up to a 16.03x speedup over the original p-KGFN algorithm in terms of runtime per BO iteration, with notable speedups across all tested problems and cost scenarios.
  • Competitive Performance: Despite the speedup, Fast p-KGFN achieved comparable optimization performance (final objective value) to the original p-KGFN, and consistently outperformed other benchmarks like EIFN.
  • Robustness: The method demonstrated robustness to variations in its discrete set generation parameters.

Limitations and Future Work

  • Intermediate Node Evaluation Assumption: The method assumes that intermediate nodes can be evaluated at any feasible input without needing parent node outputs first. This might limit its applicability in scenarios with strict upstream-downstream dependencies.
  • Future Work: The authors suggest extending the method to handle these more constrained function network scenarios.

Summary updated

BibTeX
@inproceedings{buathong2025fast,
  author = {Poompol Buathong and Peter I. Frazier},
  title = {{Fast Bayesian Optimization of Function Networks with Partial Evaluations}},
  booktitle = {AutoML Methods Track},
  year = {2025},
  url = {https://openreview.net/forum?id=KwykZvmTth},
}
Figure