Positional Knowledge is All You Need: Position-induced Transformer (PiT) for Operator Learning
Junfeng Chen, Kailiang Wu
TL;DR
The paper introduces a position-induced Transformer (PiT) for operator learning in PDEs, replacing self-attention with a position-attention mechanism driven by spatial sampling geometry. PiT integrates global, cross, and local position-attention in an Encoder-Processor-Decoder architecture that scales linearly with input/output mesh sizes and achieves discretization-convergent predictions on unseen meshes. Through extensive benchmarks, PiT outperforms state-of-the-art neural operators and transformer-based models, while using far fewer parameters and lower training costs; ablations confirm the importance of positional knowledge over input-value–driven attention. The work suggests a shift toward geometry-based attentions in scientific AI, with potential for zero-shot super-resolution and better generalization across mesh resolutions.
Abstract
Operator learning for Partial Differential Equations (PDEs) is rapidly emerging as a promising approach for surrogate modeling of intricate systems. Transformers with the self-attention mechanism$\unicode{x2013}$a powerful tool originally designed for natural language processing$\unicode{x2013}$have recently been adapted for operator learning. However, they confront challenges, including high computational demands and limited interpretability. This raises a critical question: Is there a more efficient attention mechanism for Transformer-based operator learning? This paper proposes the Position-induced Transformer (PiT), built on an innovative position-attention mechanism, which demonstrates significant advantages over the classical self-attention in operator learning. Position-attention draws inspiration from numerical methods for PDEs. Different from self-attention, position-attention is induced by only the spatial interrelations of sampling positions for input functions of the operators, and does not rely on the input function values themselves, thereby greatly boosting efficiency. PiT exhibits superior performance over current state-of-the-art neural operators in a variety of complex operator learning tasks across diverse PDE benchmarks. Additionally, PiT possesses an enhanced discretization convergence feature, compared to the widely-used Fourier neural operator.
