Knowledge-based modeling of simulation behavior for Bayesian optimization

Felix Huber,Paul-Christian Bürkner,Dominik Göddeke,Miriam Schulte
DOI: https://doi.org/10.1007/s00466-023-02427-3
IF: 4.391
2024-01-05
Computational Mechanics
Abstract:Numerical simulations consist of many components that affect the simulation accuracy and the required computational resources. However, finding an optimal combination of components and their parameters under constraints can be a difficult, time-consuming and often manual process. Classical adaptivity does not fully solve the problem, as it comes with significant implementation cost and is difficult to expand to multi-dimensional parameter spaces. Also, many existing data-based optimization approaches treat the optimization problem as a black-box, thus requiring a large amount of data. We present a constrained, model-based Bayesian optimization approach that avoids black-box models by leveraging existing knowledge about the simulation components and properties of the simulation behavior. The main focus of this paper is on the stochastic modeling ansatz for simulation error and run time as optimization objective and constraint, respectively. To account for data covering multiple orders of magnitude, our approach operates on a logarithmic scale. The models use a priori knowledge of the simulation components such as convergence orders and run time estimates. Together with suitable priors for the model parameters, the model is able to make accurate predictions of the simulation behavior. Reliably modeling the simulation behavior yields a fast optimization procedure because it enables the optimizer to quickly indicate promising parameter values. We test our approach experimentally using the multi-scale muscle simulation framework OpenDiHu and show that we successfully optimize the time step widths in a time splitting approach in terms of minimizing the overall error under run time constraints.
mechanics,mathematics, interdisciplinary applications
What problem does this paper attempt to address?
The problem that this paper attempts to solve is how to find the optimal component combination and its parameter settings to minimize the simulation error in numerical simulation while satisfying the running - time constraints. Specifically, the paper focuses on the time - step optimization problem in the multi - scale muscle simulation framework OpenDiHu. Although traditional adaptive methods can partially solve the problem, they have problems such as high implementation costs and difficulty in expanding to multi - dimensional parameter spaces. And existing data - driven optimization methods usually regard the optimization problem as a black box and require a large amount of data. Therefore, the paper proposes a Bayesian optimization method based on prior knowledge. By using the known characteristics and behaviors of simulation components to build a model, it avoids the limitations of the black - box model and realizes a more efficient and accurate optimization process. This method is particularly suitable for handling complex optimization problems involving multiple components and parameters in numerical simulation and can quickly find near - optimal parameter configurations under limited resources.