Bi-Stride Multi-Scale Graph Neural Network for Mesh-Based Physical Simulation

Yadi Cao, Menglei Chai, Minchen Li, Chenfanfu Jiang · OpenReview

Abstract

Learning the physical simulation on large-scale meshes with flat Graph Neural Networks (GNNs) and stacking Message Passings (MPs) is challenging due to the scaling complexity w.r.t. the number of nodes and over-smoothing. There has been growing interest in the community to introduce multi-scale structures to GNNs for physical simulation. However, current state-of-the-art methods are limited by their reliance on the labor-intensive drawing of coarser meshes or building coarser levels based on spatial proximity, which can introduce wrong edges across geometry boundaries. Inspired by the bipartite graph determination, we propose a novel pooling strategy, bi-stride, to tackle the aforementioned limitations. Bi-stride pools nodes on every other frontier of the breadth-first search (BFS), without the need for the manual drawing of coarser meshes and avoiding the wrong edges by spatial proximity. Additionally, it enables a one-MP scheme per level and non-parametrized pooling and unpooling by interpolations, resembling U-Nets, which significantly reduces computational costs. Experiments show that the proposed framework, BSMS-GNN, significantly outperforms existing methods in terms of both accuracy and computational efficiency in representative physical simulations.

Introduction

Simulating complex physical systems—such as fluid dynamics around an airfoil or the structural deformation of elastic solids—requires solving partial differential equations (PDEs) on unstructured meshes. While Graph Neural Networks (GNNs) have emerged as a powerful tool for these tasks, "flat" GNN architectures face significant hurdles. As the number of nodes increases, stacking layers to propagate information across the mesh leads to quadratic computational costs and "over-smoothing," where repeated message passing washes out critical high-frequency physical details.

To address these issues, researchers have turned to multi-scale GNNs that coarsen the mesh to capture long-range interactions efficiently. However, as shown in Figure 1, existing coarsening methods are often flawed.

The Limitations of Current Coarsening Strategies

Existing multi-scale approaches typically rely on two methods: manual coarsening or spatial proximity. Manual coarsening is labor-intensive and difficult to scale. Spatial proximity methods, which connect nodes based on Euclidean distance, are physically dangerous. They can create "leaky" connections across thin gaps or complex geometric boundaries—for instance, erroneously connecting the two sides of a narrow U-shaped pipe. This "short-circuiting" of information leads to physically impossible simulation results.

Comparison of traditional pooling strategies (learnable, rasterization, and spatial proximity) which often fail to respect complex geometric boundaries.

The BSMS-GNN Framework

The authors propose the Bi-Stride Multi-Scale GNN (BSMS-GNN) to overcome these topological challenges. The core innovation is the bi-stride pooling strategy:

  • Topological Pooling: Instead of using 3D coordinates, the model performs a Breadth-First Search (BFS) starting from a seed node. It pools nodes located on every other BFS frontier. This ensures that connectivity is determined by the mesh's actual topology rather than just spatial distance, preventing boundary-crossing errors.
  • Adjacency Enhancement: To maintain connectivity at coarser levels, the model utilizes a $2^{nd}$-powered adjacency matrix ($A \leftarrow A^2$). This allows information to traverse the gaps created by pooling while strictly respecting the original mesh boundaries.
  • Efficient U-Net Architecture: BSMS-GNN follows a U-Net-like hierarchy but simplifies the process significantly. It utilizes only one message-passing (MP) step per level and employs non-parameterized pooling and unpooling via weighted interpolations. This drastically reduces the number of learnable parameters and overall computational overhead.

Experimental Results and Scalability

The model was evaluated on standard benchmarks (CylinderFlow, Airfoil, DeformingPlate) and a challenging new dataset, InflatingFont. This dataset involves the 3D inflation of complex Chinese character meshes, featuring up to 8x more nodes and 70x more contact edges than standard suites, providing a rigorous test for boundary handling.

Key Performance Metrics:

  • Accuracy: On the InflatingFont dataset, BSMS-GNN reduced the rollout Root Mean Square Error (RMSE) by approximately 40% compared to state-of-the-art competitors.
  • Efficiency: During training, BSMS-GNN consumed 43%–87% less memory than grid-based multi-scale methods and only 10% of the memory required by GraphUNets. It also proved significantly faster, requiring only 26%–58% of the unit training time per epoch.
  • Zero-Shot Generalization: Because the pooling is topological and automatic, models trained on small meshes generalized to meshes up to 7x larger without a loss in accuracy.

Conclusion

BSMS-GNN demonstrates that for irregular meshes, the graph's topology is a more reliable guide for coarsening than spatial coordinates. By replacing complex, learnable transition modules with a simple, bi-stride topological approach, the authors have created a framework that is not only more accurate but also significantly more efficient and robust for large-scale physical simulations.

Summary updated

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