[Paper Review] Investigating Bayesian optimization for expensive-to-evaluate black box functions: Application in fluid dynamics
This paper evaluates Bayesian optimization (BO) for expensive black-box functions in computational fluid dynamics, comparing acquisition functions, sampling methods, and single- vs. multi-point optimization. It demonstrates that Monte Carlo-based and batched BO with Upper Confidence Bound (UCB) acquisition functions enable efficient, parallelizable optimization, achieving significant drag reduction and net energy savings in under 40 evaluations on real CFD problems using the NUBO framework.
Bayesian optimization provides an effective method to optimize expensive-to-evaluate black box functions. It has been widely applied to problems in many fields, including notably in computer science, e.g. in machine learning to optimize hyperparameters of neural networks, and in engineering, e.g. in fluid dynamics to optimize control strategies that maximize drag reduction. This paper empirically studies and compares the performance and the robustness of common Bayesian optimization algorithms on a range of synthetic test functions to provide general guidance on the design of Bayesian optimization algorithms for specific problems. It investigates the choice of acquisition function, the effect of different numbers of training samples, the exact and Monte Carlo based calculation of acquisition functions, and both single-point and multi-point optimization. The test functions considered cover a wide selection of challenges and therefore serve as an ideal test bed to understand the performance of Bayesian optimization to specific challenges, and in general. To illustrate how these findings can be used to inform a Bayesian optimization setup tailored to a specific problem, two simulations in the area of computational fluid dynamics are optimized, giving evidence that suitable solutions can be found in a small number of evaluations of the objective function for complex, real problems. The results of our investigation can similarly be applied to other areas, such as machine learning and physical experiments, where objective functions are expensive to evaluate and their mathematical expressions are unknown.
Motivation & Objective
- To evaluate and compare the performance and robustness of common Bayesian optimization algorithms on synthetic test functions representing engineering and machine learning challenges.
- To guide the design of BO setups for specific problems by analyzing acquisition functions, training sample size, analytical vs. Monte Carlo acquisition calculation, and single-point vs. multi-point optimization.
- To demonstrate the practical applicability of BO in real-world computational fluid dynamics (CFD) simulations with expensive objective functions.
- To provide evidence that effective solutions can be found in few evaluations for complex, real-world problems such as drag reduction and net energy savings.
- To inform the use of BO in other domains like hyperparameter tuning and physical experiments where function evaluations are costly and unknown.
Proposed method
- Empirically benchmarked multiple acquisition functions—Expected Improvement (EI), Probability of Improvement (PI), Upper Confidence Bound (UCB), Entropy Search (ES), Predictive Entropy Search (PES), Max-value Entropy Search (MES)—on synthetic test functions with increasing complexity.
- Compared analytical and Monte Carlo sampling approaches for computing acquisition functions, assessing trade-offs in accuracy and computational cost.
- Evaluated the impact of varying initial training data points (from 5 to 20) on optimization performance across different acquisition functions.
- Contrasted single-point and multi-point (batched) optimization strategies, particularly focusing on parallel evaluation efficiency.
- Applied the best-performing BO configurations to two novel CFD simulations: one for global drag reduction over a flat plate, and another for simultaneous drag reduction and net energy savings with separated blowing zones.
- Used the Newcastle University Bayesian Optimization (NUBO) framework to implement and test the BO pipeline on real CFD simulations with high computational cost.
Experimental results
Research questions
- RQ1Which acquisition function performs best across diverse synthetic test functions, especially those with oscillations, steep edges, or flat regions?
- RQ2How does the number of initial training samples affect the convergence and robustness of Bayesian optimization?
- RQ3What is the trade-off between analytical and Monte Carlo-based acquisition function computation in terms of accuracy and scalability?
- RQ4In what scenarios does multi-point (batched) Bayesian optimization outperform single-point optimization, particularly in terms of parallelization and evaluation efficiency?
- RQ5Can Bayesian optimization achieve meaningful improvements in real-world CFD simulations with minimal function evaluations?
Key findings
- Optimistic policies such as Upper Confidence Bound (UCB) and its batched variant (BUCB) outperformed other acquisition functions on complex, challenging test functions with oscillations and steep gradients.
- The number of initial training samples had no significant impact on the performance of the tested BO algorithms, suggesting robustness across different initialization sizes.
- Improvement-based acquisition functions like Expected Improvement (EI) struggled on flat test functions, where they failed to explore effectively.
- Monte Carlo-based acquisition functions and multi-point (batched) optimization provided strong alternatives to analytical single-point methods, especially when parallel evaluations were feasible.
- The multi-point approach was particularly effective when function evaluations were time-consuming, enabling parallel simulation runs and reducing total optimization time.
- Bayesian optimization successfully achieved global drag reduction of up to 60% and net energy savings in real CFD simulations with fewer than 40 objective function evaluations, demonstrating strong practical applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.