Positional Knowledge is All You Need: Position-induced Transformer (PiT) for Operator Learning

Junfeng Chen, Kailiang Wu
5/15/2024
cs.LGmath.NA

No official code found. Best implementation: junfeng-chen/position_induced_transformer (26 stars, MIT, last commit 2025-06-03).

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.

View on arXivView PDF

Code Implementations(1)

MIT

PyTorch implemention of the Position-induced Transformer for operator learning in partial differential equations

261PythonMay 16, 20241 years agoMIT
ai4scienceattention-mechanismoperator-learningscientific-machine-learningsurrogate-models+1 more

Similar Papers

Cite this paper

@article{chen2024positional,
  title  = {Positional Knowledge is All You Need: Position-induced Transformer (PiT) for Operator Learning},
  author = {Junfeng Chen and Kailiang Wu},
  year   = {2024},
  eprint = {2405.09285},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.09285v1},
  journal = {ICML 2024 2024}
}

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/2405.09285.svg)](https://codeofpaper.com/paper/2405.09285)

Discussion