Research map / Architectures and efficiency / Attention and transformers
Quantifying Attention Flow in Transformers
Samira Abnar, Willem Zuidema
University of Amsterdam
Read the paperPlace an idea next to itCheck your own paper ↗
6measured effects
4improved
1no clear effect
1hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use attention rollout instead of raw attention at the last layer | CLS attention importance · Subject-verb agreement | Spearman correlation with blank-out: 0.29 -> 0.71 | Improved |
| use attention flow instead of raw attention at the last layer | CLS attention importance · Subject-verb agreement | Spearman correlation with blank-out: 0.29 -> 0.70 | Improved |
| use attention rollout/flow instead of raw attention at layer 1 | CLS attention importance · Subject-verb agreement | Spearman correlation with blank-out: 0.69 -> 0.32 | Hurt |
| use attention flow instead of raw attention at the last layer | CLS attention importance · Subject-verb agreement | Spearman correlation with input gradients: 0.46 -> 0.61 | Improved |
| use attention flow instead of attention rollout | attention-based token importance · Subject-verb agreement | Spearman correlation with blank-out and gradients: 0.54 -> 0.61 (gradients, L6) | Improved |
| use attention rollout/flow instead of raw attention | DistilBERT fine-tuned on SST-2 · SST-2 | Spearman correlation with input gradients: 0.09 -> 0.13 / 0.14 (L6) | No clear effect |
Open problems in attention head and block redesign
Do attention redesigns still help at large scale, or only in small models and carefully set conditions?
- Theory rests on simplifying assumptions that real transformers break. · 13 papers state it
- Tested only on small models, not at LLM scale. · 12 papers state it
- Gains over the baseline attention are small or mixed. · 10 papers state it
Closest papers by meaning
- What are you sinking? A geometric approach on attention sink (NeurIPS 2025 · similarity 0.89)
- On the Role of Attention Masks and LayerNorm in Transformers (NeurIPS 2024 · similarity 0.89)
- The underlying structures of self-attention: symmetry, directionality, and emergent dynamics in Transformer training (ICML 2025 · similarity 0.89)
- Graph Convolutions Enrich the Self-Attention in Transformers! (NeurIPS 2024 · similarity 0.89)
- Rethinking Attention: Exploring Shallow Feed-Forward Neural Networks as an Alternative to Attention Layers in Transformers (Student Abstract) (AAAI 2024 · similarity 0.89)
- Consensus Is All You Get: The Role of Attention in Transformers (ICML 2025 · similarity 0.89)
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.