Skip to content

Spatial sliding-window attention for learning solution operators of partial differential equations

Sep 2026 · Physica Scripta · Vol 101, pp. 386004 · 0 citations · 34 references
Physics

TL;DR

The sliding-window mechanism is best interpreted as a controllable spatial-locality mechanism rather than a uniformly more efficient replacement for standard Galerkin attention.

Abstract

This paper studies a spatial sliding-window attention mechanism for learning solution operators of partial differential equations in a data-driven setting. The mechanism is formulated as an explicit spatial-locality bias that retains only nearby interactions and avoids materializing the full spatial score matrix. We derive an output perturbation bound governed by the discarded off-window score energy and establish a separate conditional residual-stability estimate under a discrete inf–sup assumption. Experiments on the one-dimensional Burgers equation and the two-dimensional Navier–Stokes equations compare sliding-window attention with an explicit dense spatial-score control and established operator-learning baselines. Separate fixed-weight forward and gradient tests confirm that the explicit dense and standard reassociated evaluations of unmasked Galerkin attention agree to floating-point precision. A two-dimensional feasibility test further shows that the standard reassociated implementation runs at both tested resolutions. Overall, the results reveal a problem- and resolution-dependent trade-off between prediction accuracy and computational resource utilization. The sliding-window mechanism is thus best interpreted as a controllable spatial-locality mechanism rather than a uniformly more efficient replacement for standard Galerkin attention.

View source

Similar papers

#artificial intelligence Preprint Sep 2026

Cluster Attention Neural Operators for Solving Parametric Partial Differential Equations

Traditional simulations of parametric partial differential equations (PDEs) rely on repetitive computations for each parameter, which makes high-fidelity design impractical. Neural operators address this issue by learning solution operators, accelerating parameter-space mapping by orders of magnitude. Recent Transforme...

Ming Zhong, A. Colanera, G. Rozza et al. · 0 citations
Open access Sep 2026

Two-stage projection physics-informed neural networks for preserving conservation laws

Physics-informed neural networks (PINNs) can attain small residuals for partial differential equations while drifting from global invariants. We separate residual-based training from invariant enforcement: a standard PINN is trained first, and its output is then projected onto a selected invariant manifold at inference...

Xue-Wen Shen, Han-Ran Song, Li-Pu Zhang · 0 citations
#artificial intelligence Preprint Sep 2026

Attention Is All You Need (to Avoid Spurious Oscillations)

Can attention move a shock across several cells in one update without breaking it? We develop a conservative, fixed grid finite-volume scheme in which a CFL-conditioned attention flux selects upstream information according to the transport required by the current time step. One-dimensional inviscid Burgers transport is...

Jinyoung Jeong, Joseph B. Choi, Xin-Lun Cheng et al. · 0 citations
Preprint Oct 2026

NAGO: Noise-Aware Generative Operator via Flow Matching

We introduce NAGO, a noise-aware generative operator for efficient sampling from invariant measures of stochastic partial differential equations (SPDEs) in function space. Our central idea is to treat the source measure as a design variable rather than a fixed Gaussian default. We establish admissibility conditions for...

Guan-Yu Chen, Sheng-Ze Xu, Peng-Wei Liu et al. · 0 citations
#machine learning Preprint Oct 2026

Adaptive Randomized Neural Networks for PDEs: Structure-Aware Feature Redistribution and Residual-Driven Block Enrichment

This work proposes SFRBE--RaNN, a two-stage adaptive trial-space construction that combines safeguarded SFR with RBE capture factors to derive a finite-horizon error bound involving baseline best approximation and empirical consistency, together with a conditional random-search success-probability bound.

Yang You, Fei Wang · 0 citations
Oct 2026

Learning approximate solutions of partial differential equations within the physics-informed framework

Variants of Physics-informed neural networks (PINNs) often treat neural networks as the main solution representation, yet solutions are encoded implicitly in high-dimensional weights, making training behavior and outcomes difficult to predict or analyze across different partial differential equation (PDE) settings. In...

Kai-Wei Cong, Shuang-Qing Chen, Bing Guan · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.