AMBER: Adaptive Mesh Generation by Iterative Mesh Resolution Prediction

Niklas Freymuth Tobias Würth Nicolas Schreiber Balazs Gyenes Andreas Boltres, Johannes Mitsch Aleksandar Taranovic Tai Hoang Philipp Dahlinger, Philipp Becker Luise Kärger Gerhard Neumann · 2025

Read AMBER: Adaptive Mesh Generation by Iterative Mesh Resolution Prediction by Niklas Freymuth Tobias Würth Nicolas Schreiber Balazs Gyenes Andreas Boltres, Johannes Mitsch Aleksandar Taranovic Tai Hoang Philipp Dahlinger, Philipp Becker Luise Kärger Gerhard Neumann (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-23663.txt.

Introduction

Niklas Freymuth and co-authors teach a system to design simulation meshes the way an expert would. Their 2025 paper, AMBER, addresses finite element simulation, where cost and accuracy both ride on the mesh, the grid of small pieces laid over a shape. Fine cells belong where the action is, but hand-tuning that layout is slow expert work.

Starting from a coarse mesh, AMBER predicts a sizing field, a map that says how small each piece should be at every point. A standard mesh builder then redraws the grid, and the loop repeats, each round closer to the expert's target. The learned approach promises expert-grade adaptation without task-specific rules.

Catalog record

CREATORNiklas Freymuth Tobias Würth Nicolas Schreiber Balazs Gyenes Andreas Boltres, Johannes Mitsch Aleksandar Taranovic Tai Hoang Philipp Dahlinger, Philipp Becker Luise Kärger Gerhard Neumann
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE115 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2505-23663

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

AMBER: Adaptive Mesh Generation by Iterative Mesh Resolution Prediction Niklas Freymuth Tobias Würth Nicolas Schreiber Balazs Gyenes Andreas Boltres, Johannes Mitsch Aleksandar Taranovic Tai Hoang Philipp Dahlinger, Philipp Becker Luise Kärger Gerhard Neumann Abstract The cost and accuracy of simulating complex physical systems using the Finite Element Method (FEM) scales with the resolution of the underlying mesh. Adaptive meshes improve computational efficiency by refining resolution in critical regions, but typically require task-specific heuristics or cumbersome manual design by a human expert. We propose Adaptive Meshing By Expert Reconstruction (AMBER), a supervised learning approach to mesh adaptation. Starting from a coarse mesh, AMBER iteratively predicts the sizing field, i.e., a function mapping from the geometry to the local element size of the target mesh, and uses this prediction to produce a new intermediate mesh using an out-of-the-box mesh generator. This process is enabled through a hierarchical graph neural network, and relies on data augmentation by automatically projecting expert labels onto AMBER-generated data during training. We evaluate AMBER on 2 2 D and 3 3 D datasets, including classical physics problems, mechanical components, and real-world industrial designs with human expert meshes. AMBER generalizes to unseen geometries and consistently outperforms multiple recent baselines, including ones using Graph and Convolutional Neural Networks, and Reinforcement Learning-based approaches. 1 Introduction Physical simulations are a fundamental tool in a wide range of science and engineering applications. As simulations become more complex, researchers and practitioners increasingly rely on numerical solutions to intricate Partial Differential Equations (PDEs) . The Finite Element Method (FEM) discretizes complex geometries into simpler mesh elements and solves the resulting system of linear equations [ 1 , 2 , 3 , 4 ] . The FEM is ubiquitous in numerical engineering, finding application in fluid flow simulations [ 5 ] , structural mechanics [ 6 , 7 ] , electromagnetics [ 8 ] , and injection molding [ 9 ] . For such simulations, both the simulation cost and accuracy scale with mesh resolution. Therefore, adaptive meshing, which assigns more mesh elements to key regions of the geometry, is essential for efficient and accurate simulations [ 10 , 11 ] . An example is structural analysis in the automotive industry [ 7 ] , where FEM is used to model complex components under varying forces and stresses. Figure 1 shows such a component, a car seat crossmember, where a finer mesh is required near bends and holes. Traditional Adaptive Mesh Refinement (AMR) techniques iteratively refine existing meshes using predefined heuristics based on problem geometry and process conditions [ 12 , 13 , 14 ] . Similarly, Adaptive Mesh Generation (AMG) generates meshes from functions such as sizing fields, which define local element sizes on the geometry [ 15 , 16 ] . However, both methods are still limited in efficiency and adaptability to new applications. As a result, adaptive meshing in practice requires significant manual input and domain expertise. Engineers often hand-tune local mesh resolutions for each new geometry or problem [ 15 , 17 , 18 ] . This repetitive and time-consuming process creates bottlenecks in applications like iterative design and process optimization. To address this issue, we propose Adaptive Meshing By Expert Reconstruction ( AMBER ) , a data-driven method for iterative AMG . AMBER employs a Message Passing Network (MPN) [ 19 , 20 ] , a class of Graph Neural Networks (GNNs) [ 21 ] , to predict target element sizes across a sequence of mesh refinement steps. Trained on small datasets, each consisting of roughly 20 geometries and corresponding expert meshes, AMBER learns underlying meshing strategies and tackles the core challenge of extreme local variation in element sizes. Unlike prior learned AMG approaches [ 22 , 23 , 24 ] , AMBER iteratively generates meshes using each intermediate mesh’s vertices as sampling points to predict the next target sizing field. This iterative scheme, together with the MPN , enables adaptation to non-uniform geometries, while simultaneously adjusting local sampling resolution in response previous mesh generation steps. As a result, AMBER is highly effective in adaptive meshing, where spatially varying target sizes necessitate correspondingly localized prediction densities. Figure 1 shows an overview of our method. At inference time, AMBER starts from a coarse initial mesh and iteratively predicts sizing fields to feed into an out-of-the-box mesh generator [ 25 ] , which generates an adapted mesh. During training, predicted sizing fields are supervised by projecting element sizes from expert meshes onto intermediate meshes. To address the distribution shift introduced by intermediate meshes during inference, we maintain a replay buffer populated with meshes generated by the model itself. This strategy echoes online imitation learning approaches such as DAgger [ 26 ] , but replaces the human-in-the-loop with automatic data generation and labeling. In doing so, AMBER bootstraps [ 27 ] its own training distribution, implicitly performing data augmentation [ 28 ] by including meshes on different local scales, to stabilize learning and inference. Figure 1 : AMBER learns adaptive mesh generation on complex geometries for simulation applications from an expert dataset. Left: During training , AMBER predicts a sizing field, as indicated by the mesh’s color, from labels projected from an expert mesh M^{*} . AMBER continuously updates a replay buffer with newly generated meshes to preserve a diverse and accurate training data distribution. Right: During inference , AMBER starts from an initial mesh M_{0} , predicts a sizing field per element, and feeds it into a mesh generator that refines the mesh using the underlying geometry \Omega . This process is repeated until a final mesh M_{T} is produced. On the car seat crossmember shown above, AMBER learns that the expert assigns more mesh elements to holes and sharp bends, which are particularly interesting for strength and durability analyses. We evaluate our method on six novel datasets introduced in this work, covering a wide range of 2 D and 3 D geometries meshed by human experts and heuristics 1 1 1 Project page, code and datasets are available at https://niklasfreymuth.github.io/AMBER . . These geometries vary in difficulty and model a diverse set of common engineering problems. We compare AMBER against supervised learning [ 22 , 29 , 30 ] and Reinforcement Learning (RL) [ 31 ] baselines. AMBER consistently produces higher-quality meshes than all baselines, both in terms of visual quality and quantitative metrics. We additionally explore the runtime of AMBER ’s components. We find that AMBER ’s cost is dominated by the final mesh generation step, which is required for all mesh generation methods, and that the full AMBER mesh generation process is faster and scales significantly better than classical iterative error estimation methods. Furthermore, we present extensive ablations to show the effects of individual design choices, such as loss, refinement steps, and sizing field parametrization. To summarize our contributions, we (1) propose AMBER , a novel approach for Adaptive Mesh Generation (AMG) that produces a sequence of meshes, using each intermediate mesh to predict a target resolution for the next mesh, (2) introduce six new datasets spanning both 2 D and 3 D geometries, designed to reflect realistic and diverse problem settings; two of these include human-generated meshes, and (3) conduct extensive experiments demonstrating that AMBER produces significantly better meshes

Read the complete text