arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.06060cs.LG
收藏

使用消息传递Transformer学习物理模拟

Learning Physical Simulation with Message Passing Transformer

Shanghai University(上海大学);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室)

Zeyi Xu, Yifei Li

AI总结:

本文提出消息传递Transformer架构,结合Hadamard-Product Attention和Graph Fourier Loss,在拉格朗日与欧拉动力学系统的长期物理模拟中显著提升精度。

摘要:

近年来,用于物理模拟的机器学习方法取得了显著成功。我们提出了一种基于图神经网络的新型通用架构——Message Passing Transformer,该架构融合了消息传递框架,采用编码器-处理器-解码器结构,并应用Graph Fourier Loss作为模型优化的损失函数。为了利用过去消息传递状态信息,我们提出Hadamard-Product Attention来更新处理器中的节点属性,Hadamard-Product Attention是Dot-Product Attention的一种变体,它关注更细粒度的语义,并强调在每一个特征维度上分配注意力权重,而不是在序列中每个位置相对于其他位置分配注意力权重。我们进一步引入Graph Fourier Loss(GFL)来平衡高能量和低能量分量。为了提高时间性能,我们在训练过程之前预先计算图的拉普拉斯特征向量。我们的架构在拉格朗日动力学系统和欧拉动力学系统的长期推演中,相比当前方法取得了显著的精度提升。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑