Training Transformers for Mesh-Based Simulations
Not on the map. Why?
Abstract (arXiv)
Simulating physics using Graph Neural Networks (GNNs) is predominantly driven by message-passing architectures, which face challenges in scaling and efficiency, particularly in handling large, complex meshes. These architectures have inspired numerous enhancements, including multigrid approaches and K-hop aggregation (using neighbours of distance K), yet they often introduce significant complexity and suffer from limited in-depth investigations. In response to these challenges, we propose a novel Graph Transformer architecture that leverages the adjacency matrix as an attention mask. The proposed approach incorporates innovative augmentations, including Dilated Sliding Windows and Global Attention, to extend receptive fields without sacrificing computational efficiency. Through extensive experimentation, we evaluate model size, adjacency matrix augmentations, positional encoding and K-hop configurations using challenging 3D computational fluid dynamics (CFD) datasets. We also train over 60 models to find a scaling law between training FLOPs and parameters. The introduced models demonstrate remarkable scalability, performing on meshes with up to 300k nodes and 3 million edges. Notably, the smallest model achieves parity with MeshGraphNet while being 7× faster and 6× smaller. The largest model surpasses the previous state-of-the-art by 38.8% on average and outperforms MeshGraphNet by 52% on the all-rollout RMSE, while having a similar training speed. Code and datasets are available at https://github.com/DonsetPG/graph-physics.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 48 of its 78 references that are in the map. First posted on arXiv 25 Aug 2025.
Builds on
48 of 78 references.
References · 48
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2017Graph Attention Networkscited by 8,923
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2017Inductive Representation Learning on Large Graphscited by 6,320
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2020GLU Variants Improve Transformercited by 1,804
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
36 more
- 2021ViViT: A Video Vision Transformercited by 1,620
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,360
- 2020Learning to Simulate Complex Physics with Graph Networkscited by 880
- 2018Representation Learning on Graphs with Jumping Knowledge Networkscited by 877
- 2020Learning Mesh-Based Simulation with Graph Networkscited by 868
- 2021How Attentive are Graph Attention Networks?cited by 835
- 2016Language Modeling with Gated Convolutional Networkscited by 702
- 2020A Generalization of Transformer Networks to Graphscited by 661
- 2019Graph Transformer Networkscited by 523
- 2020Masked Label Prediction: Unified Message Passing Model for Semi-Supervised Classificationcited by 506
- 2021Understanding over-squashing and bottlenecks on graphs via curvaturecited by 478
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
- 2019MixHop: Higher-Order Graph Convolutional Architectures via Sparsified Neighborhood Mixingcited by 443
- 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 333
- 2024Transolver: A Fast Transformer Solver for PDEs on General Geometriescited by 326
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 320
- 2020GPT-GNN: Generative Pre-Training of Graph Neural Networkscited by 303
- 2022GraphCast: Learning skillful medium-range global weather forecastingcited by 267
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
- 2022Pure Transformers are Powerful Graph Learnerscited by 188
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 183
- 2023On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and Topologycited by 166
- 2016Accelerating Eulerian Fluid Simulation With Convolutional Networkscited by 130
- 2022MultiScale MeshGraphNetscited by 98
- 2024Transformers need glasses! Information over-squashing in language taskscited by 91
- 2022How Powerful are K-hop Message Passing Graph Neural Networkscited by 90
- 2023Attending to Graph Transformerscited by 83
- 2023Eagle: Large-Scale Learning of Turbulent Fluid Dynamics with Mesh Transformerscited by 57
- 2018tempoGAN: A Temporally Coherent, Volumetric GAN for Super-resolution Fluid Flowcited by 44
- 2021Simulating Continuum Mechanics with Multi-Scale Graph Neural Networkscited by 40
- 2022Mesh Neural Networks for SE(3)-Equivariant Hemodynamics Estimation on the Artery Wallcited by 29
- 2022MGAE: Masked Autoencoders for Self-Supervised Learning on Graphscited by 28
- 2019U-net architectures for fast prediction of incompressible laminar flowscited by 17
- 2023GNN-based physics solver for time-independent PDEscited by 11
- 2024Up-sampling-only and Adaptive Mesh-based GNN for Simulating Physical Systemscited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025TRELLIS-Enhanced Surface Features for Comprehensive Intracranial Aneurysm Analysiscited by 1
- 2026Multi-fidelity graph-based neural networks architectures to learn Navier-Stokes solutions on non-parametrized 2D domainscited by 0
- 2026Mesh Based Simulations with Spatial and Temporal awarenesscited by 0
- 2026Physics-Informed Coarsening for Multigrid Graph Neural Surrogatescited by 0
- 2026ONE CYLinder: A Benchmark for Graph-Based Surrogate Modeling of Unsteady Bluff-Body Flowscited by 0
- 2026ONE CYLinder: A Benchmark for Graph-Based Surrogate Modeling of Unsteady Bluff-Body Flows8 Sep 2026
- 2026Physics-Informed Coarsening for Multigrid Graph Neural Surrogates29 May 2026
- 2026Mesh Based Simulations with Spatial and Temporal awareness2 May 2026
- 2026Multi-fidelity graph-based neural networks architectures to learn Navier-Stokes solutions on non-parametrized 2D domains5 Jan 2026
- 2025TRELLIS-Enhanced Surface Features for Comprehensive Intracranial Aneurysm Analysis3 Sep 2025