Attention's forward pass and Frank-Wolfe
Albert Alcalde, Borjan Geshkovski, Domènec Ruiz-Balet
摘要
We analyze the hardmax limit of self-attention dynamics for token embeddings in the zero-temperature regime and relate it to finite- behavior. In this limit, the update rule can be viewed as a Frank-Wolfe step for a quadratic objective over the convex hull of the current tokens. When the key-query matrix is negative semidefinite, the dynamics converge with the standard sublinear rate on the quadratic energy, whereas in the positive semidefinite case, extending the hardmax rule to the convex hull induces a Voronoi structure: vertices are stationary, interior points remain in their initial cells, and each token moves along a straight line toward its cell's vertex with exponential convergence under a step-size bounded away from zero. We additionally establish well-posedness of the associated ODE limit in this regime. For finite , we model self-attention as a Markov chain and prove dynamic metastability: interior tokens reach near-vertex configurations in a constant number of steps and remain trapped for times exponential in with high probability, before eventual collapse to some point within the initial convex hull. Thus, hardmax dynamics accurately approximate the finite- process over exponentially long time horizons.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Stabilizing Transformer Training by Preventing Attention Entropy Collapse 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
- Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics 引用了 Stabilizing Transformer Training by Preventing Attention Entropy Collapse
- 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
- The emergence of clusters in self-attention dynamics 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
- Perceptrons and Localization of Attention’s Mean-Field Landscape 引用了 The emergence of clusters in self-attention dynamics
- Perceptrons and Localization of Attention’s Mean-Field Landscape 引用了 A multiscale analysis of mean-field transformers in the moderate interaction regime
- Modelling Attention with Aitchison Geometry: Token Distinguishability and Temperature Scaling 引用了 Stabilizing Transformer Training by Preventing Attention Entropy Collapse
- Modelling Attention with Aitchison Geometry: Token Distinguishability and Temperature Scaling 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
- Modelling Attention with Aitchison Geometry: Token Distinguishability and Temperature Scaling 引用了 The emergence of clusters in self-attention dynamics
- A multiscale analysis of mean-field transformers in the moderate interaction regime 引用了 The emergence of clusters in self-attention dynamics
- Revisiting Over-smoothing in BERT from the Perspective of Graph 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
引用它的顶会 Paper4
- A multiscale analysis of mean-field transformers in the moderate interaction regimeGiuseppe Bruno, Federico Pasqualotto, Andrea AgazziNeurIPS 2025 · 29 次引用
- Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention DynamicsHugo Koubbi, Louis Hernandez, Matthieu BoussardICML 2026 · 7 次引用
- Perceptrons and Localization of Attention’s Mean-Field LandscapeAntonio Álvarez López, Borjan Geshkovski, Domènec Ruiz-BaletICML 2026 · 7 次引用
- Modelling Attention with Aitchison Geometry: Token Distinguishability and Temperature ScalingSam Hilton-Jones, Timothy Norman, Zhanxing ZhuICML 2026
它引用的 Paper20
- Attention is not all you need: pure attention loses rank doubly exponentially with depthYihe Dong, Jean-Baptiste Cordonnier, Andreas LoukasICML 2021 · 522 次引用
- DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language ModelsDamai Dai, Chengqi Deng, Chenggang Zhao, R. X. Xu 等ACL 2024 · 171 次引用
- The emergence of clusters in self-attention dynamicsBorjan Geshkovski, Cyril Letrouit, Yury Polyanskiy, Philippe RigolletNeurIPS 2023 · 163 次引用
- Stabilizing Transformer Training by Preventing Attention Entropy CollapseShuangfei Zhai, Tatiana Likhomanenko, Etai Littwin, Dan Busbridge 等ICML 2023 · 153 次引用
- Revisiting Over-smoothing in BERT from the Perspective of GraphHan Shi, Jiahui Gao, Hang Xu, Xiaodan Liang 等ICLR 2022 · 92 次引用
相关 Paper
- Token Sample Complexity of AttentionLéa Bohbot, Cyril Letrouit, Gabriel Peyré, François-Xavier VialardICML 2026 · 1 次引用
- Max-Margin Token Selection in Attention MechanismDavoud Ataee Tarzanagh, Yingcong Li, Xuechen Zhang, Samet OymakNeurIPS 2023 · 67 次引用
- Clustering in Causal Attention MaskingNikita Karagodin, Yury Polyanskiy, Philippe RigolletNeurIPS 2024 · 40 次引用
- Emergence of meta-stable clustering in mean-field transformer modelsGiuseppe Bruno, Federico Pasqualotto, Andrea AgazziICLR 2025 · 2 次引用
- Softmax as Linear Attention in the Large-Prompt Regime: a Measure-based PerspectiveEtienne Boursier, Claire BoyerICML 2026 · 4 次引用
