Functional Attention: From Pairwise Affinities to Functional Correspondences

Jiefang Xiao, Maolin Gao, Simon Weber, Guandao Yang, Daniel Cremers
5/29/2026
2 citations
cs.LG

Official code: xjffff/FUNCATTN (60 stars).

Abstract

Learning mappings between infinite-dimensional function spaces, or operator learning, is essential for many machine learning applications. Although transformer-based operators are popular, they often rely on token-wise attention.

Show full abstract

These methods treat continuous fields as discrete tokens and usually ignore the global functional structure. We introduce \emph{Functional Attention}, which reinterprets attention as a functional correspondence between adaptive bases. Inspired by geometric functional maps, our method replaces softmax affinities with structured linear operators. This yields a compact, generalizable, resolution-invariant representation that explicitly captures global dependencies. Experiments demonstrate that \emph{Functional Attention} can match state-of-the-art performance in many operator learning tasks, including solving PDEs, 3D segmentation, and regression, while remaining robust to varying discretizations. Project page is available at https://github.com/xjffff/FUNCATTN.

View on arXivView PDF

Code Implementations(1)

xjffff/FUNCATTNOfficial100%

Functional Attention: From Pairwise Affinities to Functional Correspondences

604

Similar Papers

Cite this paper

@article{xiao2026functional,
  title  = {Functional Attention: From Pairwise Affinities to Functional Correspondences},
  author = {Jiefang Xiao and Maolin Gao and Simon Weber and Guandao Yang and Daniel Cremers},
  year   = {2026},
  eprint = {2605.31559},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.31559v1}
}

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

Discussion