Learning Physical Simulation with Message Passing Transformer

Zeyi Xu, Yifei Li · Submission to ICLR 2025 · Rejected

Abstract

Machine learning methods for mesh-based physical simulation have achieved significant success in recent years. We propose the Historical Message-Passing Integration Transformer (HMIT), an architecture based on Graph Neural Networks that incorporates a message passing framework and applies Graph Fourier Loss (GFL) for model optimization. To mitigate over-squashing, capture fine-grained details, and scale linearly with node count, we introduce Historical Message-Passing Attention (HMPA), which integrates multi-step historical message-passing information for each node with feature-wise softmax and employs a decoder-only architecture. Additionally, to modulate loss at specific frequencies and handle varying energy levels, we introduce GFL, which uses a frequency-domain energy adjustment schedule. To improve computational efficiency, we precompute the graph's Laplacian eigenvectors before training. Our architecture achieves significant accuracy improvements in shart- and long-term rollouts for both Lagrangian and Eulerian dynamical systems compared to current methods.
BibTeX
@misc{xu2024learning,
  author = {Zeyi Xu and Yifei Li},
  title = {{Learning Physical Simulation with Message Passing Transformer}},
  year = {2024},
  eprint = {2406.06060},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.06060},
}
Figure