Contextual Bayesian Optimization (CBO) is a powerful framework for optimizing black-box, expensive-to-evaluate functions with respect to design variables, while simultaneously efficiently integrating relevant contextual information regarding the environment, such as experimental conditions. However, in many practical scenarios, the relevance of contextual variables is not necessarily known beforehand. Moreover, the contextual variables can sometimes be optimized themselves, a setting that current CBO algorithms do not take into account. Optimizing contextual variables may be costly, which raises the question of determining a minimal relevant subset. In this paper, we frame this problem as a cost-aware model selection BO task and address it using a novel method, Sensitivity-Analysis-Driven Contextual BO (SADCBO). We learn the relevance of context variables by sensitivity analysis of the posterior surrogate model at specific input points, whilst minimizing the cost of optimization by leveraging recent developments on early stopping for BO. We empirically evaluate our proposed SADCBO against alternatives on synthetic experiments together with extensive ablation studies, and demonstrate a consistent improvement across examples.
翻译:上下文贝叶斯优化(CBO)是一个强大的框架,用于优化关于设计变量的黑箱、评估昂贵的函数,同时有效集成实验条件等环境相关的上下文信息。然而,在许多实际场景中,上下文变量的相关性并不一定先验已知。此外,上下文变量有时本身也可被优化,而当前CBO算法并未考虑此设置。优化上下文变量可能代价高昂,这引出了确定最小相关子集的问题。本文将这一问题建模为成本感知的模型选择贝叶斯优化任务,并提出了一种新方法——敏感性分析驱动的上下文贝叶斯优化(SADCBO)。我们通过在特定输入点对后验代理模型进行敏感性分析来学习上下文变量的相关性,同时利用贝叶斯优化中早期停止的最新进展最小化优化成本。我们通过合成实验及广泛的消融研究,将提出的SADCBO与替代方法进行经验评估,并在示例中展示了其一致的性能提升。