Research map / Architectures and efficiency / Attention and transformers
Is Attention Interpretable?
Sofia Serrano, Noah A. Smith
University of Washington · Allen Institute for Artificial Intelligence
Read the paperPlace an idea next to itCheck your own paper ↗
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 |
|---|---|---|---|
| erase highest-attention item vs a random attended item (single-weight test) | HANrnn · Yahoo, IMDB, Amazon, Yelp | decision flip: i* only flips: 7.6-12.2% vs random only: 1.3-2.7%; but 84.2-89.6% have no flip either way | Mixed |
| rank by gradient instead of attention weight when erasing (ablation) | models with encoders · Yahoo, IMDB, Amazon, Yelp | fraction of items removed before decision flip: gradient ranking flips faster than attention for over 50% of instances in 10 of 16 models | Improved |
| rank by gradient instead of attention (every encoder model) (ablation) | models with encoders · all four datasets | instances where one ranking flips faster: at least 1.6 times as many instances favour gradient | Improved |
| rank by attention instead of random (ablation) | models with encoders · all four datasets | items removed before decision flip | Improved |
| multiply gradient by attention weight vs gradient alone (ablation) | importance ranking · all four datasets | items removed before decision flip | Mixed |
| replace biRNN encoder with convolutional encoder (ablation) | FLAN · all four datasets | fraction of items removed before decision flip | Improved |
| remove the contextualizing encoder (ablation) | HAN / FLAN · all four datasets | fraction of items removed before decision flip | Improved |
| remove the contextualizing encoder (ablation) | HAN / FLAN · all four datasets | test accuracy: e.g. Yahoo FLANrnn 75.5 -> FLANnoenc 72.3 | Hurt |
Open problems in sparse and structured attention
How well do the theory and the efficient designs of attention carry over from simplified models to full-scale transformers?
- Theory covers only simplified one-layer or single-head attention. · 12 papers state it
- Experiments stay at small model scale. · 8 papers state it
- Theory assumes token distributions that real data does not match. · 7 papers state it
Closest papers by meaning
- Attention is not Explanation (NAACL 2019 · similarity 0.95)
- Understanding Attention for Text Classification (ACL 2020 · similarity 0.94)
- Attention is not not Explanation (EMNLP 2019 · similarity 0.89)
- Improving the Faithfulness of Attention-based Explanations with Task-specific Information for Text Classification (ACL 2021 · similarity 0.89)
- Towards Understanding the Word Sensitivity of Attention Layers: A Study via Random Features (ICML 2024 · similarity 0.87)
- Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibration (ICML 2024 · similarity 0.86)
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.