Function graph transformers universally approximate operators between function spaces
Takashi Furuya ⋅ S David Mis ⋅ Ivan Dokmanić ⋅ Maarten V. de Hoop ⋅ Matti Lassas
Abstract
We study the approximation of nonlinear operators between function spaces by transformers. Our approach is to lift functions to measures supported on their graphs and leverage a recently introduced measure-theoretic view of transformers. A function $h$ is represented by its graph measure $\gamma_h$, while finite tokens $\{(x_j,h(x_j))\}_{j=1}^N$ provide empirical approximations of this measure. We show that this framework naturally describes discretization refinement through convergence of measures and provides a setting for operator learning. Within this framework, we introduce \emph{function-graph preserving maps}, a structured class of measure maps that send graph measures to graph measures, ensuring that outputs remain single-valued functions. Crucially, this additional structure does not reduce generality: we prove that the resulting function-graph preserving maps can be approximated by finite compositions of standard softmax self-attention layers and pointwise MLPs, yielding universal approximation results for broad classes of nonlinear operators. Unlike existing theoretical approaches to operator learning with transformers, the measure-theoretic framework also accommodates bounded rough inputs in negative-order Sobolev topologies through regularization, for which discretization invariance is particularly challenging, as well as query points on different output domains. Overall, function-graph preserving maps provide a continuum viewpoint and a mathematical toolkit for transformer-based operator learning, clarifying the roles of positional encodings, graph structure, and regularization in ensuring consistency across discretizations.
Successful Page Load