mlsanityData to 7 Oct 2026

A Unified Perspective on the Dynamics of Deep Transformers

arXiv 2501.18322 ↗First posted 30 Jan 2025cs.LG math.APcited by 30

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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 14; 2026: 16.

30 papers.

Sort:

  1. 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 24
  2. 2025The Mean-Field Dynamics of Transformerscited by 24
  3. 2025Quantitative Clustering in Mean-Field Transformer Modelscited by 23
  4. 2025Learning Enhanced Ensemble Filterscited by 11
  5. 2025Synchronization of mean-field models on the circlecited by 10
  6. 2025On the Structure of Stationary Solutions to McKean-Vlasov Equations with Applications to Noisy Transformerscited by 10
  7. 2026Perceptrons and localization of attention's mean-field landscapecited by 7
  8. 2025Accelerated Stein Variational Gradient Flowcited by 5
  9. 2025Transformers through the lens of support-preserving maps between measurescited by 5
  10. 2025Optimal and Diffusion Transports in Machine Learningcited by 5
  11. 2026Clustering in Deep Stochastic Transformerscited by 5
  12. 2026Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regimecited by 4
18 more
  1. 2025Token Sample Complexity of Attentioncited by 3
  2. 2025Softmax as Linear Attention in the Large-Prompt Regime: a Measure-based Perspectivecited by 3
  3. 2026An Optimal Control Approach To Transformer Trainingcited by 3
  4. 2026Propagation of Chaos in Contextual Flow Mapscited by 2
  5. 2025Preconditioned Regularized Wasserstein Proximal Samplingcited by 1
  6. 2025Sparse Transformer Architectures via Regularized Wasserstein Proximal Operator with L1 Priorcited by 1
  7. 2026On the global convergence of gradient flow for wide shallow models beyond homogeneous nonlinearitiescited by 1
  8. 2026Measure-to-measure Regression with Transformerscited by 1
  9. 2025Dual Filter: A Transformer-like Inference Architecture for Hidden Markov Modelscited by 0
  10. 2026SympFormer: Accelerated attention blocks via Inertial Dynamics on Density Manifoldscited by 0
  11. 2026Kinetic theory for Transformers and the lost-in-the-middle phenomenoncited by 0
  12. 2026Transformer-like Inference from Optimal Controlcited by 0
  13. 2026Attention-based PCAcited by 0
  14. 2026Multi-Headed Transformer Architectures as Time-dependent Wasserstein Gradient Flowscited by 0
  15. 2026Reachability and asymptotics of Gaussian Transformer dynamicscited by 0
  16. 2026SciDocBench: A Workflow-Centered Benchmark and Data Pipeline for Scientific Document Understandingcited by 0
  17. 2026Universal Approximation of Measure-to-Measure Operators by Pushforwardscited by 0
  18. 2026The Role of Feed-Forward Layers in Transformer Dynamicscited by 0