Physics-Guided Transformer (PGT): Physics-Aware Attention Mechanism for PINNs
Not on the map. Why?
Abstract (arXiv)
Reconstructing continuous physical fields from sparse, irregular observations is a central challenge in scientific machine learning, particularly for systems governed by partial differential equations (PDEs). Existing physics-informed methods typically enforce governing equations as soft penalty terms during optimization, often leading to gradient imbalance, instability, and degraded physical consistency under limited data. We introduce the Physics-Guided Transformer (PGT), a neural architecture that embeds physical structure directly into the self-attention mechanism. Specifically, PGT incorporates a heat-kernel-derived additive bias into attention logits, encoding diffusion dynamics and temporal causality within the representation. Query coordinates attend to these physics-conditioned context tokens, and the resulting features are decoded using a FiLM-modulated sinusoidal implicit network that adaptively controls spectral response. We evaluate PGT on the one-dimensional heat equation and two-dimensional incompressible Navier-Stokes systems. In sparse 1D reconstruction with 100 observations, PGT achieves a relative L2 error of 5.9e-3, significantly outperforming both PINNs and sinusoidal representations. In the 2D cylinder wake problem, PGT uniquely achieves both low PDE residual (8.3e-4) and competitive relative error (0.034), outperforming methods that optimize only one objective. These results demonstrate that embedding physics within attention improves stability, generalization, and physical fidelity under data-scarce conditions.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 30 references that are in the map. First posted on arXiv 30 Mar 2026.
Builds on
19 of 30 references.
References · 19
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,908
- 2020Implicit Neural Representations with Periodic Activation Functionscited by 2,238
- 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,200
- 2019DeepONet: Learning nonlinear operators for identifying differential equations based on the universal approximation theorem of operatorscited by 2,018
- 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,358
- 2016Group Equivariant Convolutional Networkscited by 1,165
- 2020Learning Mesh-Based Simulation with Graph Networkscited by 868
- 2020Neural Operator: Graph Kernel Network for Partial Differential Equationscited by 734
- 2017DGM: A deep learning algorithm for solving partial differential equationscited by 678
- 2021Characterizing possible failure modes in physics-informed neural networkscited by 643
7 more
- 2019DeepXDE: A deep learning library for solving differential equationscited by 619
- 2019Machine Learning for Fluid Mechanicscited by 385
- 2020Universal Differential Equations for Scientific Machine Learningcited by 353
- 2021Choose a Transformer: Fourier or Galerkincited by 343
- 2020Generalizing Convolutional Neural Networks for Equivariance to Lie Groups on Arbitrary Continuous Datacited by 248
- 2020Understanding and mitigating gradient pathologies in physics-informed neural networkscited by 135
- 2022Physics-Informed Deep Neural Operator Networkscited by 113
Built on by
Not cited yet.