- Research Article
20
- 10.1016/j.knosys.2024.112186
Imprecise Bayesian optimization
- Jul 04, 2024
- Knowledge-Based Systems
- Julian Rodemann + 1 more +1
Imprecise Bayesian optimization
Abstract Bayesian optimization (BO) with Gaussian processes (GP) as surrogate models is widely used to optimize analytically unknown and expensive-to-evaluate functions. In this paper, we propose Prior-mean-RObust Bayesian Optimization (PROBO) that outperforms classical BO on specific problems. First, we study the effect of the Gaussian processes’ prior specifications on classical BO’s convergence. We find the prior’s mean parameters to have the highest influence on convergence among all prior components. In response to this result, we introduce PROBO as a generalization of BO that aims at rendering the method more robust towards prior mean parameter misspecification. This is achieved by explicitly accounting for GP imprecision via a prior near-ignorance model. At the heart of this is a novel acquisition function, the generalized lower confidence bound (GLCB). We test our approach against classical BO on a real-world problem from material science and observe PROBO to converge faster. Further experiments on multimodal and wiggly target functions confirm the superiority of our method.KeywordsBayesian optimizationImprecise Gaussian processImprecise probabilitiesPrior near-ignoranceModel imprecisionRobust optimization
Imprecise Bayesian optimization
Imprecise Bayesian optimization
Machine learning with knowledge constraints for process optimization of open-air perovskite solar cell manufacturing
Machine learning with knowledge constraints for process optimization of open-air perovskite solar cell manufacturing
Bayesian Optimization Based on Student’s T Process for Microstrip Antenna Design
Bayesian Optimization (BO) is an efficient global optimization algorithm, which is widely used in the field of engineering design. The probabilistic surrogate model and acquisition function are the two keys to the algorithm. Building an efficient probabilistic surrogate model and designing a collection function with excellent exploring capabilities can improve the performance of BO algorithm, allowing it to find the optimal value of the objective function with fewer iterations. Due to the characteristics of small samples and non-parametric derivation of the Gaussian Process (GP), traditional BO algorithms usually use the GP as a surrogate model. Compared with the GP, the Student’s T Process (STP) retains the excellent properties of GP, and has more flexible posterior variance and stronger robustness. In this paper, STP is used as the surrogate model in BO algorithm, the hyperparameters of the model are optimized by STP, and the estimation strategy function (EST) is improved based on the posterior output of the optimized STP, thus realizing the improved BO algorithm based on the STP. To verify the performance of the proposed algorithm, numerical experiments are designed to compare the performances of the traditional BO algorithm, which includes the lower confidence bound function (LCB) and EST as acquisition function respectively and GP as the surrogate model, and the proposed BO algorithm with STP as the surrogate model and LCB, expected improvement function (EI), expected regret minimization function (ERM) as acquisition function respectively. The results show that the proposed algorithm in this paper performs well when finding the global minimum of multimodal functions. Based on the developed algorithm in this paper, the resonant frequency of printed dipole antenna and E-shaped antenna is modeled and optimized, which further confirms the good design ability and design accuracy of the BO algorithm proposed in this paper.
Read moreBayesian optimization of pump operations in water distribution systems
Bayesian optimization has become a widely used tool in the optimization and machine learning communities. It is suitable to problems as simulation/optimization and/or with an objective function computationally expensive to evaluate. Bayesian optimization is based on a surrogate probabilistic model of the objective whose mean and variance are sequentially updated using the observations and an “acquisition” function based on the model, which sets the next observation at the most “promising” point. The most used surrogate model is the Gaussian Process which is the basis of well-known Kriging algorithms. In this paper, the authors consider the pump scheduling optimization problem in a Water Distribution Network with both ON/OFF and variable speed pumps. In a global optimization model, accounting for time patterns of demand and energy price allows significant cost savings. Nonlinearities, and binary decisions in the case of ON/OFF pumps, make pump scheduling optimization computationally challenging, even for small Water Distribution Networks. The well-known EPANET simulator is used to compute the energy cost associated to a pump schedule and to verify that hydraulic constraints are not violated and demand is met. Two Bayesian Optimization approaches are proposed in this paper, where the surrogate model is based on a Gaussian Process and a Random Forest, respectively. Both approaches are tested with different acquisition functions on a set of test functions, a benchmark Water Distribution Network from the literature and a large-scale real-life Water Distribution Network in Milan, Italy.
Read moreMulti-Objective Bayesian Optimization Supported by Deep Gaussian Processes
<div class="section abstract"><div class="htmlview paragraph">A common scenario in engineering design is the evaluation of expensive black-box functions: simulation codes or physical experiments that require long evaluation times and/or significant resources, which results in lengthy and costly design cycles. In the last years, Bayesian optimization has emerged as an efficient alternative to solve expensive black-box function design problems. Bayesian optimization has two main components: a probabilistic surrogate model of the black-box function and an acquisition functions that drives the design process. Successful Bayesian optimization strategies are characterized by accurate surrogate models and well-balanced acquisition functions. The Gaussian process (GP) regression model is arguably the most popular surrogate model in Bayesian optimization due to its flexibility and mathematical tractability. GP regression models are defined by two elements: the mean and covariance functions. In some modeling scenarios, the prescription of proper mean and covariance functions can be a difficult task, e.g., when modeling non-stationary functions and heteroscedastic noise. Motivated by recent advancements in the deep learning community, this study explores the implementation of deep Gaussian processes (DGPs) as surrogate models for Bayesian optimization in order to build flexible predictive models from simple mean and covariance functions. The proposed methodology employs DGPs as the surrogate models and the Euclidean-based expected improvement as the acquisition function. This approach is compared with a strategy that employs GP regression models. These methodologies solve two analytical problems and one engineering problem: the design of sandwich composite armors for blast mitigation. The analytical problems involve non-convex and segmented Pareto fronts. The engineering problem involves expensive finite element simulations, three design variables, and two expensive black-box function objectives. The results show that the architecture of the DGP model plays an important role in the performance of the optimization approach. If the DGP architecture is adequate, the implementation of DGPs produces satisfactory results; otherwise, the use of GP regression models is preferable.</div></div>
Read moreLost in Optimization of Water Distribution Systems: Better Call Bayes
The main goal of this paper is to show that Bayesian optimization can be regarded as a general framework for the data-driven modelling and solution of problems arising in water distribution systems. Scenario-based hydraulic simulation and Monte Carlo are key tools in modelling in water distribution systems. The related optimization problems fall into a simulation/optimization framework in which objectives and constraints are often black box. Bayesian optimization (BO) is characterized by a surrogate model, usually a Gaussian process but also a random forest, as well as neural networks and an acquisition function that drives the search for new evaluation points. These modelling options make BO nonparametric, robust, flexible, and sample efficient, making it particularly suitable for simulation/optimization problems. A defining characteristic of BO is its versatility and flexibility, given, for instance, by different probabilistic models, in particular different kernels, different acquisition functions. These characteristics of the Bayesian optimization approach are exemplified by two problems: cost/energy optimization in pump scheduling and optimal sensor placement for early detection of contaminant intrusion. Different surrogate models have been used both in explicit and implicit control schemes, showing that BO can drive the process of learning control rules directly from operational data. BO can also be extended to multi-objective optimization. Two algorithms are proposed for multi-objective detection problems using two different acquisition functions.
Read moreBayesian Optimization for Contamination Source Identification in Water Distribution Networks
In the wake of the terrorist attacks of 11 September 2001, extensive research efforts have been dedicated to the development of computational algorithms for identifying contamination sources in water distribution systems (WDSs). Previous studies have extensively relied on evolutionary optimization techniques, which require the simulation of numerous contamination scenarios in order to solve the inverse-modeling contamination source identification (CSI) problem. This study presents a novel framework for CSI in WDSs using Bayesian optimization (BO) techniques. By constructing an explicit acquisition function to balance exploration with exploitation, BO requires only a few evaluations of the objective function to converge to near-optimal solutions, enabling CSI in real-time. The presented framework couples BO with EPANET to reveal the most likely contaminant injection/intrusion scenarios by minimizing the error between simulated and measured concentrations at a given number of water quality monitoring locations. The framework was tested on two benchmark WDSs under different contamination injection scenarios, and the algorithm successfully revealed the characteristics of the contamination source(s), i.e., the location, pattern, and concentration, for all scenarios. A sensitivity analysis was conducted to evaluate the performance of the framework using various BO techniques, including two different surrogate models, Gaussian Processes (GPs) and Random Forest (RF), and three different acquisition functions, namely expected improvement (EI), probability of improvement (PI), and upper confident bound (UCB). The results revealed that BO with the RF surrogate model and UCB acquisition function produced the most efficient and reliable CSI performance.
Read moreBayesian Optimization for Efficient Prediction of Gas Uptake in Nanoporous Materials.
The discovery and optimization of novel nanoporous materials (NPMs) such as Metal-Organic Frameworks (MOFs) and Covalent Organic Frameworks (COFs) are crucial for addressing global challenges like climate change, energy security, and environmental degradation. Traditional experimental approaches for optimizing these materials are time-consuming and resource-intensive. This research paper presents a strategy using Bayesian optimization (BO) to efficiently navigate the complex design spaces of NPMs for gas storage applications. For a MOF dataset drawn from 19 different sources, we present a quantitative evaluation of BO using a curated set of surrogate model and acquisition function couples. In our study, we employed machine learning (ML) techniques to conduct regression analysis on many models. Following this, we identified the three ML models that exhibited the highest accuracy, which were subsequently chosen as surrogates in our investigation, including the conventional Gaussian Process (GP) model. We found that GP with expected improvement (EI) as the acquisition function but without a gamma prior which is standard in Bayesian Optimisation python library (BO Torch) outperforms other surrogate models. Additionally, it should be noted that while the machine learning model that exhibits superior performance in predicting the target variable may be considered the best choice, it may not necessarily serve as the most suitable surrogate model for BO. This observation has significant importance and warrants further investigation. This comprehensive framework accelerates the pace of materials discovery and addresses urgent needs in energy storage and environmental sustainability. It is to be noted that rather than identifying new MOFs, BO primarily enhances computational efficiency by reducing the reliance on more demanding calculations, such as those involved in Grand Canonical Monte Carlo (GCMC) or Density Functional Theory (DFT).
Read moreMultilevel Design of Sandwich Composite Armors for Blast Mitigation using Bayesian Optimization and Non-Uniform Rational B-Splines
<div class="section abstract"><div class="htmlview paragraph">In regions at war, the increasing use of improvised explosive devices (IEDs) is the main threat against military vehicles. Large cabin”s penetrations and high gross accelerations are primary threats against the occupants” survivability. The occupants” survivability under an IED event largely depends on the design of the vehicle armor. Under a blast load, a vehicle armor should maintain its structural integrity while providing low cabin penetrations and low gross accelerations. This investigation employs Bayesian global optimization (BGO) and non-uniform rational B-splines (NURBS) to design sandwich composite armors that simultaneously mitigate the cabin”s penetrations and the reaction force at the armor”s supports. The armors are made of four layers: steel, carbon fiber reinforced polymer (CFRP), aluminum honeycomb, and CFRP. BGO is a methodology to solve optimization problems that require the evaluation of expensive black-box functions such as the finite element (FE) simulations of the vehicle armor under a blast event. BGO has two main components: the surrogate model of the black-box function and the acquisition function that guides the optimization. In this study, the surrogate models are Gaussian processes and the acquisition function is the multi-objective expected improvement function. NURBS generate the armor”s shape. The numerical examples show three alternatives to optimize the armor at two levels: (1) thicknesses of the sandwich”s layers and (2) the armor”s shape. The three design alternatives differ in the number of optimized levels and the optimization approach (sequential or simultaneous). The results show that the simultaneous optimization of the thicknesses of the sandwich”s layers and the armor”s shape is the most effective approach to design vehicle armors for blast mitigation.</div></div>
Read moreGlobal Optimization of Gaussian processes
Gaussian processes~(Kriging) are interpolating data-driven models that are frequently applied in various disciplines. Often, Gaussian processes are trained on datasets and are subsequently embedded as surrogate models in optimization problems. These optimization problems are nonconvex and global optimization is desired. However, previous literature observed computational burdens limiting deterministic global optimization to Gaussian processes trained on few data points. We propose a reduced-space formulation for deterministic global optimization with trained Gaussian processes embedded. For optimization, the branch-and-bound solver branches only on the degrees of freedom and McCormick relaxations are propagated through explicit Gaussian process models. The approach also leads to significantly smaller and computationally cheaper subproblems for lower and upper bounding. To further accelerate convergence, we derive envelopes of common covariance functions for GPs and tight relaxations of acquisition functions used in Bayesian optimization including expected improvement, probability of improvement, and lower confidence bound. In total, we reduce computational time by orders of magnitude compared to state-of-the-art methods, thus overcoming previous computational burdens. We demonstrate the performance and scaling of the proposed method and apply it to Bayesian optimization with global optimization of the acquisition function and chance-constrained programming. The Gaussian process models, acquisition functions, and training scripts are available open-source within the "MeLOn - Machine Learning Models for Optimization" toolbox~(https://git.rwth-aachen.de/avt.svt/public/MeLOn).
Read moreDeterministic global optimization with Gaussian processes embedded
Gaussian processes (Kriging) are interpolating data-driven models that are frequently applied in various disciplines. Often, Gaussian processes are trained on datasets and are subsequently embedded as surrogate models in optimization problems. These optimization problems are nonconvex and global optimization is desired. However, previous literature observed computational burdens limiting deterministic global optimization to Gaussian processes trained on few data points. We propose a reduced-space formulation for deterministic global optimization with trained Gaussian processes embedded. For optimization, the branch-and-bound solver branches only on the free variables and McCormick relaxations are propagated through explicit Gaussian process models. The approach also leads to significantly smaller and computationally cheaper subproblems for lower and upper bounding. To further accelerate convergence, we derive envelopes of common covariance functions for GPs and tight relaxations of acquisition functions used in Bayesian optimization including expected improvement, probability of improvement, and lower confidence bound. In total, we reduce computational time by orders of magnitude compared to state-of-the-art methods, thus overcoming previous computational burdens. We demonstrate the performance and scaling of the proposed method and apply it to Bayesian optimization with global optimization of the acquisition function and chance-constrained programming. The Gaussian process models, acquisition functions, and training scripts are available open-source within the “MeLOn—MachineLearning Models for Optimization” toolbox (https://git.rwth-aachen.de/avt.svt/public/MeLOn).
Read morePhysics-Constrained Bayesian Optimization for Optimal Actuators Placement in Composite Structures Assembly
Complex constrained global optimization problems such as optimal actuators placement are extremely challenging. Such challenges, including nonlinearity and nonstationarity of engineering response surfaces, hinder the use of ordinary constrained Bayesian optimization (CBO) techniques with standard Gaussian processes as surrogate models. To overcome those challenges, we propose a physics-constrained Bayesian optimization with multi-layer deep structured Gaussian processes, MGP-CBO. Specifically, we introduce a surrogate model with a multi-layer deep Gaussian process (MGP) mean function. The hierarchical structure of our model enables the applicability of constrained Bayesian optimization to complex nonlinear and nonstationary processes. The deep Gaussian process regression model, MGP, can efficiently and effectively represent the response surface function between actuators and dimensional deformations, thus yielding a better estimated global optimum in a shorter computational time. The proposed MGP-CBO model can realize faster convergence to the global optimum with lower constraint violations. Through extensive evaluations carried out on synthetic problems and a real-world engineering design problem, we show that MGP-CBO outperforms existing benchmarks. Although we use the optimal actuators placement as a demonstration example, the proposed MGP-CBO model can be applied to other complex nonstationary engineering optimization problems. Note to Practitioners—Bayesian optimization is a widely used sequential design strategy for engineering optimization because it does not rely on functional forms of response surfaces. This paper helps address two questions in practice: (i) how to incorporate physics constraints into Bayesian optimization. (ii) How to do Bayesian optimization when the systems have hierarchical structures. In practice, the hierarchical system structure is ubiquitous, and the engineering optimization is constrained by physical laws or special requirements. Therefore, the proposed physics-constrained Bayesian optimization with a multi-layer Gaussian process could provide a new tool for engineering design optimization problems. The computational convergence and complexity have been investigated. The proposed method is applicable to broad complex and nonstationary engineering optimization problems.
Read moreBayesian Optimization using Pseudo-Points
Bayesian optimization (BO) is a popular approach for expensive black-box optimization, with applications including parameter tuning, experimental design, and robotics. BO usually models the objective function by a Gaussian process (GP), and iteratively samples the next data point by maximizing an acquisition function. In this paper, we propose a new general framework for BO by generating pseudo-points (i.e., data points whose objective values are not evaluated) to improve the GP model. With the classic acquisition function, i.e., upper confidence bound (UCB), we prove that the cumulative regret can be generally upper bounded. Experiments using UCB and other acquisition functions, i.e., probability of improvement (PI) and expectation of improvement (EI), on synthetic as well as real-world problems clearly show the advantage of generating pseudo-points.
Read moreBayesian Optimisation for the Experimental Sciences: A Practical Guide to Data‐Efficient Optimisation of Laboratory Workflows
Bayesian optimisation (BO) is a sample‐efficient strategy for optimising expensive, noisy, black‐box functions, challenges that are common in experimental sciences where each experiment may involve significant cost, time, and effort. Despite its theoretical strengths, BO remains under‐utilised in experimental disciplines, in part due to its perceived mathematical complexity and lack of practical guidance tailored to non‐specialists. This tutorial provides a comprehensive yet accessible introduction to BO, with an emphasis on implementation in chemistry, materials science, and related fields. We cover the core components of BO, including surrogate modelling with Gaussian Processes, acquisition functions, and sequential decision‐making. In addition, we discuss practical extensions for handling noise, constraints, multi‐objective, and high‐dimensional optimisation, mixed‐variable spaces, batch processing, and computational scalability. Strategies for incorporating domain knowledge and deploying BO in automated experimental workflows are also presented. Throughout, we provide practical advice, highlight useful software, and emphasise conceptual understanding over mathematical formalism. As laboratory automation and data‐driven discovery become increasingly central to modern science, we argue that BO will play a transformative role in accelerating intelligent experimentation. The goal of this paper is to lower the barrier to entry and equip the reader with the knowledge needed to apply BO effectively in their own work.
Read moreBenchmarking the performance of Bayesian optimization across multiple experimental materials science domains
Bayesian optimization (BO) has been leveraged for guiding autonomous and high-throughput experiments in materials science. However, few have evaluated the efficiency of BO across a broad range of experimental materials domains. In this work, we quantify the performance of BO with a collection of surrogate model and acquisition function pairs across five diverse experimental materials systems. By defining acceleration and enhancement metrics for materials optimization objectives, we find that surrogate models such as Gaussian Process (GP) with anisotropic kernels and Random Forest (RF) have comparable performance in BO, and both outperform the commonly used GP with isotropic kernels. GP with anisotropic kernels has demonstrated the most robustness, yet RF is a close alternative and warrants more consideration because it is free from distribution assumptions, has smaller time complexity, and requires less effort in initial hyperparameter selection. We also raise awareness about the benefits of using GP with anisotropic kernels in future materials optimization campaigns.
Read more