Transfer learning in Scalable Graph Neural Network for Improved Physical Simulation

Siqi Shen, Yu Liu, Daniel Biggs, Omar Hafez, Jiandong Yu, Wentao Zhang, Bin Cui, Jiulong Shan · DOI

Introduction

Simulating physical phenomena, such as structural deformation or crash tests, is a cornerstone of engineering but remains computationally intensive. While Graph Neural Networks (GNNs) offer a faster alternative to traditional Finite Element Analysis (FEA), they typically require vast amounts of labeled data to achieve high fidelity. This "data hunger" often limits their practical application in scenarios where generating thousands of FEA simulations is prohibitive.

This paper introduces a novel framework to address these challenges through transfer learning. By developing a scalable architecture and a massive pre-training dataset, the authors demonstrate that GNNs can learn general physical principles and adapt to specific tasks with significantly less data.

Methodology

The SGUNET Architecture

The core of the proposed approach is SGUNET (Scalable Graph U-Net). Unlike standard GNNs that use a fixed stack of layers, SGUNET employs a U-Net-like structure consisting of encoder, processor, and decoder stages.

The SGUNET architecture featuring a U-Net structure with encoder, processor, and decoder stages.

A critical innovation within SGUNET is DFS-pooling. This strategy uses Depth-First Search to cluster nodes based on spatial proximity and material properties. This hierarchical representation allows the model to capture long-range interactions through downsampling and then reconstruct the high-resolution mesh via upsampling.

Weight Mapping for Transfer Learning

To enable transfer learning across models with different depths, the authors proposed two weight mapping functions:

  • Uniform Mapping: Distributes weights from a deeper pre-trained model evenly across the layers of a shallower target model.
  • First-N Mapping: Transfers weights from the first $N$ layers of the pre-trained model directly to the target model.
Weight mapping strategies: Uniform mapping (left) and First-N mapping (right) for transferring pre-trained weights to target models.

These strategies allow a single large-scale pre-trained model to initialize various specialized models, regardless of their specific layer counts.

Frobenius Distance Regularization

To prevent "catastrophic forgetting" during fine-tuning, a Frobenius distance penalty is added to the loss function. This term constrains the fine-tuned weights to remain close to the pre-trained weights, acting as a physical prior that ensures the model adheres to fundamental laws of physics learned during the pre-training phase.

Data and Experiments

The study introduces the ABCD (ABC Deformable) dataset, comprising 20,000 physical simulations based on 3D shapes from the "A Big CAD" (ABC) repository. This dataset serves as a foundational pre-training corpus for unstructured meshes. The model's performance was evaluated on 2D and 3D deformable plate benchmarks.

Results and Discussion

The experimental results highlight the efficiency of pre-training:

  • Data Efficiency: On 2D benchmarks, the pre-trained SGUNET outperformed the baseline MeshGraphNet while using only 1/16 of the training data, achieving an 11.05% improvement in position Root Mean Square Error (RMSE).
  • Training Speed: For 3D tasks, the pre-trained model reached baseline accuracy levels in just 40% of the time required for training from scratch.
  • Generalization: Qualitative analysis shows that fine-tuned models handle complex contact mechanics more robustly, avoiding common artifacts like mesh overlapping.

Conclusion

By combining the scalable SGUNET architecture with the ABCD dataset, this work establishes a viable path for transfer learning in physics-informed GNNs. While currently focused on quasi-static simulations, future research may extend these principles to dynamic fluid dynamics and more complex non-linear material behaviors.

Summary updated

BibTeX
@misc{shen2025transfer,
  author = {Siqi Shen and Yu Liu and Daniel Biggs and Omar Hafez and Jiandong Yu and Wentao Zhang and Bin Cui and Jiulong Shan},
  title = {{Transfer learning in Scalable Graph Neural Network for Improved Physical Simulation}},
  year = {2025},
  eprint = {2502.06848},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.06848},
}
Figure