Emergence of meta-stable clustering in mean-field transformer models
摘要
We model the evolution of tokens within a deep stack of Transformer layers as a continuous-time flow on the unit sphere, governed by a mean-field interacting particle system, building on the framework introduced in (Geshkovski et al., 2023) . Studying the corresponding mean-field Partial Differential Equation (PDE), which can be interpreted as a Wasserstein gradient flow, in this paper we provide a mathematical investigation of the long-term behavior of this system, with a particular focus on the emergence and persistence of meta-stable phases and clustering phenomena, key elements in applications like next-token prediction. More specifically, we perform a perturbative analysis of the mean-field PDE around the iid uniform initialization and prove that, in the limit of large number of tokens, the model remains close to a meta-stable manifold of solutions with a given structure (e.g., periodicity). Further, the structure characterizing the meta-stable manifold is explicitly identified, as a function of the inverse temperature parameter of the model, by the index maximizing a certain rescaling of Gegenbauer polynomials.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Critical attention scaling in long-context transformers 引用了 Two failure modes of deep transformers and how to avoid them: a unified theory of signal propagation at initialisation
- 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
- Critical attention scaling in long-context transformers 引用了 Clustering in Causal Attention Masking
- A multiscale analysis of mean-field transformers in the moderate interaction regime 引用了 Global optimality of softmax policy gradient with single hidden layer neural networks in the mean-field regime
- A multiscale analysis of mean-field transformers in the moderate interaction regime 引用了 Quantitative Propagation of Chaos for SGD in Wide Neural Networks
- A multiscale analysis of mean-field transformers in the moderate interaction regime 引用了 Two failure modes of deep transformers and how to avoid them: a unified theory of signal propagation at initialisation
- A multiscale analysis of mean-field transformers in the moderate interaction regime 引用了 Clustering in Causal Attention Masking
- Normalization in Attention Dynamics 引用了 A multiscale analysis of mean-field transformers in the moderate interaction regime
- Normalization in Attention Dynamics 引用了 Clustering in Causal Attention Masking
引用它的顶会 Paper16
- Clustering in Causal Attention MaskingNikita Karagodin, Yury Polyanskiy, Philippe RigolletNeurIPS 2024 · 40 次引用
- 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 次引用
- Two failure modes of deep transformers and how to avoid them: a unified theory of signal propagation at initialisationAlessio Giorlandino, Sebastian GoldtICLR 2026 · 15 次引用
- Normalization in Attention DynamicsNikita Karagodin, Shu Ge, Yury Polyanskiy, Philippe RigolletNeurIPS 2025 · 10 次引用
它引用的 Paper2
- Quantitative Propagation of Chaos for SGD in Wide Neural NetworksValentin De Bortoli, Alain Durmus, Xavier Fontaine, Umut SimsekliNeurIPS 2020 · 36 次引用
- Global optimality of softmax policy gradient with single hidden layer neural networks in the mean-field regimeAndrea Agazzi, Jianfeng LuICLR 2021 · 3 次引用
相关 Paper
- Perceptrons and Localization of Attention’s Mean-Field LandscapeAntonio Álvarez López, Borjan Geshkovski, Domènec Ruiz-BaletICML 2026 · 7 次引用
- Clustering in Deep Stochastic TransformersLev Fedorov, Michael Sander, Romuald Elie, Pierre Marion 等ICML 2026 · 7 次引用
- Global Convergence in Training Large-Scale TransformersCheng Gao, Yuan Cao, Zihao Li, Yihan He 等NeurIPS 2024 · 10 次引用
- The emergence of clusters in self-attention dynamicsBorjan Geshkovski, Cyril Letrouit, Yury Polyanskiy, Philippe RigolletNeurIPS 2023 · 163 次引用
- Universal Approximation of Mean-Field Models via TransformersShiba Biswal, Karthik Elamvazhuthi, Rishi SonthaliaICML 2025
