A mathematical perspective on Transformers
Not on the map. Why?
Abstract (arXiv)
Transformers play a central role in the inner workings of large language models. We develop a mathematical framework for analyzing Transformers based on their interpretation as interacting particle systems, which reveals that clusters emerge in long time. Our study explores the underlying theory and offers new perspectives for mathematicians as well as computer scientists.
Key facts. Cited by 160 papers in the map (data through 7 Oct 2026). Builds on 40 of its 107 references that are in the map. First posted on arXiv 17 Dec 2023.
Builds on
40 of 107 references.
References · 40
- 2017Attention Is All You Needcited by 59,932
- 2016Layer Normalizationcited by 5,579
- 2018Neural Ordinary Differential Equationscited by 3,733
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2018A Mean Field View of the Landscape of Two-Layers Neural Networkscited by 463
- 2018On the Global Convergence of Gradient Descent for Over-parameterized Models using Optimal Transportcited by 422
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
- 2021A Survey of Transformerscited by 399
- 2017Stable Architectures for Deep Neural Networkscited by 340
- 2021DeepViT: Towards Deeper Vision Transformercited by 288
28 more
- 2021Sinkformers: Transformers with Doubly Stochastic Attentioncited by 136
- 2022Anti-Oversmoothing in Deep Vision Transformers via the Fourier Domain Analysis: From Theory to Practicecited by 136
- 2023The emergence of clusters in self-attention dynamicscited by 133
- 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 108
- 2018Trainability and Accuracy of Neural Networks: An Interacting Particle System Approachcited by 105
- 2019Deep Learning via Dynamical Systems: An Approximation Perspectivecited by 78
- 2017Maximum Principle Based Algorithms for Deep Learningcited by 77
- 2019Approximation Capabilities of Neural ODEs and Invertible Residual Networkscited by 56
- 2021Neural ODE control for classification, approximation and transportcited by 56
- 2020A Mathematical Theory of Attentioncited by 43
- 2023Sumformer: Universal Approximation for Efficient Transformerscited by 30
- 2021Redesigning the Transformer Architecture with Insights from Multi-particle Dynamical Systemscited by 29
- 2019Deep neural networks, generic universal interpolation, and controlled ODEscited by 28
- 2023Approximation Rate of the Transformer Architecture for Sequence Modelingcited by 28
- 2019A consensus-based global optimization method for high dimensional machine learning problemscited by 23
- 2016A consensus-based model for global optimization and its mean-field limitcited by 21
- 2020A Functional Perspective on Learning Symmetric Functions with Neural Networkscited by 16
- 2023A Brief Survey on the Approximation Theory for Sequence Modellingcited by 15
- 2023Interpolation, Approximation and Controllability of Deep Neural Networkscited by 15
- 2023Deep learning probability flows and entropy production rates in active mattercited by 15
- 2018Stochastic Deep Networkscited by 13
- 2020Consensus-Based Optimization on the Sphere: Convergence to Global Minimizers and Machine Learningcited by 12
- 2018On the Landscape of Synchronization Networks: A Perspective from Nonconvex Optimizationcited by 11
- 2022Turnpike in optimal control of PDEs, ResNets, and beyondcited by 10
- 2023Introduction to Transformers: an NLP Perspectivecited by 10
- 2022Expander graphs are globally synchronizingcited by 8
- 2021A Class of Dimension-free Metrics for the Convergence of Empirical Measurescited by 5
- 2022Nonlinear controllability and function representation by neural stochastic differential equationscited by 2
Built on by
Citing papers per year: 2023: 1; 2024: 29; 2025: 60; 2026: 70.
160 papers.
Sort:
By area:
- 2025Why do LLMs attend to the first token?cited by 122
- 2024A Survey on LoRA of Large Language Modelscited by 67
- 2025Attention Sinks and Compression Valleys in LLMs are Two Sides of the Same Coincited by 47
- 2024On the Role of Attention Masks and LayerNorm in Transformerscited by 45
- 2023How Smooth Is Attention?cited by 44
- 2024Transformers are Universal In-context Learnerscited by 42
- 2024Emergence of meta-stable clustering in mean-field transformer modelscited by 35
- 2024Clustering in Causal Attention Maskingcited by 31
- 2024A phase transition between positional and semantic learning in a solvable model of dot-product attentioncited by 30
- 2024Measure-to-measure interpolation using Transformerscited by 28
- 2024Geometric Dynamics of Signal Propagation Predict Trainability of Transformerscited by 24
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 24
38 more
- 2025The Mean-Field Dynamics of Transformerscited by 24
- 2025Quantitative Clustering in Mean-Field Transformer Modelscited by 23
- 2024Provably learning a multi-head attention layercited by 21
- 2024Learning diffusion at lightspeedcited by 21
- 2024SINDER: Repairing the Singular Defects of DINOv2cited by 18
- 2024Synchronization on circles and spheres with nonlinear interactionscited by 17
- 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothingcited by 17
- 2025The Intrinsic Dimension of Prompts in Internal Representations of Large Language Modelscited by 17
- 2025Critical attention scaling in long-context transformerscited by 17
- 2025Attention Sinks: A 'Catch, Tag, Release' Mechanism for Embeddingscited by 16
- 2024Clustering in pure-attention hardmax transformers and its role in sentiment analysiscited by 15
- 2025Two failure modes of deep transformers and how to avoid them: a unified theory of signal propagation at initialisationcited by 15
- 2024Implicit Optimization Bias of Next-Token Prediction in Linear Modelscited by 14
- 2025Token embeddings violate the manifold hypothesiscited by 14
- 2025Understanding In-Context Learning on Structured Manifolds: Bridging Attention to Kernel Methodscited by 13
- 2024The Asymptotic Behavior of Attention in Transformerscited by 12
- 2025Learning Enhanced Ensemble Filterscited by 11
- 2025Synchronization of mean-field models on the circlecited by 10
- 2025On the Structure of Stationary Solutions to McKean-Vlasov Equations with Applications to Noisy Transformerscited by 10
- 2024Dissecting the Interplay of Attention Paths in a Statistical Mechanics Theory of Transformerscited by 9
- 2025Normalization in Attention Dynamicscited by 9
- 2025Hierarchical Refinement: Optimal Transport to Infinity and Beyondcited by 8
- 2025Optimal Control for Transformer Architectures: Enhancing Generalization, Robustness and Efficiencycited by 8
- 2024Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamicscited by 7
- 2024Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysiscited by 7
- 2024Universal Approximation of Mean-Field Models via Transformerscited by 7
- 2024Low-Rank Optimal Transport through Factor Relaxation with Latent Couplingcited by 7
- 2025OT-Transformer: A Continuous-time Transformer Architecture with Optimal Transport Regularizationcited by 7
- 2025Optimizing Rank for High-Fidelity Implicit Neural Representationscited by 7
- 2026Perceptrons and localization of attention's mean-field landscapecited by 7
- 2025Multistability of Self-Attention Dynamics in Transformerscited by 6
- 2025Attention-Only Transformers via Unrolled Subspace Denoisingcited by 5
- 2025Linear Attention with Global Context: A Multipole Attention Mechanism for Vision and Physicscited by 5
- 2025Transformers through the lens of support-preserving maps between measurescited by 5
- 2025Optimal and Diffusion Transports in Machine Learningcited by 5
- 2026Clustering in Deep Stochastic Transformerscited by 5
- 2026Latent Semantic Manifolds in Large Language Modelscited by 5
- 2026Dynamics of the Transformer Residual Stream: Coupling Spectral Geometry to Network Topologycited by 5
50 most cited of 160 All 160 (JSON)
- 2026Leaner Transformers Can Easily Learn to Cluster7 Oct 2026
- 2026Langevin-Informed Transfer Learning: Replacing Target Samples by Black-Box Feedback1 Oct 2026
- 2026Attention Kernels for Learning Maps Between Heavy-Tailed Measures30 Sep 2026
- 2026The Role of Feed-Forward Layers in Transformer Dynamics28 Sep 2026
- 2026Universal Approximation of Measure-to-Measure Operators by Pushforwards28 Sep 2026
- 2026Sharp Convergence of Wasserstein Gradient Flows for Spectrally Nonnegative Interaction Energies22 Sep 2026
- 2026Opinion Leader Dynamics: How Sparse Attention Shapes Token Clustering21 Sep 2026
- 2026The Attention Within: Consensus Dynamics in Selective State Space Models16 Sep 2026
- 2026Stochastic Gradient Descent over P211 Sep 2026
- 2026Measuring Optimal Transport in Transformer Depth1 Sep 2026
- 2026The Depth Flow of Token Representations Is Nonlinear and Does Not Descend Its Own Density30 Aug 2026
- 2026Steering Recurrent Reasoners at Inference Time with Readout Feedback25 Aug 2026
38 more
- 2026Random Quadratic Form with random forcing: Metastable synchronization by noise17 Aug 2026
- 2026Measuring Semantic Abstractness of SAE Features via Nonlocality11 Aug 2026
- 2026Is This Your Final Answer? Cross-Contextual Consistency as a Measure of LLM Credibility10 Aug 2026
- 2026Clustered Attractor Manifolds and Dynamical Condensation in Self-Attention9 Aug 2026
- 2026Feed-Forward Steering in Transformer Residual Dynamics3 Aug 2026
- 2026Generalization Bounds on Optimal Control for Transformer Training and Wasserstein Distributional Robustness30 Jul 2026
- 2026Self-Attention Dynamics with Rotary Position Embeddings: Twisted States and Explicit Consensus Rates on the Sphere27 Jul 2026
- 2026Interior interpretability with attention rollout: contraction and propagation profiles in Transformers24 Jul 2026
- 2026Wasserstein Residuals: Learning Gradient Flows from Population Dynamics6 Jul 2026
- 2026The risk of KV cache compression1 Jul 2026
- 2026A First-Order Mean Field Control Analysis of Transformer Layers under Cross-Entropy Training22 Jun 2026
- 2026Score Approximation for Diffusion Models on Arbitrary Low-Dimensional Structures18 Jun 2026
- 2026Attention as Frustrated Synchronization17 Jun 2026
- 2026Attention is Just Another Name for Coupling? A Fast-Slow ODE Perspective on Hierarchical Pretraining15 Jun 2026
- 2026Kuramoto Attention: Synchronizing Self-Attention on the Torus10 Jun 2026
- 2026Phase transitions for the noisy transformer model in arbitrary dimension3 Jun 2026
- 2026The Devil is in the Spectrum: Mitigating Representation Collapse in LLMs via Topologically Regularized Side-Path2 Jun 2026
- 2026Resonant Context Anchoring: Decoupling Attention Routing and Signal Gain at Inference Time1 Jun 2026
- 2026Reachability and asymptotics of Gaussian Transformer dynamics29 May 2026
- 2026Anti Mode-Collapse in Mean-Field Transformer via Auxiliary Variables28 May 2026
- 2026Measure-to-measure Regression with Transformers27 May 2026
- 2026Analogies between Transformer Layers and Power Method25 May 2026
- 2026Polynomial Context-Truncation Sensitivity in Autoregressive Language Models: Sequential Wyner-Ziv Bounds for KV Cache Compression24 May 2026
- 2026Uniform-in-Time Weak Propagation-of-Chaos in Shallow Neural Networks21 May 2026
- 2026Post-Hoc Understanding of Metaphor Processing in Decoder-Only Language Models via Conditional Scale Entropy20 May 2026
- 2026Function graph transformers universally approximate operators between function spaces18 May 2026
- 2026InfoFlow: A Framework for Multi-Layer Transformer Analysis18 May 2026
- 2026Propagation of Chaos in Contextual Flow Maps16 May 2026
- 2026Multi-Headed Transformer Architectures as Time-dependent Wasserstein Gradient Flows15 May 2026
- 2026Transformer-like Inference from Optimal Control15 May 2026
- 2026Dynamics of the Transformer Residual Stream: Coupling Spectral Geometry to Network Topology14 May 2026
- 2026A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attention12 May 2026
- 2026Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regime11 May 2026
- 2026The Transformer as a Polar State Estimator10 May 2026
- 2026Scaling Limits of Long-Context Transformers8 May 2026
- 2026One Operator for Many Densities: Amortized Approximation of Conditioning by Neural Operators7 May 2026
- 2026When Does a Language Model Commit? A Finite-Answer Theory of Pre-Verbalization Commitment7 May 2026
- 2026Safety Anchor: Defending Harmful Fine-tuning via Geometric Bottlenecks7 May 2026
50 newest of 160 All 160 (JSON)
- 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothingcited by 17
- 2024Demystifying the Token Dynamics of Deep Selective State Space Modelscited by 1
- 2025Context-Selective State Space Models: Feedback is All You Needcited by 1
- 2026The Attention Within: Consensus Dynamics in Selective State Space Modelscited by 0
- 2026The Attention Within: Consensus Dynamics in Selective State Space Models16 Sep 2026
- 2025Context-Selective State Space Models: Feedback is All You Need15 Oct 2025
- 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing31 Dec 2024
- 2024Demystifying the Token Dynamics of Deep Selective State Space Models4 Oct 2024
- 2026Score Approximation for Diffusion Models on Arbitrary Low-Dimensional Structurescited by 1
- 2024Mixing Artificial and Natural Intelligence: From Statistical Mechanics to AI and Back to Turbulencecited by 0
- 2026Langevin-Informed Transfer Learning: Replacing Target Samples by Black-Box Feedbackcited by 0
- 2026Langevin-Informed Transfer Learning: Replacing Target Samples by Black-Box Feedback1 Oct 2026
- 2026Score Approximation for Diffusion Models on Arbitrary Low-Dimensional Structures18 Jun 2026
- 2024Mixing Artificial and Natural Intelligence: From Statistical Mechanics to AI and Back to Turbulence26 Mar 2024
- 2025Why do LLMs attend to the first token?cited by 122
- 2024A Survey on LoRA of Large Language Modelscited by 67
- 2025Attention Sinks and Compression Valleys in LLMs are Two Sides of the Same Coincited by 47
- 2024On the Role of Attention Masks and LayerNorm in Transformerscited by 45
- 2023How Smooth Is Attention?cited by 44
- 2024Transformers are Universal In-context Learnerscited by 42
- 2024Emergence of meta-stable clustering in mean-field transformer modelscited by 35
- 2024Clustering in Causal Attention Maskingcited by 31
- 2024A phase transition between positional and semantic learning in a solvable model of dot-product attentioncited by 30
- 2024Measure-to-measure interpolation using Transformerscited by 28
- 2024Geometric Dynamics of Signal Propagation Predict Trainability of Transformerscited by 24
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 24
12 most cited of 148 All 148 (JSON)
- 2026Leaner Transformers Can Easily Learn to Cluster7 Oct 2026
- 2026Attention Kernels for Learning Maps Between Heavy-Tailed Measures30 Sep 2026
- 2026The Role of Feed-Forward Layers in Transformer Dynamics28 Sep 2026
- 2026Universal Approximation of Measure-to-Measure Operators by Pushforwards28 Sep 2026
- 2026Sharp Convergence of Wasserstein Gradient Flows for Spectrally Nonnegative Interaction Energies22 Sep 2026
- 2026Opinion Leader Dynamics: How Sparse Attention Shapes Token Clustering21 Sep 2026
- 2026Stochastic Gradient Descent over P211 Sep 2026
- 2026Measuring Optimal Transport in Transformer Depth1 Sep 2026
- 2026The Depth Flow of Token Representations Is Nonlinear and Does Not Descend Its Own Density30 Aug 2026
- 2026Steering Recurrent Reasoners at Inference Time with Readout Feedback25 Aug 2026
- 2026Random Quadratic Form with random forcing: Metastable synchronization by noise17 Aug 2026
- 2026Is This Your Final Answer? Cross-Contextual Consistency as a Measure of LLM Credibility10 Aug 2026
12 newest of 148 All 148 (JSON)