When Attention Beats Fourier: Multi-Scale Transformers for PDE Solving on Irregular Domains

Brandon Yee, Pairie Koh, Jack Rodriguez, Mihir Tekal
5/8/2026
cs.LGcs.AImath.NA
transformer-attentionstate-space-mamba

No confident code implementation found for this paper.

Abstract

We study the problem of \emph{architecture selection} for deep learning models trained to solve partial differential equations (PDEs), asking when transformer-based architectures with learned attention outperform Fourier-domain neural operators. We introduce the \textbf{Multi-Scale Attention Transformer} (\msat{}), a deep learning architecture that encodes spatiotemporal solution histories as token sequences and trains end-to-end via a composite supervised objective with optional physics-informed regularization terms.

Show full abstract

We conduct a comprehensive empirical evaluation against nine baselines -- including physics-informed neural networks (PINNs), neural operators (FNO, DeepONet, GNOT), and state-space models (Mamba-NO) -- across five benchmark problems from the PINNacle suite, using identical train/test splits and reference data for all methods. \msat{} achieves state-of-the-art generalization on complex geometry problems ($L^2_\mathrm{rel} = 0.0101$ on Heat2D-CG, a $3.7\times$ improvement over FNO) at $34\,\mathrm{s}$ total inference vs.\ $120{,}812\,\mathrm{s}$ for Mamba-NO. Ablation studies over the physics regularization component reveal a precise inductive bias tradeoff: physics priors reduce test error on diffusion-dominated problems but degrade generalization on chaotic and recirculating-flow regimes, directly characterizing the prior misspecification boundary. Approximation error bounds as a function of domain boundary complexity $κ$ provide a theoretical basis for these empirical findings and a principled rule for architecture selection.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yee2026when,
  title  = {When Attention Beats Fourier: Multi-Scale Transformers for PDE Solving on Irregular Domains},
  author = {Brandon Yee and Pairie Koh and Jack Rodriguez and Mihir Tekal},
  year   = {2026},
  eprint = {2605.08318},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.08318v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.08318.svg)](https://codeofpaper.com/paper/2605.08318)

Discussion