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

Paul Garnier, Jonathan Viquerat, Elie Hachem
9/18/2024
cs.LGcs.CE

Official code: DonsetPG/multigrid-gnn (7 stars, last commit 2024-09-18). 1 more implementation below.

Abstract

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.

View on arXivView PDF

Code Implementations(2)

Code and datasets for the paper "Multi-Grid Graph Neural Networks with Self-Attention for Computational Mechanics"

72Shell, MakefileSep 18, 20242 years ago

This repo lets you train GNN (MeshGraphNet, transformers, etc) to simulate physics on unstructured grids like meshes.

5217Shell, PythonOct 10, 20246 months ago
gnnmlphysics-simulation

Similar Papers

Cite this paper

@article{garnier2024multigrid,
  title  = {Multi-Grid Graph Neural Networks with Self-Attention for Computational Mechanics},
  author = {Paul Garnier and Jonathan Viquerat and Elie Hachem},
  year   = {2024},
  eprint = {2409.11899},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.11899v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.11899.svg)](https://codeofpaper.com/paper/2409.11899)

Discussion