mlsanityData to 7 Oct 2026

Reachability and asymptotics of Gaussian Transformer dynamics

arXiv 2606.07600 ↗First posted 29 May 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

We formulate data propagation through the Transformer, the machine learning architecture powering large language models, as a nonlinear control system on the space of probability measures. For the mean-field Transformer model with self-attention and affine feed-forward layers, we prove that Gaussian distributions remain exactly Gaussian along the induced flow. This invariance reduces the infinite-dimensional measure dynamics to a finite-dimensional bilinear control system governing the evolution of the mean and covariance, reformulates the expressive capacity of Transformers as a reachability problem for prescribed Gaussian moments, and reveals a novel connection with Riccati-type equations from classical filtering and control. For time-varying controls, we prove exact finite-time reachability of any target Gaussian distribution whose covariance matrix has the same rank as the initial one, this rank constraint being an intrinsic invariant of the dynamics. For time-invariant parameters, we derive explicit spectral conditions leading either to asymptotic stability toward positive-definite equilibria or to finite-time blow-up of the covariance. Numerical experiments complement the theory by showing that practical Transformers with Gaussian inputs remain close to moment-matched Gaussian distributions through early and intermediate layers, while Transformers with prescribed attention matrices reproduce the predicted covariance regimes: bounded evolution in stabilizing configurations and blow-up in destabilizing ones.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 32 of its 50 references that are in the map. First posted on arXiv 29 May 2026.

Builds on

32 of 50 references.

References · 32

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2020End-to-End Object Detection with Transformerscited by 7,384
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  7. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  8. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  9. 2022Transformers learn in-context by gradient descentcited by 714
  10. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  11. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
  12. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
20 more
  1. 2023Trained Transformers Learn Linear Models In-Contextcited by 331
  2. 2023A mathematical perspective on Transformerscited by 160
  3. 2021Sinkformers: Transformers with Doubly Stochastic Attentioncited by 136
  4. 2023The emergence of clusters in self-attention dynamicscited by 133
  5. 2023Mimetic Initialization of Self-Attention Layerscited by 52
  6. 2024Dynamic metastability in the self-attention modelcited by 42
  7. 2024Emergence of meta-stable clustering in mean-field transformer modelscited by 35
  8. 2025A Unified Perspective on the Dynamics of Deep Transformerscited by 30
  9. 2024Measure-to-measure interpolation using Transformerscited by 28
  10. 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 24
  11. 2014Optimal steering of a linear stochastic system to a final probability distributioncited by 22
  12. 2025Critical attention scaling in long-context transformerscited by 17
  13. 2024Clustering in pure-attention hardmax transformers and its role in sentiment analysiscited by 15
  14. 2025Multistability of Self-Attention Dynamics in Transformerscited by 6
  15. 2025Optimal and Diffusion Transports in Machine Learningcited by 5
  16. 2026Training Dynamics of Softmax Self-Attention: Fast Global Convergence via Preconditioningcited by 4
  17. 2026Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regimecited by 4
  18. 2026An Optimal Control Approach To Transformer Trainingcited by 3
  19. 2025Exact Sequence Interpolation with Transformerscited by 2
  20. 2025Dynamical Properties of Tokens in Self-Attention and Effects of Positional Encodingcited by 2

Built on by

Not cited yet.