arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.03112cs.LGcs.AInlin.CD
收藏

从复杂动力学走向 DynFormer:重新思考用于偏微分方程的 Transformer

From Complex Dynamics to DynFormer: Rethinking Transformers for PDEs

School of Aeronautics and Astronautics, Shanghai Jiao Tong University(航空宇航学院,上海交通大学)

Pengyu Lai, Yixiao Chen, Dewu Yang, Rui Wang, Feng Wang, Hui Xu

AI总结:

DynFormer 通过引入谱嵌入和局部-全局混合模块,重新设计 Transformer 架构以高效处理 PDEs 的多尺度特性,实现高精度与低内存消耗的平衡。

摘要:

偏微分方程(PDEs)是建模复杂物理系统的基础,但传统数值求解器在高维和多尺度情况下面临计算成本过高的问题。尽管基于 Transformer 的神经算子已成为强大的数据驱动替代方案,但它们通常将所有离散化的空间点视为均匀、独立的 token。这种整体方法忽略了物理场的内在尺度分离,应用了计算成本高昂的全局注意力,导致平滑的大尺度动力学与高频波动被冗余混合。通过复杂动力学的视角重新思考 Transformer,我们提出了 DynFormer,一种新的基于动力学的神经算子。与在所有尺度上应用统一的注意力机制不同,DynFormer 为不同的物理尺度分配专门的网络模块。它利用谱嵌入来隔离低频模式,使 Kronecker 结构的注意力机制能够高效捕捉大尺度的全局相互作用,同时减少复杂性。同时,我们引入了局部-全局混合转换模块。该模块利用非线性乘法频率混合来隐式重建受宏观状态约束的小尺度、快速变化的湍流 cascade,而无需承担全局注意力的成本。将这些模块整合到混合进化架构中,确保了长期时间稳定性。在四个 PDE 基准上的广泛内存对齐评估表明,DynFormer 相比于最先进的基线,相对误差减少了高达 95%,同时显著减少了 GPU 内存消耗。我们的结果表明,将原理物理动力学嵌入 Transformer 架构中,能够获得一个高度可扩展、理论上有根据的 PDE 替代建模蓝图。

英文摘要:

Partial differential equations (PDEs) are fundamental for modeling complex physical systems, yet classical numerical solvers face prohibitive computational costs in high-dimensional and multi-scale regimes. While Transformer-based neural operators have emerged as powerful data-driven alternatives, they conventionally treat all discretized spatial points as uniform, independent tokens. This monolithic approach ignores the intrinsic scale separation of physical fields, applying computationally prohibitive global attention that redundantly mixes smooth large-scale dynamics with high-frequency fluctuations. Rethinking Transformers through the lens of complex dynamics, we propose DynFormer, a novel dynamics-informed neural operator. Rather than applying a uniform attention mechanism across all scales, DynFormer explicitly assigns specialized network modules to distinct physical scales. It leverages a Spectral Embedding to isolate low-frequency modes, enabling a Kronecker-structured attention mechanism to efficiently capture large-scale global interactions with reduced complexity. Concurrently, we introduce a Local-Global-Mixing transformation. This module utilizes nonlinear multiplicative frequency mixing to implicitly reconstruct the small-scale, fast-varying turbulent cascades that are slaved to the macroscopic state, without incurring the cost of global attention. Integrating these modules into a hybrid evolutionary architecture ensures robust long-term temporal stability. Extensive memory-aligned evaluations across four PDE benchmarks demonstrate that DynFormer achieves up to a 95% reduction in relative error compared to state-of-the-art baselines, while significantly reducing GPU memory consumption. Our results establish that embedding first-principles physical dynamics into Transformer architectures yields a highly scalable, theoretically grounded blueprint for PDE surrogate modeling.

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

↑