Iterative Sizing Field Prediction for Adaptive Mesh Generation From Expert Demonstrations
Niklas Freymuth, Philipp Dahlinger, Tobias Würth, Philipp Becker, Aleksandar Taranovic, Onno Grönheim, Luise Kärger, Gerhard Neumann
TL;DR
AMBER tackles adaptive mesh generation by imitation learning, learning to predict per-element sizing fields on intermediate meshes and iteratively refining via a conventional mesh generator to approximate expert meshes. It combines a graph neural network with a replay buffer and an oracle relabeling scheme to align training with inference, propagating refinements for $T$ steps to produce $M^T$ that closely matches the expert mesh $M^*$. Training leverages projections of expert sizing fields onto intermediate meshes and uses stratified replay to mitigate distribution shift, enabling data-efficient learning without handcrafted refinement rewards. Across 2D Poisson problems and 3D automotive-like geometries, AMBER achieves high similarity to expert meshes and outperforms a strong CNN baseline, especially for highly adaptive meshes.
Abstract
Many engineering systems require accurate simulations of complex physical systems. Yet, analytical solutions are only available for simple problems, necessitating numerical approximations such as the Finite Element Method (FEM). The cost and accuracy of the FEM scale with the resolution of the underlying computational mesh. To balance computational speed and accuracy meshes with adaptive resolution are used, allocating more resources to critical parts of the geometry. Currently, practitioners often resort to hand-crafted meshes, which require extensive expert knowledge and are thus costly to obtain. Our approach, Adaptive Meshing By Expert Reconstruction (AMBER), views mesh generation as an imitation learning problem. AMBER combines a graph neural network with an online data acquisition scheme to predict the projected sizing field of an expert mesh on a given intermediate mesh, creating a more accurate subsequent mesh. This iterative process ensures efficient and accurate imitation of expert mesh resolutions on arbitrary new geometries during inference. We experimentally validate AMBER on heuristic 2D meshes and 3D meshes provided by a human expert, closely matching the provided demonstrations and outperforming a single-step CNN baseline.
