Propagation of Chaos in Contextual Flow Maps
Not on the map. Why?
Abstract (arXiv)
We develop a quantitative statistical theory of transformers in the large-context regime by adopting the abstraction of contextual flow maps (CFMs): dynamical systems that evolve a distinguished token in the presence of a contextual measure across a stack of attention blocks. Within this framework, the finite-context model approximates an idealized infinite-context system in which the contextual measure is replaced by its underlying population, so that the context length n becomes a statistical resource. Exploiting the McKean--Vlasov structure of the dynamics and the classical machinery of propagation of chaos, we establish a forward bound controlling the deviation between the finite- and infinite-context CFMs uniformly along depth, and a backward bound controlling the deviation between the corresponding training trajectories uniformly across iterations of online gradient descent. Both bounds achieve the optimal Wasserstein rate n-1/d for general CFMs and parametric rate n-1/2 for a restricted class of CFMs that includes transformers as a special case. The analysis rests on a new Eulerian adjoint formulation of the loss gradient and stability estimates for the resulting forward--adjoint system, both of which may be of independent interest.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 42 of its 63 references that are in the map. First posted on arXiv 16 May 2026.
Builds on
42 of 63 references.
References · 42
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
- 2018A Mean Field View of the Landscape of Two-Layers Neural Networkscited by 466
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
- 2017Stable Architectures for Deep Neural Networkscited by 341
30 more
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 298
- 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
- 2020A Mathematical Theory of Attentioncited by 46
- 2024Dynamic metastability in the self-attention modelcited by 46
- 2024Transformers are Universal In-context Learnerscited by 43
- 2024Emergence of meta-stable clustering in mean-field transformer modelscited by 39
- 2025A Unified Perspective on the Dynamics of Deep Transformerscited by 32
- 2023Sumformer: Universal Approximation for Efficient Transformerscited by 30
- 2025The Mean-Field Dynamics of Transformerscited by 30
- 2024Measure-to-measure interpolation using Transformerscited by 29
- 2025Quantitative Clustering in Mean-Field Transformer Modelscited by 26
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 25
- 2025In-Context Learning Is Provably Bayesian Inference: A Generalization Theory for Meta-Learningcited by 22
- 2025Critical attention scaling in long-context transformerscited by 20
- 2025The Hidden Width of Deep ResNets: Tight Error Bounds and Phase Diagramcited by 17
- 2026ResNets of All Shapes and Sizes: Convergence of Training Dynamics in the Large-scale Limitcited by 10
- 2026Perceptrons and localization of attention's mean-field landscapecited by 8
- 2026Efficient and Minimax Optimal In-context Nonparametric Regression with Transformerscited by 7
- 2025Attention's forward pass and Frank-Wolfecited by 6
- 2026Approximation Theory for Lipschitz Continuous Transformerscited by 5
- 2025Propagation of Chaos in One-hidden-layer Neural Networks beyond Logarithmic Timecited by 4
- 2026Transformers as Measure-Theoretic Associative Memory: A Statistical Perspective and Minimax Optimalitycited by 4
- 2025Softmax as Linear Attention in the Large-Prompt Regime: a Measure-based Perspectivecited by 3
- 2026Separating Geometry from Probability in the Analysis of Generalizationcited by 3
- 2026Scaling Limits of Long-Context Transformerscited by 3
- 2021Necessary Optimality Conditions for Optimal Control Problems in Wasserstein Spacescited by 2
- 2026Multi-layer Cross-attention is Provably Optimal for Multi-modal In-context Learningcited by 2
- 2026Uniform-in-time concentration in two-layer neural networks via transportation inequalitiescited by 2
Built on by
Citing papers per year: 2026: 3.
3 papers.