BONSAI: Structure-exploiting robust Bayesian optimization for networked black-box systems under uncertainty
Akshay Kudva, Joel A. Paulson
TL;DR
BONSAI tackles robust design under uncertainty for expensive simulators by modeling the objective as a function network of known and unknown components, and applying a two-stage Thompson sampling-based Bayesian optimization strategy. By placing Gaussian process priors on individual node functions and propagating uncertainty through the network, BONSAI achieves improved sample efficiency and robust performance compared to black-box baselines. A finite-time regret bound is established for the nominal (non-robust) setting, linking BONSAI to classical BO theory, while empirical results across synthetic and real-world process-system benchmarks demonstrate consistent gains, especially in modular or cyclic networks. The framework is practically impactful for uncertainty-aware design in complex engineering systems, offering a principled path to leverage partial structure without requiring full equation-based models.
Abstract
Optimal design under uncertainty remains a fundamental challenge in advancing reliable, next-generation process systems. Robust optimization (RO) offers a principled approach by safeguarding against worst-case scenarios across a range of uncertain parameters. However, traditional RO methods typically require known problem structure, which limits their applicability to high-fidelity simulation environments. To overcome these limitations, recent work has explored robust Bayesian optimization (RBO) as a flexible alternative that can accommodate expensive, black-box objectives. Existing RBO methods, however, generally ignore available structural information and struggle to scale to high-dimensional settings. In this work, we introduce BONSAI (Bayesian Optimization of Network Systems under uncertAInty), a new RBO framework that leverages partial structural knowledge commonly available in simulation-based models. Instead of treating the objective as a monolithic black box, BONSAI represents it as a directed graph of interconnected white- and black-box components, allowing the algorithm to utilize intermediate information within the optimization process. We further propose a scalable Thompson sampling-based acquisition function tailored to the structured RO setting, which can be efficiently optimized using gradient-based methods. We evaluate BONSAI across a diverse set of synthetic and real-world case studies, including applications in process systems engineering. Compared to existing simulation-based RO algorithms, BONSAI consistently delivers more sample-efficient and higher-quality robust solutions, highlighting its practical advantages for uncertainty-aware design in complex engineering systems.
