How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformers
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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
23 more
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2018Neural Network Acceptability Judgmentscited by 952
- 2019Attention is not Explanationcited by 916
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2019Attention is not not Explanationcited by 629
- 2019Is Attention Interpretable?cited by 387
- 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
- 2021Pay Attention to MLPscited by 367
- 2021Random Feature Attentioncited by 350
- 2021FNet: Mixing Tokens with Fourier Transformscited by 343
- 2022cosFormer: Rethinking Softmax in Attentioncited by 212
- 2022Transformer Quality in Linear Timecited by 189
- 2021Finetuning Pretrained Transformers into RNNscited by 94
- 2019Do Attention Heads in BERT Track Syntactic Dependencies?cited by 87
- 2021Differentiable Subset Pruning of Transformer Headscited by 46
- 2020Hard-Coded Gaussian Attention for Neural Machine Translationcited by 42
- 2021ABC: Attention with Bounded-memory Controlcited by 36
- 2020A Mixture of h-1 Heads is Better than h Headscited by 22
- 2021Attention Can Reflect Syntactic Structure (If You Let It)cited by 22
- 2022Paying More Attention to Self-attention: Improving Pre-trained Language Models via Attention Guidingcited by 6
Built on by
Citing papers per year: 2023: 10; 2024: 7; 2025: 1; 2026: 2.
20 papers.
Sort:
By area:
- 2023PMET: Precise Model Editing in a Transformercited by 170
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 153
- 2024Transformers are Multi-State RNNscited by 120
- 2024Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matterscited by 73
- 2023Transformers Learn to Achieve Second-Order Convergence Rates for In-Context Linear Regressioncited by 47
- 2023Quantifying Context Mixing in Transformerscited by 43
- 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Surveycited by 25
- 2023MIMONets: Multiple-Input-Multiple-Output Neural Networks Exploiting Computation in Superpositioncited by 14
- 2023Homophone Disambiguation Reveals Patterns of Context Mixing in Speech Transformerscited by 13
- 2024Transformers Learn Low Sensitivity Functions: Investigations and Implicationscited by 13
- 2025Is Random Attention Sufficient for Sequence Modeling? Disentangling Trainable Components in the Transformercited by 12
- 2023MERGE: Fast Private Text Generationcited by 8
8 more
- 2024Vocabulary-Defined Semantics: Latent Space Clustering for Improving In-Context Learningcited by 7
- 2024From Neurons to Neutrons: A Case Study in Interpretabilitycited by 5
- 2024Clustering and Alignment: Understanding the Training Dynamics in Modular Additioncited by 5
- 2023Optimization and Interpretability of Graph Attention Networks for Small Sparse Graph Structures in Automotive Applicationscited by 3
- 2023Computational modeling of semantic changecited by 2
- 2024How Language Models Prioritize Contextual Grammatical Cues?cited by 1
- 2026Attention-guided Evidence Grounding for Spoken Question Answeringcited by 0
- 2026When Can Attention Heads Be Statically Defined?cited by 0
- 2026When Can Attention Heads Be Statically Defined?28 Sep 2026
- 2026Attention-guided Evidence Grounding for Spoken Question Answering17 Mar 2026
- 2025Is Random Attention Sufficient for Sequence Modeling? Disentangling Trainable Components in the Transformer1 Jun 2025
- 2024How Language Models Prioritize Contextual Grammatical Cues?4 Oct 2024
- 2024Clustering and Alignment: Understanding the Training Dynamics in Modular Addition18 Aug 2024
- 2024Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matters18 Jun 2024
- 2024From Neurons to Neutrons: A Case Study in Interpretability27 May 2024
- 2024Transformers Learn Low Sensitivity Functions: Investigations and Implications11 Mar 2024
- 2024Vocabulary-Defined Semantics: Latent Space Clustering for Improving In-Context Learning29 Jan 2024
- 2024Transformers are Multi-State RNNs11 Jan 2024
- 2023MIMONets: Multiple-Input-Multiple-Output Neural Networks Exploiting Computation in Superposition5 Dec 2023
- 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Survey1 Dec 2023
8 more
- 2023Transformers Learn to Achieve Second-Order Convergence Rates for In-Context Linear Regression26 Oct 2023
- 2023Homophone Disambiguation Reveals Patterns of Context Mixing in Speech Transformers15 Oct 2023
- 2023PMET: Precise Model Editing in a Transformer17 Aug 2023
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks30 Jun 2023
- 2023Optimization and Interpretability of Graph Attention Networks for Small Sparse Graph Structures in Automotive Applications25 May 2023
- 2023MERGE: Fast Private Text Generation25 May 2023
- 2023Computational modeling of semantic change13 Apr 2023
- 2023Quantifying Context Mixing in Transformers30 Jan 2023
- 2023PMET: Precise Model Editing in a Transformercited by 170
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 153
- 2023Quantifying Context Mixing in Transformerscited by 43
- 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Surveycited by 25
- 2023MIMONets: Multiple-Input-Multiple-Output Neural Networks Exploiting Computation in Superpositioncited by 14
- 2023Homophone Disambiguation Reveals Patterns of Context Mixing in Speech Transformerscited by 13
- 2024Transformers Learn Low Sensitivity Functions: Investigations and Implicationscited by 13
- 2023MERGE: Fast Private Text Generationcited by 8
- 2024Vocabulary-Defined Semantics: Latent Space Clustering for Improving In-Context Learningcited by 7
- 2024From Neurons to Neutrons: A Case Study in Interpretabilitycited by 5
- 2024Clustering and Alignment: Understanding the Training Dynamics in Modular Additioncited by 5
- 2023Optimization and Interpretability of Graph Attention Networks for Small Sparse Graph Structures in Automotive Applicationscited by 3
12 most cited of 16 All 16 (JSON)
- 2026When Can Attention Heads Be Statically Defined?28 Sep 2026
- 2026Attention-guided Evidence Grounding for Spoken Question Answering17 Mar 2026
- 2024How Language Models Prioritize Contextual Grammatical Cues?4 Oct 2024
- 2024Clustering and Alignment: Understanding the Training Dynamics in Modular Addition18 Aug 2024
- 2024From Neurons to Neutrons: A Case Study in Interpretability27 May 2024
- 2024Transformers Learn Low Sensitivity Functions: Investigations and Implications11 Mar 2024
- 2024Vocabulary-Defined Semantics: Latent Space Clustering for Improving In-Context Learning29 Jan 2024
- 2023MIMONets: Multiple-Input-Multiple-Output Neural Networks Exploiting Computation in Superposition5 Dec 2023
- 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Survey1 Dec 2023
- 2023Homophone Disambiguation Reveals Patterns of Context Mixing in Speech Transformers15 Oct 2023
- 2023PMET: Precise Model Editing in a Transformer17 Aug 2023
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks30 Jun 2023
12 newest of 16 All 16 (JSON)