Clustering in Causal Attention Masking
Nikita Karagodin, Yury Polyanskiy, Philippe Rigollet
摘要
This work presents a modification of the self-attention dynamics proposed by Geshkovski et al. (arXiv:2312.10794) to better reflect the practically relevant, causally masked attention used in transformer architectures for generative AI. This modification translates into an interacting particle system that cannot be interpreted as a mean-field gradient flow. Despite this loss of structure, we significantly strengthen the results of Geshkovski et al. (arXiv:2312.10794) in this context: While previous rigorous results focused on cases where all three matrices (Key, Query, and Value) were scaled identities, we prove asymptotic convergence to a single cluster for arbitrary key-query matrices and a value matrix equal to the identity. Additionally, we establish a connection to the classical Rényi parking problem from combinatorial geometry to make initial theoretical steps towards demonstrating the existence of meta-stable states.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Muse: Text-To-Image Generation via Masked Generative Transformers 引用了 Zero-Shot Text-to-Image Generation
- Critical attention scaling in long-context transformers 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
- Critical attention scaling in long-context transformers 引用了 The emergence of clusters in self-attention dynamics
- Critical attention scaling in long-context transformers 引用了 A multiscale analysis of mean-field transformers in the moderate interaction regime
- A multiscale analysis of mean-field transformers in the moderate interaction regime 引用了 Critical attention scaling in long-context transformers
- Critical attention scaling in long-context transformers 引用了 Normalization in Attention Dynamics
- Attention is not all you need: pure attention loses rank doubly exponentially with depth 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics 引用了 Critical attention scaling in long-context transformers
- Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
- Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics 引用了 The emergence of clusters in self-attention dynamics
- Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics 引用了 A multiscale analysis of mean-field transformers in the moderate interaction regime
- Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics 引用了 Normalization in Attention Dynamics
- The emergence of clusters in self-attention dynamics 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- The emergence of clusters in self-attention dynamics 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
- A multiscale analysis of mean-field transformers in the moderate interaction regime 引用了 The emergence of clusters in self-attention dynamics
- Optimal Control for Transformer Architectures: Enhancing Generalization, Robustness and Efficiency 引用了 The emergence of clusters in self-attention dynamics
- Normalization in Attention Dynamics 引用了 The emergence of clusters in self-attention dynamics
- Normalization in Attention Dynamics 引用了 A multiscale analysis of mean-field transformers in the moderate interaction regime
引用它的顶会 Paper13
- A multiscale analysis of mean-field transformers in the moderate interaction regimeGiuseppe Bruno, Federico Pasqualotto, Andrea AgazziNeurIPS 2025 · 29 次引用
- Critical attention scaling in long-context transformersShi Chen, Zhengjiang Lin, Yury Polyanskiy, Philippe RigolletICLR 2026 · 22 次引用
- Normalization in Attention DynamicsNikita Karagodin, Shu Ge, Yury Polyanskiy, Philippe RigolletNeurIPS 2025 · 10 次引用
- Optimal Control for Transformer Architectures: Enhancing Generalization, Robustness and EfficiencyKelvin Kan, Xingjian Li, Benjamin J. Zhang, Tuhin Sahai 等NeurIPS 2025 · 9 次引用
- Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention DynamicsHugo Koubbi, Louis Hernandez, Matthieu BoussardICML 2026 · 7 次引用
它引用的 Paper9
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
- Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray 等ICML 2021 · 6,356 次引用
- Muse: Text-To-Image Generation via Masked Generative TransformersHuiwen Chang, Han Zhang, Jarred Barber, Aaron Maschinot 等ICML 2023 · 751 次引用
- Attention is not all you need: pure attention loses rank doubly exponentially with depthYihe Dong, Jean-Baptiste Cordonnier, Andreas LoukasICML 2021 · 522 次引用
- The emergence of clusters in self-attention dynamicsBorjan Geshkovski, Cyril Letrouit, Yury Polyanskiy, Philippe RigolletNeurIPS 2023 · 163 次引用
相关 Paper
- Emergence of meta-stable clustering in mean-field transformer modelsGiuseppe Bruno, Federico Pasqualotto, Andrea AgazziICLR 2025 · 2 次引用
- Clustering in Deep Stochastic TransformersLev Fedorov, Michael Sander, Romuald Elie, Pierre Marion 等ICML 2026 · 7 次引用
- Understanding Softmax Attention Layers: Exact Mean-Field Analysis on a Toy ProblemElvis DohmatobNeurIPS 2025 · 3 次引用
- Consensus Is All You Get: The Role of Attention in TransformersÁlvaro Rodríguez Abella, João Pedro Silvestre, Paulo TabuadaICML 2025
- Attention's forward pass and Frank-WolfeAlbert Alcalde, Borjan Geshkovski, Domènec Ruiz-BaletICML 2026
