Two-Clustering Regime of Token Dynamics in Causal Attention
Not on the map. Why?
Abstract (arXiv)
We partially resolve Conjecture 1 of [Karagodin et al., Clustering in Causal Attention Masking (NeurIPS 2024)] and extend it to time-dependent parameter regimes. The conjecture predicts that causal attention dynamics converge to two clusters aligned with the eigenvectors associated with the largest eigenvalue λmax of the value transformation. We prove that this behavior holds when λmax>0 and is generally false when λmax≤0. The resulting two-cluster regime is common in practice and substantially more challenging than the classical single-cluster setting studied previously. A central contribution of our work is the identification of a rigorous dimension reduction phenomenon: despite evolving in a high-dimensional embedding space, token trajectories collapse onto a two-dimensional structure governed by a small number of dominant directions. Building on this insight, we introduce a new analytical framework--instability within the flow--inspired by instability phenomena in physical systems. This framework enables the analysis of steady-regime behavior in non-monotone, non-autonomous attention dynamics. Our theoretical findings are illustrated through simulations and experimental studies using Group Query Attention (GQA) layers.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 72 of its 88 references that are in the map. Submitted 13 Nov 2026.
Builds on
72 of 88 references.
References · 72
- 2017Attention Is All You Needcited by 62,125
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 41,272
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,995
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,866
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,365
- 2021Zero-Shot Text-to-Image Generationcited by 4,341
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,222
- 2018Neural Ordinary Differential Equationscited by 3,935
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,354
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,747
38 more
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,932
- 2019Root Mean Square Layer Normalizationcited by 1,624
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,582
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,342
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,106
- 2021Transformers in Vision: A Surveycited by 1,019
- 2024Chameleon: Mixed-Modal Early-Fusion Foundation Modelscited by 1,003
- 2020Efficient Transformers: A Surveycited by 812
- 2018Universal Transformerscited by 769
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 714
- 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 673
- 2021Offline Reinforcement Learning as One Big Sequence Modeling Problemcited by 656
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 441
- 2021A Survey of Transformerscited by 407
- 2017Stable Architectures for Deep Neural Networkscited by 354
- 2017A Structured Self-attentive Sentence Embeddingcited by 326
- 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 251
- 2018Adaptive Input Representations for Neural Language Modelingcited by 234
- 2016A Decomposable Attention Model for Natural Language Inferencecited by 217
- 2023A mathematical perspective on Transformerscited by 186
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 173
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 156
- 2023The emergence of clusters in self-attention dynamicscited by 152
- 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 141
- 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 128
- 2019Deep Learning via Dynamical Systems: An Approximation Perspectivecited by 85
- 2018ResNet with one-neuron hidden layers is a Universal Approximatorcited by 83
- 2024LoRA-Pro: Are Low-Rank Adapters Properly Optimized?cited by 82
- 2021Neural ODE control for classification, approximation and transportcited by 61
- 2019Approximation Capabilities of Neural ODEs and Invertible Residual Networkscited by 59
- 2024Dynamic metastability in the self-attention modelcited by 55
- 2023Demystifying Oversmoothing in Attention-Based Graph Neural Networkscited by 54
- 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 53
- 2022Rank Diminishing in Deep Neural Networkscited by 52
- 2021Heavy Ball Neural Ordinary Differential Equationscited by 44
- 2023ContraNorm: A Contrastive Learning Perspective on Oversmoothing and Beyondcited by 42
- 2024Residual Connections and Normalization Can Provably Prevent Oversmoothing in GNNscited by 38
50 most cited of 72 All 72 (JSON)
Built on by
Not cited yet.