MultiScale MeshGraphNets

Meire Fortunato, Tobias Pfaff, Peter Wirnsberger, Alexander Pritzel, Peter Battaglia

TL;DR

Standard Graph Neural Networks (GNNs) for physics simulation suffer from an information bottleneck on fine meshes, where smaller edges prevent messages from traveling across physical space in few layers. MultiScale MeshGraphNets (MS-MGN) overcomes this by introducing a multigrid-inspired hierarchy that passes messages across both fine and coarse unstructured meshes, restoring spatial convergence and outperforming classical numerical solvers at reduced computational cost.

What Problem Does This Paper Address?

Traditional numerical solvers exhibit spatial convergence: as simulation meshes become finer, simulation accuracy improves monotonically. However, learned simulators based on message-passing graph neural networks—such as MeshGraphNets (MGN)—break down on high-resolution meshes.

Because information in message-passing GNNs travels only along graph edges, the physical speed of information propagation scales with edge length. On finely resolved meshes, edges are tiny, meaning distant points in space require an impractically large number of message-passing steps to communicate. This leads to high compute costs, potential over-smoothing, and stagnating prediction accuracy.

Methods

The authors tackle this bottleneck with two complementary techniques:

  1. MultiScale MeshGraphNets (MS-MGN): Inspired by multigrid V-cycles, the architecture operates over an input fine mesh ($G^h$) and an auxiliary coarse mesh ($G^l$), connected via bipartite downsampling ($G^{down}$) and upsampling ($G^{up}$) graphs.
  2. Inter-mesh connectivity: For each fine node, MS-MGN identifies the enclosing coarse-mesh triangle and forms directed edges to its three corner vertices (and vice-versa for upsampling).
  3. Processor cycles: Rather than updating all levels equally, the model aggregates local features on the fine mesh, projects them down to the coarse mesh to propagate long-range information cheaply, and upsamples back to the fine mesh.
  4. Unstructured coarse discretization: The coarse mesh is generated using domain-conformal unstructured meshing rather than a regular grid, respecting geometry boundaries.
  5. High-Accuracy Labels (Learned Subgrid Modeling): Instead of training GNNs on reference simulations conducted at the same mesh resolution, the authors train on high-resolution simulations that are down-interpolated onto coarser meshes. This allows the model to learn subgrid effects implicitly (acting like an automated turbulence closure model).

Datasets

The authors evaluate their approach on a newly generated benchmark:

  • CylinderFlow Dataset: 1,000 simulations (200 time steps each, $\Delta t = 0.01$s) of 2D incompressible fluid flow past a cylinder in a channel, generated using the COMSOL Multiphysics solver. Trajectories vary obstacle radius, obstacle position, inflow velocity, and discretization resolution (minimum edge lengths from $10^{-2}\text{ m}$ down to $10^{-3}\text{ m}$, spanning roughly 100 to over 20,000 nodes).
  • Test Benchmarks: A 500-trajectory fixed-obstacle test suite evaluated against high-fidelity "ground truth" reference trajectories computed at the finest mesh resolution ($10^{-3}\text{ m}$).

Key Insights and Ideas

  • GNNs act like local numerical smoothers: Much like Gauss-Seidel iterations in classical numerical analysis, message-passing layers are adept at eliminating high-frequency local errors but struggle with low-frequency, domain-wide signals. Adding a coarse latent graph provides the long-range "expressways" needed to resolve macro-scale dynamics.
  • Spectral validation via Graph Fourier Transform: By decomposing prediction error along graph Laplacian eigenvectors, the authors prove that MS-MGN specifically dampens low-frequency errors (slowly varying, long-range spatial correlations) over multi-step rollouts compared to standard MGN.
  • Conformal meshing beats Cartesian grids: Structuring the coarse graph using domain-conforming unstructured meshes significantly outperforms uniform grid downsampling, preserving boundary behavior and local relative node densities.

Key Results

  • Restoring Spatial Convergence: While baseline MGN error plateaus at small edge lengths (even when scaling to 25 message passing steps, the GPU memory limit), a 25-step MS-MGN (using two V-cycles: p=3H 6L 3H 6L 3H) closely tracks the monotonic convergence curve of the classical COMSOL solver.
  • Pareto-Superior Training Efficiency: Because low-resolution graph updates involve significantly fewer nodes and edges, MS-MGN achieves lower mean squared error (MSE) per unit training wall-clock time than MGN across all resolutions.
  • Beating the Numerical Solver: When trained with high-accuracy subgrid labels, standard MGN outperforms the classical solver on coarse meshes (edge lengths $> 0.0016\text{ m}$), but still degrades on fine meshes. MS-MGN trained with high-accuracy labels maintains lower error than the classical reference solver across all mesh resolutions.

Limitations and Future Work

  • Error Accumulation on Long Rollouts: Although MS-MGN reduces error accumulation compared to baseline MGN, errors still compound over multi-step autoregressive rollouts on fine meshes.
  • Fixed Two-Level Hierarchy: The framework was tested using only two resolution levels (fine and coarse); scaling to deeper hierarchies (e.g., 3+ levels or W-cycles) will likely be necessary for ultra-high-resolution 3D engineering meshes.
  • Dynamic Time Stepping: Trajectories were rolled out with fixed $\Delta t$; integrating adaptive time stepping and sequence-based recurrent models could further improve temporal stability.

Summary updated

BibTeX
@inproceedings{fortunato2022multiscale,
  author = {Meire Fortunato and Tobias Pfaff and Peter Wirnsberger and Alexander Pritzel and Peter Battaglia},
  title = {{MultiScale MeshGraphNets}},
  booktitle = {AI4Science @ ICML},
  year = {2022},
  url = {https://openreview.net/forum?id=G3TRIsmMhhf},
}
Figure