Stability of Measure-to-Measure Transformers on Sub-Gaussian Data
Frank Cole, Nicholas H. Nelsen, Takashi Furuya
Key points
From the paper's conclusion- Together, these results provide a firm stability and finite-sample theory for transformers on sub-Gaussian data.
Abstract
Transformers have exhibited impressive empirical success across various domains, but their theoretical foundations remain less developed. This work constitutes a mathematical study of the measure-to-measure operators defined by transformers. We show that transformers map sub-Gaussian inputs to sub-Gaussian outputs; this ensures that taking arbitrary-length compositions of the softmax operator is well-defined. We then show that transformers are H\"older continuous with respect to the 1-Wasserstein distance on appropriate spaces of sub-Gaussian inputs. This allows us to establish estimates on the error propagation along a transformer between a sub-Gaussian input and its empirical approximation. We also study a mean-field analog of the cross-attention mechanism, which is an operator from a pair of probability measures to a single probability measure. We show that cross-attention exhibits different H\"older regularity and sample-complexity in its two input arguments. Last, we apply our results to deduce approximation guarantees for measure-to-measure transformers. Together, these results provide a firm stability and finite-sample theory for transformers on sub-Gaussian data.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Universality and Generalization of Causal Transformers Across Context LengthsarXiv · 2026
- Quantitative Generalization Bounds for Multi-Layer Transformers: A Few Long Strings can Beat Many Short OnesarXiv · 2026
- VC Dimension and Expressivity of Real-Valued TransformersarXiv · 2026
- All roads lead to Markov kernel networks: A representation theorem for discretization-stable learningarXiv · 2026
- Universal Approximation of Measure-to-Measure Operators by PushforwardsarXiv · 2026
- Dynamic Model of Attention in TransformersDigital Solutions and Artificial Intelligence Technologies · 2026