AttnPINNs: Physics-Informed Neural Networks under the Self-Attention Mechanism for Solving Partial Differential Equations

Abstract. Physics-informed neural networks (PINNs) have been widely applied in solving various physical models, including partial differential equations (PDEs). However, they have a considerable probability of failure when simulating dynamical systems with multiscale, high-frequency, or chaotic behaviors. The possible reason might be that the majority of PINNs methodologies regard space and time as a unified entity, thereby neglecting temporal dependencies across previous or subsequent time steps. In this paper, an advanced network structure, referred to as AttnPINNs, is proposed by stacking self-attention blocks behind a pretrained PINN. We introduce a sequence operator to transform the inputs from spatio-temporal points into sequential formats and a self-attention layer to capture the correlation of solution sequences. Furthermore, we provide a rigorous proof of convergence, indicating that merely the introduction of self-attention blocks is sufficient to bring about significant performance improvements by comparing the AttnPINNs with other advanced architectures (e.g., PINNs, QRes, first-layer sine, and PINNsFormer). Meanwhile, the numerical experiment results show that AttnPINNs method demonstrates superior performance and outperforms most of the other strategies on a wide range of PDEs, the solutions of which tend to have abrupt changes or exhibit multiscale, high-frequency, and chaotic properties.

Authors

Institutions

Publication Details

Journal
SIAM Journal on Scientific Computing
Published
2026-07-16
DOI
https://doi.org/10.1137/24m1706670
Primary Topic
Model Reduction and Neural Networks
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AttnPINNs: Physics-Informed Neural Networks under the Self-Attention Mechanism for Solving Partial Differential Equations

Zhenya Yan, Jin Song
SIAM Journal on Scientific Computing
Model Reduction and Neural Networks
article

AttnPINNs: Physics-Informed Neural Networks under the Self-Attention Mechanism for Solving Partial Differential Equations

Zhenya Yan, Jin Song
article en

Abstract

Abstract. Physics-informed neural networks (PINNs) have been widely applied in solving various physical models, including partial differential equations (PDEs). However, they have a considerable probability of failure when simulating dynamical systems with multiscale, high-frequency, or chaotic behaviors. The possible reason might be that the majority of PINNs methodologies regard space and time as a unified entity, thereby neglecting temporal dependencies across previous or subsequent time steps. In this paper, an advanced network structure, referred to as AttnPINNs, is proposed by stacking self-attention blocks behind a pretrained PINN. We introduce a sequence operator to transform the inputs from spatio-temporal points into sequential formats and a self-attention layer to capture the correlation of solution sequences. Furthermore, we provide a rigorous proof of convergence, indicating that merely the introduction of self-attention blocks is sufficient to bring about significant performance improvements by comparing the AttnPINNs with other advanced architectures (e.g., PINNs, QRes, first-layer sine, and PINNsFormer). Meanwhile, the numerical experiment results show that AttnPINNs method demonstrates superior performance and outperforms most of the other strategies on a wide range of PDEs, the solutions of which tend to have abrupt changes or exhibit multiscale, high-frequency, and chaotic properties.

SIAM Journal on Scientific ComputingVol. 48(4)
Academy of Mathematics and Systems Science (CN), University of Chinese Academy of Sciences (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 8%
Model Reduction and Neural Networks
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.