提出高效求解多输入多尺度偏微分方程的Transformer框架
MMET: A Multi-Input and Multi-Scale Transformer for Efficient PDEs Solving
- 分离网格点与查询点,用GCE层处理不同维度输入
- 基于希尔伯特曲线重排序降低输入长度,显著减少计算开销
- 适用于工程与物理中实时求解大规模偏微分方程
偏微分方程(PDEs)是建模物理系统的基础,但基于机器学习的方法在通用性和效率上仍面临挑战,主要受限于多输入多尺度泛化能力不足及高计算成本。本文提出多输入多尺度高效Transformer(MMET),将网格点与查询点分别作为编码器和解码器的输入序列,并引入门控条件嵌入(GCE)层,以处理不同维度的输入变量或函数,有效解决多尺度与多输入问题。此外,采用基于希尔伯特曲线的重排序与块嵌入机制,大幅缩短输入序列长度,显著降低大规模几何模型下的计算成本。这些创新实现了高效表征,并支持大尺度、多输入PDE问题的多分辨率查询。在涵盖不同物理领域的多种基准测试中,MMET在准确率与计算效率上均优于现有最优方法。本工作展示了MMET在工程与物理驱动应用中实时求解PDE的潜力,为特定领域预训练大规模模型探索铺平道路。代码已开源:https://github.com/YichenLuo-0/MMET。
原文摘要 · Abstract (English)
Partial Differential Equations (PDEs) are fundamental for modeling physical systems, yet solving them in a generic and efficient manner using machine learning-based approaches remains challenging due to limited multi-input and multi-scale generalization capabilities, as well as high computational costs. This paper proposes the Multi-input and Multi-scale Efficient Transformer (MMET), a novel framework designed to address the above challenges. MMET decouples mesh and query points as two sequences and feeds them into the encoder and decoder, respectively, and uses a Gated Condition Embedding (GCE) layer to embed input variables or functions with varying dimensions, enabling effective solutions for multi-scale and multi-input problems. Additionally, a Hilbert curve-based reserialization and patch embedding mechanism decrease the input length. This significantly reduces the computational cost when dealing with large-scale geometric models. These innovations enable efficient representations and support multi-scale resolution queries for large-scale and multi-input PDE problems. Experimental evaluations on diverse benchmarks spanning different physical fields demonstrate that MMET outperforms SOTA methods in both accuracy and computational efficiency. This work highlights the potential of MMET as a robust and scalable solution for real-time PDE solving in engineering and physics-based applications, paving the way for future explorations into pre-trained large-scale models in specific domains. This work is open-sourced at https://github.com/YichenLuo-0/MMET.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。