[Paper Review] Active learning of data-assimilation closures using Graph Neural Networks
This paper proposes a graph neural network (GNN)-based closure model for Reynolds-averaged Navier-Stokes (RANS) equations using active learning and finite element method (FEM) simulations. Trained on a small dataset of cylinder wake flows across Reynolds numbers 40–150, the GNN generalizes accurately to unseen Reynolds numbers and geometric configurations, demonstrating strong generalization with minimal data and no need for interpolation on unstructured meshes.
The spread of machine learning techniques coupled with the availability of high-quality experimental and numerical data has significantly advanced numerous applications in fluid mechanics. Notable among these are the development of data assimilation and closure models for unsteady and turbulent flows employing neural networks (NN). Despite their widespread use, these methods often suffer from overfitting and typically require extensive datasets, particularly when not incorporating physical constraints. This becomes compelling in the context of numerical simulations, where, given the high computational costs, it is crucial to establish learning procedures that are effective even with a limited dataset. Here, we tackle those limitations by developing NN models capable of generalizing over unseen data in low-data limit by: i) incorporating invariances into the NN model using a Graph Neural Networks (GNNs) architecture; and ii) devising an adaptive strategy for the selection of the data utilized in the learning process. GNNs are particularly well-suited for numerical simulations involving unstructured domain discretization and we demonstrate their use by interfacing them with a Finite Elements (FEM) solver for the supervised learning of Reynolds-averaged Navier-Stokes equations. We consider as a test-case the data-assimilation of meanflows past generic bluff bodies, at different Reynolds numbers 50>=Re>=150, characterized by an unsteady dynamics. We show that the GNN models successfully predict the closure term; remarkably, these performances are achieved using a very limited dataset selected through an active learning process ensuring the generalization properties of the RANS closure term. The results suggest that GNN models trained through active learning procedures are a valid alternative to less flexible techniques such as convolutional NN.
Motivation & Objective
- To address the overfitting and data inefficiency of standard ML models in fluid dynamics by leveraging graph neural networks (GNNs) with physical constraints.
- To develop a differentiable, mesh-adaptive closure model for RANS equations that generalizes across unseen Reynolds numbers and geometries.
- To replace data-hungry and geometry-limited models like convolutional neural networks (CNNs) with a GNN framework compatible with unstructured finite element method (FEM) meshes.
- To enable active learning of data-assimilation closures by integrating GNNs with FEM solvers for efficient, physics-informed training.
Proposed method
- The GNN architecture uses a message-passing mechanism where each node aggregates information from neighbors via learnable functions, enabling invariance to permutation and translation.
- The model is trained in a supervised manner using mean flow and Reynolds stress data from FEM simulations of cylinder wakes at 40 ≤ Re ≤ 150 on unstructured meshes.
- Node states are updated via a residual-like update rule incorporating input features (mean velocity, Re), and messages from neighbors and self-loops to preserve information across layers.
- The GNN employs a learnable relaxation weight (α) and a loss function with adaptive weighting (γ) to prioritize recent message updates and improve training stability.
- A dynamic learning rate scheduler (ReduceLROnPlateau) is used with the Adam optimizer to prevent divergence and accelerate convergence.
- Hyperparameters—including embedded dimension (18), 87 GNN layers, α=0.01, γ=0.1, and initial LR=3×10⁻³—were optimized using the Optuna library with gradient-free Bayesian optimization.
Experimental results
Research questions
- RQ1Can a GNN-based closure model generalize across unseen Reynolds numbers and geometric configurations in RANS simulations?
- RQ2How does a GNN-based approach compare to standard CNNs in terms of data efficiency and mesh adaptability on unstructured grids?
- RQ3To what extent can a GNN model trained on a small dataset of cylinder wake flows accurately predict Reynolds stresses in unseen flow regimes?
- RQ4Can the integration of GNNs with FEM solvers enable effective active learning of data-assimilation closures in fluid dynamics?
Key findings
- The GNN model successfully predicts Reynolds stresses in unseen cases with different Reynolds numbers and geometric configurations, demonstrating strong generalization despite limited training data.
- The model achieves high accuracy on unstructured meshes without requiring interpolation, unlike standard CNNs, due to the inherent mesh flexibility of GNNs.
- The optimized hyperparameter configuration (87 layers, embedded dimension 18, α=0.01, γ=0.1, LR=3×10⁻³) yielded the best performance on validation metrics.
- Boundary conditions were effectively enforced by restricting message passing to outward-only propagation from Dirichlet nodes, preserving fixed boundary values during training.
- The use of adaptive loss weighting (γ) and dynamic learning rate scheduling significantly improved training stability and convergence speed.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.