Efficient Learning of Mesh-Based Physical Simulation with Bi-Stride Multi-Scale Graph Neural Network

Yadi Cao, Menglei Chai, Minchen Li, Chenfanfu Jiang

Overview

Simulating complex physical systems, such as fluid dynamics or solid mechanics, using traditional partial differential equation (PDE) solvers is notoriously computationally expensive. While Graph Neural Networks (GNNs) have emerged as a faster, machine-learning-based alternative, standard "flat" GNNs face significant hurdles as mesh sizes grow: quadratic computational complexity and over-smoothing, where repeated message passing washes out high-frequency, localized details.

To address these challenges, this paper introduces BSMS-GNN (Bi-Stride Multi-Scale Graph Neural Network). By utilizing a purely topological "bi-stride" pooling strategy, BSMS-GNN avoids the pitfalls of spatial-proximity pooling and manual mesh coarsening, achieving state-of-the-art accuracy with a significantly lower memory footprint and computational cost.

The Problem with Existing Multi-Scale GNNs

To solve the scaling issues of flat GNNs, researchers often use Multi-Scale GNNs (MS-GNNs) that build a hierarchy of coarser graphs to pass information across long distances quickly. However, existing methods for building these coarse levels are fundamentally flawed:

  1. Manual coarsening is too labor-intensive for complex, unstructured meshes.
  2. Learnable pooling often drops critical connections and struggles to generalize to unseen geometries.
  3. Spatial proximity pooling can accidentally connect nodes that are physically close but topologically separated (e.g., across a thin wall or a U-shaped pipe). This allows information to "leak" across boundaries, ruining the physics of the simulation.
Comparison of existing pooling strategies. Spatial proximity and rasterization can erroneously connect nodes across physical boundaries.

The BSMS-GNN Approach

The authors propose the Bi-Stride Multi-Scale GNN, which relies on three key innovations to overcome these limitations:

1. Bi-Stride Pooling

Instead of using spatial coordinates to group nodes, BSMS-GNN uses pure graph topology. It runs a Breadth-First Search (BFS) from a seed node and pools nodes on every other BFS frontier (a "bi-stride"). This guarantees that a simple 2nd-order adjacency enhancement preserves all correct connectivity without creating false bridges across physical boundaries.

2. Single Message Pass (MP) per Level

Because bi-stride inherently preserves direct connections between pooled and un-pooled nodes, the network only needs a single message-passing iteration per hierarchy level to exchange information. This drastically cuts compute time compared to models requiring multiple passes.

3. Non-Parameterized Transitions

Instead of using heavy, learnable neural network layers to move data between fine and coarse levels, BSMS-GNN uses a deterministic, weight-based aggregation and returning scheme. It tracks contribution weights during downsampling and reuses them for upsampling, mimicking the interpolation steps seen in U-Nets. This perfectly balances sharpness and accuracy without needing extra learnable parameters.

Experimental Validation

The paper evaluates the model on three existing benchmarks (CylinderFlow, Airfoil, and DeformingPlate) and introduces a novel, highly complex dataset: InflatingFont. This new 3D dataset features the quasi-static inflation of enclosed elastic surfaces (Chinese characters) with massive self-contact, serving as a rigorous test for scalability and complex geometry handling.

Key Results

  • Memory Efficiency: BSMS-GNN cuts training RAM consumption by roughly 50% compared to standard MeshGraphNets and MS-GNN-GRID, and uses 90% less memory than GraphUNets.
  • Speed: It boasts the fastest training speed per epoch, taking only 26% to 58% of the time required by leading competitors. During inference, it operates up to 1275x faster than traditional numerical solvers.
  • Accuracy: It achieved the lowest rollout RMSE across almost all datasets. On the highly complex InflatingFont dataset, it reduced rollout error by ~40% compared to baselines.
  • Zero-Shot Scaling: The trained model successfully generalized to unseen geometries (different font characters) with meshes up to 7x larger than those seen during training, maintaining high accuracy.

Limitations and Future Directions

While highly effective, the current framework relies on point-to-point contact modeling. Transitioning to point-to-face pairs could yield higher precision in complex collision scenarios. Future work may also explore combining BSMS-GNN with Neural Operators to handle varying PDE parameters, integrating Transformers for more stable long-term rollouts, or investigating edge-pruning strategies at coarser levels to further boost efficiency.

Summary updated

BibTeX
@inproceedings{cao2023efficient,
  author = {Yadi Cao and Menglei Chai and Minchen Li and Chenfanfu Jiang},
  title = {{Efficient Learning of Mesh-Based Physical Simulation with Bi-Stride Multi-Scale Graph Neural Network}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=2Mbo7IEtZW},
}
Figure