Lune

ICML2025Top-tier venue

Consensus Is All You Get: The Role of Attention in Transformers

Álvaro Rodríguez Abella, João Pedro Silvestre, Paulo Tabuada

Abstract

A key component of transformers is the attention mechanism orchestrating how each token influences the propagation of every other token along the layers of a transformer. In this paper we provide a rigorous, mathematical analysis of the asymptotic properties of attention in transformers. Although we present several results based on different assumptions, all of them point to the same conclusion, all tokens asymptotically converge to each other, a phenomenon that has been empirically reported in the literature. Our findings are carefully compared with existing theoretical results and illustrated by simulations and experimental studies using the GPT-2 and the GPT-Neo models.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics cites Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics cites The emergence of clusters in self-attention dynamics
  • Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics cites Rank Diminishing in Deep Neural Networks
  • Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics cites Attention's forward pass and Frank-Wolfe
  • Attention's forward pass and Frank-Wolfe cites Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics
  • Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics cites Clustering in Causal Attention Masking
  • The emergence of clusters in self-attention dynamics cites Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • Perceptrons and Localization of Attention’s Mean-Field Landscape cites The emergence of clusters in self-attention dynamics
  • Perceptrons and Localization of Attention’s Mean-Field Landscape cites Attention's forward pass and Frank-Wolfe
  • Perceptrons and Localization of Attention’s Mean-Field Landscape cites Redesigning the Transformer Architecture with Insights from Multi-particle Dynamical Systems
  • Perceptrons and Localization of Attention’s Mean-Field Landscape cites Clustering in Causal Attention Masking
  • Rank Diminishing in Deep Neural Networks cites Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • Attention's forward pass and Frank-Wolfe cites Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • Attention's forward pass and Frank-Wolfe cites The emergence of clusters in self-attention dynamics
  • Attention's forward pass and Frank-Wolfe cites Clustering in Causal Attention Masking
  • Clustering in Causal Attention Masking cites Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • Clustering in Causal Attention Masking cites The emergence of clusters in self-attention dynamics
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention DynamicsHugo Koubbi, Louis Hernandez, Matthieu BoussardICML 2026 · 7 citations
  2. Perceptrons and Localization of Attention’s Mean-Field LandscapeAntonio Álvarez López, Borjan Geshkovski, Domènec Ruiz-BaletICML 2026 · 7 citations
  3. Attention's forward pass and Frank-WolfeAlbert Alcalde, Borjan Geshkovski, Domènec Ruiz-BaletICML 2026

Builds on6

  1. Attention is not all you need: pure attention loses rank doubly exponentially with depthYihe Dong, Jean-Baptiste Cordonnier, Andreas LoukasICML 2021 · 522 citations
  2. The emergence of clusters in self-attention dynamicsBorjan Geshkovski, Cyril Letrouit, Yury Polyanskiy, Philippe RigolletNeurIPS 2023 · 163 citations
  3. Rank Diminishing in Deep Neural NetworksRuili Feng, Kecheng Zheng, Yukun Huang, Deli Zhao et al.NeurIPS 2022 · 64 citations
  4. Clustering in Causal Attention MaskingNikita Karagodin, Yury Polyanskiy, Philippe RigolletNeurIPS 2024 · 40 citations
  5. Redesigning the Transformer Architecture with Insights from Multi-particle Dynamical SystemsSubhabrata Dutta, Tanya Gautam, Soumen Chakrabarti, Tanmoy ChakrabortyNeurIPS 2021 · 34 citations

Related papers

  1. A multiscale analysis of mean-field transformers in the moderate interaction regimeGiuseppe Bruno, Federico Pasqualotto, Andrea AgazziNeurIPS 2025 · 29 citations
  2. Softmax as Linear Attention in the Large-Prompt Regime: a Measure-based PerspectiveEtienne Boursier, Claire BoyerICML 2026 · 4 citations
  3. Attention is Not Only a Weight: Analyzing Transformers with Vector NormsGoro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, Kentaro InuiEMNLP 2020 · 138 citations
  4. Dynamical Properties of Tokens in Self-Attention and Effects of Positional EncodingDuy-Tung Pham, An Nguyen The, Viet-Hoang Tran, Nhan-Phu Chung et al.NeurIPS 2025 · 2 citations
  5. Limitations of Normalization in AttentionTimur Mudarisov, Mikhail Burtsev, Tatiana Petrova, Radu StateNeurIPS 2025
Dusk over the sea between two cliffs drawn in fine vertical lines