atlas

Research map / Architectures and efficiency / Attention and transformers

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

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows via a continuous-time control-theoretic model of attention on ellipsoids/spheres that tokens converge to consensus (collapse) under several assumptions, and checks this empirically on GPT-2 XL and GPT-Neo 2.7B.

Problem

Understanding why transformer tokens cluster (rank/representation collapse) as depth grows, with rigorous asymptotic guarantees for the attention dynamics.

Approach

Models attention as a continuous-time dynamical system on an ellipsoid (layer normalization as projection) and applies consensus dynamics and input-to-state stability from control theory, instead of mean-field or stochastic methods, to prove token convergence to a single cluster under several assumptions on Q, K, U and number of heads.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Include feedforward layers rather than remove them (ablation)GPT-2 XL and GPT-Neo 2.7B · Repeated model passes on 100 random promptsrate of convergence of average cosine-similarity error EMixed
Include feedforward layers rather than remove them (ablation)GPT-2 XL and GPT-Neo 2.7B with random weight matrices · Repeated model passes on 100 random promptsrate of convergence of average cosine-similarity error EHurt

Surprising findings

Limitations

Experimental setup

Datasets: 100 random prompts of 200 GPT-2 tokenizer tokens each (synthetic)

Metrics: cosine-similarity token consensus error E Lyapunov function V

Baselines: Geshkovski et al. 2023a Karagodin et al. 2024

Builds on: Geshkovski et al. 2023 mathematical model of attention Karagodin et al. 2024 consensus dynamics on manifolds

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy