Transformers through the lens of support-preserving maps between measures
Not on the map. Why?
Abstract (arXiv)
Transformers are deep architectures that define ``in-context maps'' which enable predicting new tokens based on a given set of tokens (such as a prompt in NLP applications or a set of patches for a vision transformer). In previous work, we studied the ability of these architectures to handle an arbitrarily large number of context tokens. To mathematically, uniformly analyze their expressivity, we considered the case that the mappings are conditioned on a context represented by a probability distribution which becomes discrete for a finite number of tokens. Modeling neural networks as maps on probability measures has multiple applications, such as studying Wasserstein regularity, proving generalization bounds and doing a mean-field limit analysis of the dynamics of interacting particles as they go through the network. In this work, we study the question what kind of maps between measures are transformers. We fully characterize the properties of maps between measures that enable these to be represented in terms of in-context maps via a push forward. On the one hand, these include transformers; on the other hand, transformers universally approximate representations with any continuous in-context map. These properties are preserving the cardinality of support and that the regular part of their Fr'echet derivative is uniformly continuous. Moreover, we show that the solution map of the Vlasov equation, which is of nonlocal transport type, for interacting particle systems in the mean-field regime for the Cauchy problem satisfies the conditions on the one hand and, hence, can be approximated by a transformer; on the other hand, we prove that the measure-theoretic self-attention has the properties that ensure that the infinite depth, mean-field measure-theoretic transformer can be identified with a Vlasov flow.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 31 of its 41 references that are in the map. First posted on arXiv 30 Sep 2025.
Builds on
31 of 41 references.
References · 31
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
- 2023Trained Transformers Learn Linear Models In-Contextcited by 337
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
- 2023One Step of Gradient Descent is Provably the Optimal In-Context Learner with One Layer of Linear Self-Attentioncited by 170
- 2023A mathematical perspective on Transformerscited by 164
- 2023The emergence of clusters in self-attention dynamicscited by 140
- 2021Sinkformers: Transformers with Doubly Stochastic Attentioncited by 138
- 2023What Formal Languages Can Transformers Express? A Surveycited by 124
- 2023Uncovering mesa-optimization algorithms in Transformerscited by 100
19 more
- 2023Attending to Graph Transformerscited by 83
- 2023Tighter Bounds on the Expressivity of Transformer Encoderscited by 66
- 2022Your Transformer May Not be as Powerful as You Expectcited by 55
- 2020A Mathematical Theory of Attentioncited by 46
- 2023How Smooth Is Attention?cited by 44
- 2024Transformers are Universal In-context Learnerscited by 43
- 2025A Unified Perspective on the Dynamics of Deep Transformerscited by 32
- 2023Sumformer: Universal Approximation for Efficient Transformerscited by 30
- 2024Measure-to-measure interpolation using Transformerscited by 29
- 2024Understanding the Expressive Power and Mechanisms of Transformer for Sequence Modelingcited by 25
- 2024How do Transformers perform In-Context Autoregressive Learning?cited by 17
- 2018Stochastic Deep Networkscited by 13
- 2022Small Transformers Compute Universal Metric Embeddingscited by 12
- 2024Generic controllability of equivariant systems and applications to particle systems and neural networkscited by 9
- 2024Towards Understanding the Universality of Transformers for Next-Token Predictioncited by 9
- 2024Universal Approximation of Mean-Field Models via Transformerscited by 7
- 2014Control to flocking of the kinetic Cucker-Smale modelcited by 6
- 2024Transformers are Expressive, But Are They Expressive Enough for Regression?cited by 6
- 2021Obstructions to extension of Wasserstein distances for variable massescited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2026One Operator for Many Densities: Amortized Approximation of Conditioning by Neural Operatorscited by 4
- 2026Function graph transformers universally approximate operators between function spacescited by 2
- 2026Universal Approximation of Measure-to-Measure Operators by Pushforwardscited by 1
- 2025MALBO: Optimizing LLM-Based Multi-Agent Teams via Multi-Objective Bayesian Optimizationcited by 0
- 2026Measuring Optimal Transport in Transformer Depthcited by 0
- 2026Stability of Measure-to-Measure Transformers on Sub-Gaussian Datacited by 0
- 2026Stability of Measure-to-Measure Transformers on Sub-Gaussian Data6 Oct 2026
- 2026Universal Approximation of Measure-to-Measure Operators by Pushforwards28 Sep 2026
- 2026Measuring Optimal Transport in Transformer Depth1 Sep 2026
- 2026Function graph transformers universally approximate operators between function spaces18 May 2026
- 2026One Operator for Many Densities: Amortized Approximation of Conditioning by Neural Operators7 May 2026
- 2025MALBO: Optimizing LLM-Based Multi-Agent Teams via Multi-Objective Bayesian Optimization14 Nov 2025