Amortized Mesh Adaptation on Surfaces using Graph Neural Diffusion

Erik Jansson, James Rowbottom, Chris Budd, Carola-Bibiane Schönlieb, Georg MaierhoferarXiv 2026

TL;DR

Simulating physics on curved surfaces—like weather patterns on Earth or chemical waves on a cell membrane—requires chopping the surface into a mesh of flat triangles, where accuracy hinges on where you place the vertices. This paper introduces a graph neural network that learns to slide mesh nodes along any level-set surface to slash simulation error in a single, sub-second pass. Remarkably, trained only on simple static problems on bumpy spheres, it generalizes out-of-the-box to tori, cows, and even time-evolving surfaces.

What Problem Does This Paper Address?

Surface Finite Element Methods (SFEM) are the workhorse for solving partial differential equations (PDEs) on curved manifolds. Because you approximate a smooth surface with flat triangles, you face a classic trade-off: finer meshes give better accuracy, but cost more to solve.

A smart way around this is r-adaptivity (mesh relocation): keeping the number of nodes and their connectivity fixed, while sliding the nodes toward regions where the solution changes rapidly. Unfortunately, classical surface r-adaptivity methods have major drawbacks:

  • Geometry-specific methods (like Monge–Ampère solvers) require explicit knowledge of geodesics, limiting them to simple shapes like spheres.
  • General moving-mesh methods (like Huang’s variational approach) require solving expensive nonlinear optimization problems for every single new mesh.

Meanwhile, recent machine-learning mesh movers only work on flat Euclidean domains. If you naively apply them to a curved surface, the nodes fly right off the manifold.

Methods

The authors build a projected graph neural diffusion network that treats the mesh as a graph and moves nodes directly on the surface $\Gamma = \{x \in \mathbb{R}^3 : \phi(x) = 0\}$:

  1. Attention-Weighted Diffusion: Each node carries its 3D position and a "monitor" value (the recovered Hessian of the initial FEM solution, which highlights where the solution is hard to resolve). A 4-layer multi-head graph attention network scores neighboring nodes and pulls vertices toward high-scoring regions.
  2. Move, Project, Retract: In each diffusion step, the node velocities are projected onto the local tangent plane of $\Gamma$, and a Newton-based retraction pulls the nodes back onto the zero level-set $\{\phi = 0\}$.
  3. Trained on the Actual Error: Instead of mimicking a classical mesh mover, the network is trained end-to-end to minimize the true $L^2$ error between the lifted FEM solution and the exact solution, using Firedrake’s adjoint for gradients. Two regularizers—an equidistribution term and a barrier term—prevent nodes from collapsing or triangles from flipping.
Figure 2. Illustration of the lift that allows approximate solutions on the discretized surface Γh to be compared with the true solution. The flat triangle T is lifted up to the curved subset a(T), along the normal directions of the true surface Γ.
  1. Time-Dependent Transfer: Without any retraining, the network handles moving/time-dependent PDEs by deforming the initial mesh at each time step using the current solution's monitor, paired with an Arbitrary Lagrangian–Eulerian (ALE) BDF2 time-stepping scheme.
  2. Non-Tangling Guarantee: The authors prove a one-step condition (Theorem 4.1) guaranteeing that if the step size is small enough relative to surface curvature and edge lengths, a diffusion step cannot invert or tangle any mesh triangle.

Datasets

  • Training & Validation: 24 training problems and 12 validation problems on 6 "bumpy genus-0" surfaces (spheres deformed by rotated spherical harmonics). The PDE is a simple static Helmholtz equation ($-\Delta_\Gamma u + u = f$) with exact solutions built from two random Gaussian bumps.
  • Test Benchmarks:
  • Helmholtz: 48 test problems across the 6 training surfaces and 6 unseen surfaces (unit sphere, ellipsoid, 2 unseen bumpy genus-0 surfaces, and 2 tori).
  • Landscape problem ($-\Delta_\Gamma u + V u = 1$ with rough random potentials $V$): tested on the 6 unseen surfaces and on "Spot the cow" (where the level-set is learned from a triangle mesh using a SIREN network).
  • Time-dependent problems: A travelling Gaussian bump, Barkley’s excitable waves model, and an evolving crawling cell membrane.

Key Insights and Ideas

  • Zero-shot generalization across topologies and physics: Trained only on two-bump static Helmholtz problems on genus-0 surfaces, the network generalizes without retraining to genus-1 tori, rough "landscape" potentials, and time-dependent wave and cell-motility PDEs.
  • Geometry enters only through projection and retraction: The GNN itself never sees the level-set function $\phi$—it only sees node positions and the monitor. Surface geometry is enforced purely by the tangent-plane projection and Newton retraction.
  • Amortized speed: On a sphere, classical Monge–Ampère relocation costs 94–135 FEM solves' worth of compute time. One pass of this network costs roughly 5 FEM solves (0.14–1.45 seconds on a single CPU core, with no GPU).

Key Results

  • Helmholtz: Reduces $L^2$ error by 42.2% on unseen genus-0 surfaces and 58.5% on unseen tori in 0.21 seconds—capturing 75–89% of the error reduction of direct per-problem optimization (which takes 40 seconds).
  • Landscape problem: Reduces error by up to 30.4% on tori (and 34.6% in the 4,224-node torus example shown below) and 27.5% on Spot the cow.
Figure 1. Network results for the landscape function problem. The network never saw a torus or a problem of this kind and was trained only on different problems on genus 0 surfaces. One pass, taking under a second, lowers the L2-error by 34.6% at the same node count.
  • Time-dependent problems: Halves the error on the travelling bump (56.6–60.4% reduction), cuts error by 25–52% on excitable waves, and reduces error by 39–52% on the crawling cell membrane—with zero flipped cells across all runs.

Limitations and Future Work

  • Level-set requirement: The method needs a level-set function $\phi$ (and for evolving surfaces, the cell must stay star-shaped about its center). While a neural implicit surface (SIREN) works when only a mesh is available, evaluating it is currently too slow to be competitive.
  • Theoretical gap: The non-tangling guarantee only covers a single diffusion step (1 of 128 in a pass); for the rest of the pass, only the barrier term in the training loss discourages cell flipping.
  • Generic training data: The network was trained on generic Gaussian bumps; specialized applications could likely see even better performance by training on domain-specific solution features.

Summary updated

BibTeX
@misc{jansson2026amortized,
  author = {Erik Jansson and James Rowbottom and Chris Budd and Carola-Bibiane Schönlieb and Georg Maierhofer},
  title = {{Amortized Mesh Adaptation on Surfaces using Graph Neural Diffusion}},
  year = {2026},
  eprint = {2612.05316},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.05316},
}
Figure