Learning Physical Simulation with Message Passing Transformer
<|reference_start|>Learning Physical Simulation with Message Passing Transformer: Machine learning methods for physical simulation have achieved significant success in recent years. We propose a new universal architecture based on Graph Neural Network, the Message Passing Transformer, which incorporates a Message Passing framework, employs an Encoder-Processor-Decoder structure, and applies Graph Fourier Loss as loss function for model optimization. To take advantage of the past message passing state information, we propose Hadamard-Product Attention to update the node attribute in the Processor, Hadamard-Product Attention is a variant of Dot-Product Attention that focuses on more fine-grained semantics and emphasizes on assigning attention weights over each feature dimension rather than each position in the sequence relative to others. We further introduce Graph Fourier Loss (GFL) to balance high-energy and low-energy components. To improve time performance, we precompute the graph's Laplacian eigenvectors before the training process. Our architecture achieves significant accuracy improvements in long-term rollouts for both Lagrangian and Eulerian dynamical systems over current methods.<|reference_end|>
@article{xu2024learning,
    title={Learning Physical Simulation with Message Passing Transformer},
    author={Zeyi Xu and Yifei Li},
    journal={arXiv preprint arXiv:2406.06060},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.06060},
    primaryClass={cs.LG}
}