mlsanityData to 7 Oct 2026

How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformers

arXiv 2211.03495 ↗First posted 7 Nov 2022cs.CL cs.LGcited by 20

Not on the map. Why?

Abstract (arXiv)

The attention mechanism is considered the backbone of the widely-used Transformer architecture. It contextualizes the input by computing input-specific attention matrices. We find that this mechanism, while powerful and elegant, is not as important as typically thought for pretrained language models. We introduce PAPA, a new probing method that replaces the input-dependent attention matrices with constant ones -- the average attention weights over multiple inputs. We use PAPA to analyze several established pretrained Transformers on six downstream tasks. We find that without any input-dependent attention, all models achieve competitive performance -- an average relative drop of only 8% from the probing baseline. Further, little or no performance drop is observed when replacing half of the input-dependent attention matrices with constant (input-independent) ones. Interestingly, we show that better-performing models lose more from applying our method than weaker models, suggesting that the utilization of the input-dependent attention mechanism might be a factor in their success. Our results motivate research on simpler alternatives to input-dependent attention, as well as on methods for better utilization of this mechanism in the Transformer architecture.

Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 35 of its 43 references that are in the map. First posted on arXiv 7 Nov 2022.

Builds on

35 of 43 references.

References · 35

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  8. 2016Pointer Sentinel Mixture Modelscited by 2,992
  9. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  10. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  11. 2020Reformer: The Efficient Transformercited by 1,658
  12. 2020Rethinking Attention with Performerscited by 1,584
23 more
  1. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  2. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  3. 2018Neural Network Acceptability Judgmentscited by 952
  4. 2019Attention is not Explanationcited by 916
  5. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  6. 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
  7. 2019Are Sixteen Heads Really Better than One?cited by 803
  8. 2019Attention is not not Explanationcited by 629
  9. 2019Is Attention Interpretable?cited by 387
  10. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
  11. 2021Pay Attention to MLPscited by 367
  12. 2021Random Feature Attentioncited by 350
  13. 2021FNet: Mixing Tokens with Fourier Transformscited by 343
  14. 2022cosFormer: Rethinking Softmax in Attentioncited by 212
  15. 2022Transformer Quality in Linear Timecited by 189
  16. 2021Finetuning Pretrained Transformers into RNNscited by 94
  17. 2019Do Attention Heads in BERT Track Syntactic Dependencies?cited by 87
  18. 2021Differentiable Subset Pruning of Transformer Headscited by 46
  19. 2020Hard-Coded Gaussian Attention for Neural Machine Translationcited by 42
  20. 2021ABC: Attention with Bounded-memory Controlcited by 36
  21. 2020A Mixture of h-1 Heads is Better than h Headscited by 22
  22. 2021Attention Can Reflect Syntactic Structure (If You Let It)cited by 22
  23. 2022Paying More Attention to Self-attention: Improving Pre-trained Language Models via Attention Guidingcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 10; 2024: 7; 2025: 1; 2026: 2.

20 papers.

Sort:

By area:

  1. 2023PMET: Precise Model Editing in a Transformercited by 170
  2. 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 153
  3. 2024Transformers are Multi-State RNNscited by 120
  4. 2024Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matterscited by 73
  5. 2023Transformers Learn to Achieve Second-Order Convergence Rates for In-Context Linear Regressioncited by 47
  6. 2023Quantifying Context Mixing in Transformerscited by 43
  7. 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Surveycited by 25
  8. 2023MIMONets: Multiple-Input-Multiple-Output Neural Networks Exploiting Computation in Superpositioncited by 14
  9. 2023Homophone Disambiguation Reveals Patterns of Context Mixing in Speech Transformerscited by 13
  10. 2024Transformers Learn Low Sensitivity Functions: Investigations and Implicationscited by 13
  11. 2025Is Random Attention Sufficient for Sequence Modeling? Disentangling Trainable Components in the Transformercited by 12
  12. 2023MERGE: Fast Private Text Generationcited by 8
8 more
  1. 2024Vocabulary-Defined Semantics: Latent Space Clustering for Improving In-Context Learningcited by 7
  2. 2024From Neurons to Neutrons: A Case Study in Interpretabilitycited by 5
  3. 2024Clustering and Alignment: Understanding the Training Dynamics in Modular Additioncited by 5
  4. 2023Optimization and Interpretability of Graph Attention Networks for Small Sparse Graph Structures in Automotive Applicationscited by 3
  5. 2023Computational modeling of semantic changecited by 2
  6. 2024How Language Models Prioritize Contextual Grammatical Cues?cited by 1
  7. 2026Attention-guided Evidence Grounding for Spoken Question Answeringcited by 0
  8. 2026When Can Attention Heads Be Statically Defined?cited by 0