A Capacity-Based Rationale for Multi-Head Attention
Not on the map. Why?
Abstract (arXiv)
We study the capacity of the self-attention key-query channel: for a fixed budget, how many distinct token-token relations can a single layer reliably encode? We introduce Relational Graph Recognition, where the key-query channel encodes a directed graph and, given a context (a subset of the vertices), must recover the neighbors of each vertex in the context. We measure resources by the total key dimension DK = h,dk. In a tractable multi-head model, we prove matching information-theoretic lower bounds and upper bounds via explicit constructions showing that recovering a graph with m' relations in dmodel-dimensional embeddings requires DK to grow essentially as m'/dmodel up to logarithmic factors, and we obtain corresponding guarantees for scaled-softmax attention. This analysis yields a new, capacity-based rationale for multi-head attention: even in permutation graphs, where all queries attend to a single target, splitting a fixed DK budget into multiple heads increases capacity by reducing interference from embedding superposition. Controlled experiments mirror the theory, revealing sharp phase transitions at the predicted capacity, and the multi-head advantage persists when adding softmax normalization, value routing, and a full Transformer block trained with frozen GPT-2 embeddings.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). First posted on arXiv 26 Sep 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Autonomy-of-Heads: Data-Free Sparse Attention from Frozen Query-Key Geometry
- 2026When Graph Tokens Sink: A Mechanistic Analysis of Graph Language Models
- 2026Mixture-of-Top-k Attention: Efficient Attention via Scalable Fast Weights
- 2023Manifold-Preserving Transformers are Effective for Short-Long Range Encoding
- 2026Through the Bottleneck: How Multi-head Latent Attention Separates Content from Position in Language Models
- 2020Multi-hop Attention Graph Neural Network
- 2026CommunityKV: Efficient Long-Context Decoding via Graph Partitioning
- 2025Towards Mechanistic Interpretability of Graph Transformers via Attention Graphs