Papers › Multi-Grid Graph Neural Networks with Self-Attention for Computational Mechanics

Multi-Grid Graph Neural Networks with Self-Attention for Computational Mechanics

18 Sep 2024arXiv:2409.11899archive 2025-07-28

Paul Garnier, Jonathan Viquerat, Elie Hachem

Advancement in finite element methods have become essential in various disciplines, and in particular for Computational Fluid Dynamics (CFD), driving research efforts for improved precision and efficiency. While Convolutional Neural Networks (CNNs) have found success in CFD by mapping meshes into images, recent attention has turned to leveraging Graph Neural Networks (GNNs) for direct mesh processing. This paper introduces a novel model merging Self-Attention with Message Passing in GNNs, achieving a 15\% reduction in RMSE on the well known flow past a cylinder benchmark. Furthermore, a dynamic mesh pruning technique based on Self-Attention is proposed, that leads to a robust GNN-based multigrid approach, also reducing RMSE by 15\%. Additionally, a new self-supervised training method based on BERT is presented, resulting in a 25\% RMSE reduction. The paper includes an ablation study and outperforms state-of-the-art models on several challenging datasets, promising advancements similar to those recently achieved in natural language and image processing. Finally, the paper introduces a dataset with meshes larger than existing ones by at least an order of magnitude. Code and Datasets will be released at https://github.com/DonsetPG/multigrid-gnn.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2409.11899")

Code

Syntology Ran 8 of 11 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

DonsetPG/graph-physics officialmentioned on GitHubjax report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 8 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8ran
3unverified

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from DonsetPG/graph-physics. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_mlp DonsetPG/graph-physics/graphphysics/models/layers.py official repository ran no licence file found · pointer only · 25a255d963e8bfd3 · report
compute_k_hop_edge_index DonsetPG/graph-physics/graphphysics/utils/torch_graph.py official repository ran no licence file found · pointer only · 717abf83d19cc698 · report
compute_k_hop_edge_index DonsetPG/graph-physics/jraphphysics/utils/jax_graph.py official repository ran no licence file found · pointer only · 9982483381d0cc3b · report
compute_k_hop_graph DonsetPG/graph-physics/graphphysics/utils/torch_graph.py official repository ran no licence file found · pointer only · 6931b654c23f3caa · report
face_to_edge DonsetPG/graph-physics/jraphphysics/utils/jax_graph.py official repository ran no licence file found · pointer only · 70fdb4963631a8e6 · report
gumbel_softmax DonsetPG/graph-physics/graphphysics/models/transolver.py official repository ran fingerprinted no licence file found · pointer only · 967c2eda827a1708 · report
scaled_dot_product_attention DonsetPG/graph-physics/jraphphysics/models/layers.py official repository ran no licence file found · pointer only · 417486e192f1d2e2 · report
scaled_query_key_softmax DonsetPG/graph-physics/graphphysics/models/layers.py official repository ran no licence file found · pointer only · b23c55917991bfbd · report
build_gated_mlp DonsetPG/graph-physics/graphphysics/models/layers.py official repository unverified no licence file found · pointer only · 31946da23612882b · report
create_subgraphs DonsetPG/graph-physics/graphphysics/utils/torch_graph.py official repository unverified no licence file found · pointer only · 717b1ddec140d3b8 · report
scaled_query_key_softmax DonsetPG/graph-physics/jraphphysics/models/layers.py official repository unverified no licence file found · pointer only · 904fc3c367b7d747 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamAttentionAttention DropoutBERTDense ConnectionsDropoutLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionPruningResidual ConnectionSoftmaxWeight DecayWordPiece

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections