A Unified Perspective on the Dynamics of Deep Transformers
Not on the map. Why?
Abstract (arXiv)
Transformers, which are state-of-the-art in most machine learning tasks, represent the data as sequences of vectors called tokens. This representation is then exploited by the attention function, which learns dependencies between tokens and is key to the success of Transformers. However, the iterative application of attention across layers induces complex dynamics that remain to be fully understood. To analyze these dynamics, we identify each input sequence with a probability measure and model its evolution as a Vlasov equation called Transformer PDE, whose velocity field is non-linear in the probability measure. Our first set of contributions focuses on compactly supported initial data. We show the Transformer PDE is well-posed and is the mean-field limit of an interacting particle system, thus generalizing and extending previous analysis to several variants of self-attention: multi-head attention, L2 attention, Sinkhorn attention, Sigmoid attention, and masked attention--leveraging a conditional Wasserstein framework. In a second set of contributions, we are the first to study non-compactly supported initial conditions, by focusing on Gaussian initial data. Again for different types of attention, we show that the Transformer PDE preserves the space of Gaussian measures, which allows us to analyze the Gaussian case theoretically and numerically to identify typical behaviors. This Gaussian analysis captures the evolution of data anisotropy through a deep Transformer. In particular, we highlight a clustering phenomenon that parallels previous results in the non-normalized discrete case.
Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). First posted on arXiv 30 Jan 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 14; 2026: 16.
30 papers.
Sort:
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 24
- 2025The Mean-Field Dynamics of Transformerscited by 24
- 2025Quantitative Clustering in Mean-Field Transformer Modelscited by 23
- 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
- 2026Perceptrons and localization of attention's mean-field landscapecited by 7
- 2025Accelerated Stein Variational Gradient Flowcited 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
- 2026Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regimecited by 4
18 more
- 2025Token Sample Complexity of Attentioncited by 3
- 2025Softmax as Linear Attention in the Large-Prompt Regime: a Measure-based Perspectivecited by 3
- 2026An Optimal Control Approach To Transformer Trainingcited by 3
- 2026Propagation of Chaos in Contextual Flow Mapscited by 2
- 2025Preconditioned Regularized Wasserstein Proximal Samplingcited by 1
- 2025Sparse Transformer Architectures via Regularized Wasserstein Proximal Operator with L1 Priorcited by 1
- 2026On the global convergence of gradient flow for wide shallow models beyond homogeneous nonlinearitiescited by 1
- 2026Measure-to-measure Regression with Transformerscited by 1
- 2025Dual Filter: A Transformer-like Inference Architecture for Hidden Markov Modelscited by 0
- 2026SympFormer: Accelerated attention blocks via Inertial Dynamics on Density Manifoldscited by 0
- 2026Kinetic theory for Transformers and the lost-in-the-middle phenomenoncited by 0
- 2026Transformer-like Inference from Optimal Controlcited by 0
- 2026Attention-based PCAcited by 0
- 2026Multi-Headed Transformer Architectures as Time-dependent Wasserstein Gradient Flowscited by 0
- 2026Reachability and asymptotics of Gaussian Transformer dynamicscited by 0
- 2026SciDocBench: A Workflow-Centered Benchmark and Data Pipeline for Scientific Document Understandingcited by 0
- 2026Universal Approximation of Measure-to-Measure Operators by Pushforwardscited by 0
- 2026The Role of Feed-Forward Layers in Transformer Dynamicscited by 0
- 2026The Role of Feed-Forward Layers in Transformer Dynamics28 Sep 2026
- 2026Universal Approximation of Measure-to-Measure Operators by Pushforwards28 Sep 2026
- 2026SciDocBench: A Workflow-Centered Benchmark and Data Pipeline for Scientific Document Understanding4 Sep 2026
- 2026Reachability and asymptotics of Gaussian Transformer dynamics29 May 2026
- 2026Measure-to-measure Regression with Transformers27 May 2026
- 2026Attention-based PCA18 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
- 2026Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regime11 May 2026
- 2026On the global convergence of gradient flow for wide shallow models beyond homogeneous nonlinearities11 May 2026
- 2026Kinetic theory for Transformers and the lost-in-the-middle phenomenon9 May 2026
18 more
- 2026SympFormer: Accelerated attention blocks via Inertial Dynamics on Density Manifolds17 Mar 2026
- 2026An Optimal Control Approach To Transformer Training10 Mar 2026
- 2026Clustering in Deep Stochastic Transformers29 Jan 2026
- 2026Perceptrons and localization of attention's mean-field landscape29 Jan 2026
- 2025Softmax as Linear Attention in the Large-Prompt Regime: a Measure-based Perspective12 Dec 2025
- 2025Token Sample Complexity of Attention11 Dec 2025
- 2025Optimal and Diffusion Transports in Machine Learning7 Dec 2025
- 2025The Mean-Field Dynamics of Transformers1 Dec 2025
- 2025On the Structure of Stationary Solutions to McKean-Vlasov Equations with Applications to Noisy Transformers23 Oct 2025
- 2025Sparse Transformer Architectures via Regularized Wasserstein Proximal Operator with L1 Prior18 Oct 2025
- 2025Transformers through the lens of support-preserving maps between measures30 Sep 2025
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regime29 Sep 2025
- 2025Preconditioned Regularized Wasserstein Proximal Sampling1 Sep 2025
- 2025Synchronization of mean-field models on the circle30 Jul 2025
- 2025Dual Filter: A Transformer-like Inference Architecture for Hidden Markov Models1 May 2025
- 2025Learning Enhanced Ensemble Filters24 Apr 2025
- 2025Quantitative Clustering in Mean-Field Transformer Models20 Apr 2025
- 2025Accelerated Stein Variational Gradient Flow30 Mar 2025
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 24
- 2025The Mean-Field Dynamics of Transformerscited by 24
- 2025Quantitative Clustering in Mean-Field Transformer Modelscited by 23
- 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
- 2026Perceptrons and localization of attention's mean-field landscapecited by 7
- 2025Accelerated Stein Variational Gradient Flowcited 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
- 2026Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regimecited by 4
12 most cited of 30 All 30 (JSON)
- 2026The Role of Feed-Forward Layers in Transformer Dynamics28 Sep 2026
- 2026Universal Approximation of Measure-to-Measure Operators by Pushforwards28 Sep 2026
- 2026SciDocBench: A Workflow-Centered Benchmark and Data Pipeline for Scientific Document Understanding4 Sep 2026
- 2026Reachability and asymptotics of Gaussian Transformer dynamics29 May 2026
- 2026Measure-to-measure Regression with Transformers27 May 2026
- 2026Attention-based PCA18 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
- 2026Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regime11 May 2026
- 2026On the global convergence of gradient flow for wide shallow models beyond homogeneous nonlinearities11 May 2026
- 2026Kinetic theory for Transformers and the lost-in-the-middle phenomenon9 May 2026
12 newest of 30 All 30 (JSON)