Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Pruned
Open accessThe DOI matches its Crossref record; 34 of the 38 references it cites were found in a registry or an index.
Abstract
Multi-head self-attention is a key component of the Transformer, a state-of-the-art architecture for neural machine translation.In this work we evaluate the contribution made by individual attention heads in the encoder to the overall performance of the model and analyze the roles played by them.We find that the most important and confident heads play consistent and often linguistically-interpretable roles.When pruning heads using a method based on stochastic gates and a differentiable relaxation of the L 0 penalty, we observe that specialized heads are last to be pruned.Our novel pruning method removes the vast majority of heads without seriously affecting performance.For example, on the English-Russian WMT dataset, pruning 38 out of 48 encoder heads results in a drop of only 0.15 BLEU. 1
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures










Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“The authors then develop a gating mechanism to prune half of all the heads with less than 0.25 BLEU loss.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [92]
In the citing paper
“Voita et al. [92] first analyze the intrinsic properties and determine each head's importance to conclude that specific heads take specific roles.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [92]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404 · cited 8×
“We use regularization as described in (Vaswani et al., 2017).”
MethodInfluentialAdam: A Method for Stochastic Optimization
Kingma, D. P., & Ba, J. (2014) · arXiv · doi:10.48550/arxiv.1412.6980 · Cited by 98,946 · cited 1×
“We use the Adam optimizer (Kingma and Ba, 2015) with β 1 = 0 .”
MethodExploiting Generative AI to Scale up Intelligent Tutoring Systems
Jakubův, J., Chvalovský, K., Goertzel, Z., Kaliszyk, C., Olšák, M., Piotrowski, B., Schulz, S., Suda, M., & Urban, J. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.itp.2023.19 · Cited by 76,658
Auto-Encoding Variational Bayes
Kingma, D. P., & Welling, M. (2013) · arXiv · doi:10.48550/arxiv.1312.6114 · Cited by 20,067 · cited 1×
“The objective is easy to optimize: the reparameterization trick (Kingma and Welling, 2014; Rezende et al., 2014) can be used to backpropagate through the sampling process for each g i , whereas the regularizer and its gradients are available in the closed form.”
The Stanford CoreNLP Natural Language Processing Toolkit
Manning, C., Surdeanu, M., Bauer, J., Finkel, J., Bethard, S., & McClosky, D. (2014) · Proceedings of 52nd Annual Meeting of the Association for Computational Linguistics: System Demonstrations · doi:10.3115/v1/p14-5010 · Cited by 7,037 · cited 2×
“We evaluate to what extent each head in the Transformer’s encoder accounts for a specific dependency relation by comparing its attention weights to a predicted dependency structure generated using CoreNLP (Manning et al., 2014) on a large number of held-out sentences.”
MethodOn Pixel-Wise Explanations for Non-Linear Classifier Decisions by Layer-Wise Relevance Propagation
Bach, S., Binder, A., Montavon, G., Klauschen, F., Müller, K.-R., & Samek, W. (2015) · PLOS ONE · doi:10.1371/journal.pone.0130140 · Cited by 4,524 · cited 1×
“Layer-wise relevance propagation (LRP) was originally designed to compute the contributions of single pixels to predictions of image classi-fiers (Bach et al., 2015).”
Categorical Reparameterization with Gumbel-Softmax
Jang, E., Gu, S., & Poole, B. (2016) · arXiv · doi:10.48550/arxiv.1611.01144 · Cited by 3,616 · cited 2×
“Intuitively, the Hard Concrete distribution is obtained by stretching the binary version of the Concrete (aka Gumbel softmax) distribution (Maddison et al., 2017; Jang et al., 2017) from the original support of (0, 1) to (− , 1 + ) and then collapsing the probability mass assigned to (− , 1] and [1, 1 + ) to single po…”
Stochastic Backpropagation and Approximate Inference in Deep Generative Models
Rezende, D. J., Mohamed, S., & Wierstra, D. (2014) · arXiv (Cornell University) · doi:10.48550/arxiv.1401.4082 · Cited by 2,405
The Concrete Distribution: A Continuous Relaxation of Discrete Random Variables
Maddison, C. J., Mnih, A., & Teh, Y. W. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1611.00712 · Cited by 1,359 · cited 2×
“Intuitively, the Hard Concrete distribution is obtained by stretching the binary version of the Concrete (aka Gumbel softmax) distribution (Maddison et al., 2017; Jang et al., 2017) from the original support of (0 , 1) to ( − (cid:15), 1 + (cid:15) ) and then collapsing the probability mass…”
MethodTo prune, or not to prune: exploring the efficacy of pruning for model compression
Zhu, M., & Gupta, S. (2017) · arXiv · doi:10.48550/arxiv.1710.01878 · Cited by 805 · cited 1×
“This agrees with the observations made in works on model compression: sparse architectures learned through pruning cannot be trained from scratch to the same test set performance as a model trained with joint sparsification and optimization (Zhu and Gupta, 2017; Gale et al., 2019).”
Method
Research works printed but not linked: 3
- Hamidreza Ghader and Christof Monz. 2017. What does attention in neural machine translation pay at- tention to? In Proceedings of the Eighth Interna- tional Joint Conference on Natural Language Pro- cessing (Volume 1: Long Papers), pages 30-39. Asian Federation of Natural Language Processing.
- Rico Sennrich. 2017. How Grammatical is Character- level Neural Machine Translation? Assessing MT Quality with Contrastive Translation Pairs. In Pro- ceedings of the 15th Conference of the European Chapter of the Association for Computational Lin- guistics: Volume 2, Short Papers, pages 376-382, Valencia, Spain.
- Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016. Neural machine translation of rare words with subword units. In Proceedings of the 54th An- nual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1715- 1725, Berlin, Germany. Association for Computa- tional Linguistics. · DOI · Paper page
Cited by
Items 101–200 of 1,017
Usable XAI: 10 Strategies Towards Exploiting Explainability in the LLM Era
Wu, X.-S., Zhao, H.-Y., Zhu, Y.-C., Shi, Y.-C., Yang, F., Hu, L.-J., Liu, T.-M., Zhai, X., Yao, W., Li, J.-D., et al. (2024) · ACM Transactions on Knowledge Discovery from Data · doi:10.1145/3816150 · Cited by 106
Rethinking embedding coupling in pre-trained language modelsPreprint
Chung, H. W., Févry, T., Tsai, H., Johnson, M., & Ruder, S. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2010.12821 · Cited by 163
“Pruning approaches remove parts of the model, typically attention heads (Michel et al., 2019; Voita et al., 2019) while distillation approaches distill a large pre-trained model into a smaller one (Sun et al., 2020).”
BackgroundA Survey on Green Deep LearningPreprint
Xu, J., Zhou, W., Fu, Z., Zhou, H., & Li, L. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2111.05193 · Cited by 160
“Michel et al. (2019) and Voita et al. (2019) revealed that the multi-head attention mechanism in the transformer architecture led to redundant attention heads.”
BackgroundToward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networks
Räuker, T., Ho, A., Casper, S., & Hadfield-Menell, D. (2023) · 2023 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML) · doi:10.1109/satml54575.2023.00039 · Cited by 122
“Finally, transformers may have many frivolous, prunable attention heads [280], suggesting a further need for caution because not all heads may be worth interpreting.”
BackgroundTowards Faithful Model Explanation in NLP: A Survey
Lyu, Q., Apidianaki, M., & Callison-Burch, C. (2024) · Computational Linguistics · doi:10.1162/coli_a_00511 · Cited by 120
“Similar to previous findings in single sequence tasks, attention heads in MT also capture semantic and syntactic dependencies (Voita et al. 2018; Raganato and Tiedemann 2018; Voita et al. 2019).”
BackgroundMethodResultTransformer in reinforcement learning for decision-making: a survey
Yuan, W., Chen, J., Chen, S., Lu, L., Hu, Z., Li, P., Feng, D., Liu, F., & Chen, J. (2024) · Frontiers of Information Technology & Electronic Engineering · doi:10.1631/fitee.2300548 · Cited by 127
“Guided by general principles in deep learning, solid empirical studies (Voita et al., 2019; Takase et al., 2022) have analyzed the underlying factors (e.g., attention mechanism, feed-forward network, and layer normalization) behind Transformer’s success.”
Pfeiffer, J., Ruder, S., Vulić, I., & Ponti, E. M. (2023) · Transactions on machine learning research · doi:10.48550/arxiv.2302.11529 · Cited by 176
“In particular, MoE Transformers route to a subset of Feed-Forward Network (FFN) modules per layer instead of a single FFN.”
BackgroundMethodInfluentialExplainable and Interpretable Multimodal Large Language Models: A Comprehensive SurveyPreprint
Dang, Y., Huang, K., Huo, J., Yan, Y., Huang, S., Liu, D., Gao, M., Zhang, J., Chen, Q., Wang, K., et al. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2412.02104 · Cited by 139
“Voita et al. [273] analyzed individual attention heads, finding that only a few critical heads have interpretable functions, such as attending to adjacent words and tracking specific syntactic relationships.”
Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language ModelsPreprint
Chowdhury, A. G., Islam, M. M., Kumar, V., Shezan, F. H., Kumar, V., Jain, V., & Chadha, A. R. (2024) · arXiv · doi:10.13140/rg.2.2.22225.75362 · Cited by 139
Transformers in speech processing: Overcoming challenges and paving the future
Latif, S., Zaidi, S. A. M., Cuayáhuitl, H., Shamshad, F., Shoukat, M., Usama, M., & Qadir, J. (2025) · Computer Science Review · doi:10.1016/j.cosrev.2025.100768 · Cited by 126
DeLighT: Deep and Light-weight Transformer
Mehta, S., Ghazvininejad, M., Iyer, S. V., Zettlemoyer, L., & Hajishirzi, H. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2008.00623 · Cited by 43
“, BPE [29], adaptive inputs [30] and outputs [31], and DeFINE [32]) or (2) for improving efficiency (compression [33–35], pruning [36, 37], and distillation [38, 39]).”
BackgroundBrik, B., Chergui, H., Zanzi, L., Devoti, F., Ksentini, A., Siddiqui, M. S., Costa‐Pérez, X., & Verikoukis, C. V. (2024) · IEEE Communications Surveys & Tutorials · doi:10.1109/comst.2024.3510543 · Cited by 148
“However, both regulatory and manager users aim to get more details related to the compliance of AI models with the legislation in force to check and assess them.”
Li, Z., Wallace, E., Shen, S., Lin, K., Keutzer, K., Klein, D., & Gonzalez, J. E. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2002.11794 · Cited by 139
“It also may be possible to remove entire attention heads in addition to zeroing out weights (Michel et al., 2019; Voita et al., 2019).”
BackgroundBehind the Scene: Revealing the Secrets of Pre-trained Vision-and-Language Models
Cao, J., Gan, Z., Cheng, Y., Yu, L., Chen, Y.-C., & Liu, J. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-58539-6_34 · Cited by 161
Domain Adaptation and Multi-Domain Adaptation for Neural Machine Translation: A Survey
Saunders, D. (2022) · Journal of Artificial Intelligence Research · doi:10.1613/jair.1.13566 · Cited by 164
Liu, F., Vulić, I., Korhonen, A., & Collier, N. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.109 · Cited by 163
AdaBERT: Task-Adaptive BERT Compression with Differentiable Neural Architecture Search
Chen, D., Li, Y., Qiu, M., Wang, Z., Li, B., Ding, B., Deng, H., Huang, J., Lin, W., & Zhou, J. (2020) · Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2020/341 · Cited by 83
Fixed Encoder Self-Attention Patterns in Transformer-Based Machine Translation
Raganato, A., Scherrer, Y., & Tiedemann, J. (2020) · Findings of the Association for Computational Linguistics: EMNLP 2020 · doi:10.18653/v1/2020.findings-emnlp.49 · Cited by 86
AttentionViz: A Global View of Transformer Attention
Yeh, C. V., Chen, Y., Wu, A., Chen, C., Viégas, F. B., & WATTENBERG, M. P. (2023) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2023.3327163 · Cited by 163
“[55] shows that pruning the majority of attention heads in transformers may not significantly impact model performance, which perhaps can be partially attributed to this dominant null attention pattern.”
BackgroundToken Fusion: Bridging the Gap between Token Pruning and Token Merging
Kim, M., Gao, S., Hsu, Y.-C., Shen, Y., & Jin, H. (2024) · IEEE Winter Conference on Applications of Computer Vision · doi:10.1109/wacv57701.2024.00141 · Cited by 207
Broadband Solar Metamaterial Absorbers Empowered by Transformer‐Based Deep Learning
Chen, W., Gao, Y., Li, Y., Yan, Y., Ou, J., Ma, W., & Zhu, J. (2023) · Advanced Science · doi:10.1002/advs.202206718 · Cited by 121
Global Vision Transformer Pruning with Hessian-Aware Saliency
Yang, H., Yin, H., Shen, M., Molchanov, P. A., Li, H. H., & Kautz, J. (2023) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52729.2023.01779 · Cited by 201
“Interestingly, these trends are not observed in NLP transformer compression [26, 40].”
BackgroundLocal Multi-Head Channel Self-Attention for Facial Expression Recognition
Pecoraro, R., Basile, V., & Bono, V. (2022) · Information · doi:10.3390/info13090419 · Cited by 110
MRGAT: Multi-Relational Graph Attention Network for knowledge graph completion
Dai, G., Wang, X., Zou, X., Liu, C., & Cen, S. (2022) · Neural Networks · doi:10.1016/j.neunet.2022.07.014 · Cited by 107
A Fast Post-Training Pruning Framework for Transformers
Kwon, W., Kim, S., Mahoney, M. W., Hassoun, J., Keutzer, K., & Gholami, A. (2022) · neural information processing systems · doi:10.52202/068431-1750 · Cited by 271
Explainable deep learning in healthcare: A methodological survey from an attribution view
Jin, D., Sergeeva, E., Weng, W., Chauhan, G., & Szolovits, P. (2022) · WIREs Mechanisms of Disease · doi:10.1002/wsbm.1548 · Cited by 72
A Primer on Pretrained Multilingual Language Models
Doddapaneni, S., Ramesh, G., Khapra, M. M., Kunchukuttan, A., & Kumar, P. (2025) · ACM Computing Surveys · doi:10.1145/3727339 · Cited by 108
“One example is the analysis of the role of attention heads in encoding syntactic, semantic, or positional information (Voita et al., 2019).”
BackgroundHydra Attention: Efficient Attention with Many Heads
Bolya, D., Fu, C.-Y., Dai, X., Zhang, P., & Hoffman, J. (2023) · Lecture notes in computer science · doi:10.1007/978-3-031-25082-8_3 · Cited by 144
X-Pruner: eXplainable Pruning for Vision Transformers
Lu, Y., & Xiang, W. (2023) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52729.2023.02333 · Cited by 155
“[26] found that only a small portion of heads have a salient impact on model decisions.”
BackgroundDeep multi-scale pyramidal features network for supervised video summarization
Khan, H., Hussain, T., Khan, S. U., Khan, Z. A., & Baik, S. W. (2023) · Expert Systems with Applications · doi:10.1016/j.eswa.2023.121288 · Cited by 105
Analyzing Redundancy in Pretrained Transformer Models
Dalvi, F., Sajjad, H., Durrani, N., & Belinkov, Y. (2020) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.398 · Cited by 145
“For example, these models can be distilled (Sanh et al., 2019; Sun et al., 2019) or pruned (Voita et al., 2019; Sajjad et al., 2020), with a minor drop in performance.”
BackgroundSpatially Aware Multimodal Transformers for TextVQA
Kant, Y., Batra, D., Anderson, P., Schwing, A. G., Parikh, D., Lu, J., & Agrawal, H. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-58545-7_41 · Cited by 120
Adaptively Sparse Transformers
Correia, G. M., Niculae, V., & Martins, A. F. T. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1909.00015 · Cited by 16
“As suggested by recent works on interpreting attention head roles, separate attention heads may learn to look for various relationships between tokens (Tang et al., 2018; Raganato and Tiedemann, 2018; Mareček and Rosa, 2018; Tenney et al., 2019; Voita et al., 2019).”
BackgroundInfluentialDiwali, A., Saeedi, K., Dashtipour, K. K., Gogate, M., Cambria, E., & Hussain, A. (2023) · IEEE Transactions on Affective Computing · doi:10.1109/taffc.2023.3296373 · Cited by 115
“2) Attention Mechanism Method: Attention mechanisms play a crucial role in explaining the model, and their weights are used as a proxy to explain model decisions [57].”
MethodTabi: An Efficient Multi-Level Inference System for Large Language Models
Wang, Y., Chen, K., Tan, H., & Guo, K. (2023) · European Conference on Computer Systems · doi:10.1145/3552326.3587438 · Cited by 149
“Research also suggests that for less demanding tasks, especially on edge devices, such large DNNs are not necessary when much smaller models might suffice [27, 70].”
BackgroundVisualizing Transformers for NLP: A Brief Survey
Brasoveanu, A. M. P., & Andonie, R. (2020) · 2020 24th International Conference Information Visualisation (IV) · doi:10.1109/iv51561.2020.00051 · Cited by 84
Dong, Z., Jiang, Y., Jiao, W., Zhang, F., Wang, Z., Huang, J., Wang, X., & Zhang, K. (2025) · Advanced Engineering Informatics · doi:10.1016/j.aei.2024.103004 · Cited by 93
Interpreting CLIP's Image Representation via Text-Based Decomposition
Gandelsman, Y., Efros, A. A., & Steinhardt, J. (2024) · International Conference on Learning Representations · doi:10.48550/arxiv.2310.05916 · Cited by 164
“A widely used class of explainability methods produces heatmaps to highlight parts in the input image that are most significant to the model output (Selvaraju et al., 2017; Sundararajan et al., 2017; Binder et al., 2016; Voita et al., 2019; Lundberg & Lee, 2017; Chefer et al., 2021).”
MethodRobust Multimodal Failure Detection for Microservice Systems
Zhao, C., Ma, M., Zhong, Z., Zhang, S., Tan, Z., Xiong, X., Yu, L., Feng, J., Sun, Y., Zhang, Y., et al. (2023) · Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining · doi:10.1145/3580305.3599902 · Cited by 69
“If H is too small, the performance of AnoFusion will slightly degrade due to the decrease in model size; if H is too large, more redundant information may be generated, interfering with the training of AnoFusion [38].”
BackgroundInteractive Natural Language ProcessingPreprint
Wang, Z.-K., Zhang, G., Yang, K., Shi, N., Zhou, W., Hao, S.-C., Xiong, G., Li, Y., Sim, M. Y., Chen, X., et al. (2023) · arXiv.org · doi:10.48550/arxiv.2305.13246 · Cited by 51
Mechanistically analyzing the effects of fine-tuning on procedurally defined tasks
Jain, S., Kirk, R., Lubana, E. S., Dick, R. P., Tanaka, H., Grefenstette, E., Rocktäschel, T., & Krueger, D. S. (2023) · arXiv · doi:10.48550/arxiv.2311.12786 · Cited by 4
On the Computational Power of Transformers and Its Implications in Sequence Modeling
Bhattamishra, S., Patel, A., & Goyal, N. (2020) · Proceedings of the 24th Conference on Computational Natural Language Learning · doi:10.18653/v1/2020.conll-1.37 · Cited by 32
EarlyBERT: Efficient BERT Training via Early-bird Lottery Tickets
Chen, X., Cheng, Y., Wang, S., Gan, Z., Wang, Z., & Liu, J. (2021) · Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) · doi:10.18653/v1/2021.acl-long.171 · Cited by 46
“Some studies (Michel et al., 2019; Voita et al., 2019) find that the multi-head self-attention module of transformer can be redundant, presenting the possibility of pruning some heads from each layer of BERT without hurting model capacity.”
BackgroundA Survey on Model Compression and Acceleration for Pretrained Language Models
Xu, C., & McAuley, J. (2023) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v37i9.26255 · Cited by 58
“Michel, Levy, and Neubig (2019) and Voita et al. (2019) find that the multi-head attention in Transformer has redundancy.”
BackgroundEdge Computation Offloading With Content Caching in 6G-Enabled IoV
Zhou, X., Bilal, M., Dou, R., Rodrigues, J. J. P. C., Zhao, Q., Dai, J., & Xu, X. (2023) · IEEE Transactions on Intelligent Transportation Systems · doi:10.1109/tits.2023.3239599 · Cited by 90
“Since multi-head attention can form multiple subspaces to capture richer features and information [36], it is adopted in the transformer.”
BackgroundTransformers for Vision: A Survey on Innovative Methods for Computer Vision
Palanisamy, B., Hassija, V., Chatterjee, A., Mandal, A., Chakraborty, D., Pandey, A., Chalapathi, G. S. S., & Kumar, D. (2025) · IEEE Access · doi:10.1109/access.2025.3571735 · Cited by 83
“To enhance the model’s ability to capture different types of relationship, Transformers use multi-head self-attention (MHSA) [10].”
Inductive reasoning in humans and large language models
Han, S. J., Ransom, K. J., Perfors, A., & Kemp, C. (2024) · Cognitive Systems Research · doi:10.1016/j.cogsys.2023.101155 · Cited by 50
Red Alarm for Pre-trained Models: Universal Vulnerability to Neuron-level Backdoor Attacks
Zhang, Z., Xiao, G., Li, Y., Lv, T. S., Qi, F., Liu, Z., Wang, Y., Jiang, X., & Sun, M. (2023) · Machine Intelligence Research · doi:10.1007/s11633-022-1377-5 · Cited by 120
“Meanwhile, since PTMs with a large number of parameters are usually overparameterized [10], PTMs can learn both backdoor functionality and good representation ability simultaneously, which makes the backdoor evasive.”
BackgroundA Historical Survey of Advances in Transformer Architectures
Sajun, A. R., Zualkernan, I. A., & Sankalpa, D. (2024) · Applied Sciences · doi:10.3390/app14104316 · Cited by 91
“The formulation for this network can be seen in Equation (3).”
BackgroundTransformer technology in molecular science
Jian, J., Ke, L., Chen, L., Dou, B., Zhu, Y., Liu, J., Zhang, B., Zhou, T., & Wei, G. (2024) · Wiley Interdisciplinary Reviews Computational Molecular Science · doi:10.1002/wcms.1725 · Cited by 99
“In order to gain insight into the construction of the transformer, we next describe each of these key blocks.”
Explainable artificial intelligence (XAI): From inherent explainability to large language models
Mumuni, F., & Mumuni, A. (2026) · Array · doi:10.1016/j.array.2026.101133 · Cited by 5
What do you mean, BERT? Assessing BERT as a Distributional Semantics ModelPreprint
Mickus, T., Paperno, D., Constant, M., & van Deemter, K. (2019) · arXiv (Cornell University) · doi:10.7275/t778-ja71 · Cited by 88
“Other works (Raganato and Tiede-mann, 2018; Hewitt and Manning, 2019; Clark et al., 2019; Voita et al., 2019; Michel et al., 2019) have introduced specific procedures to understand how attention-based architectures function on a mechanical level.”
BackgroundResultInfluentialFinding Skill Neurons in Pre-trained Transformer-based Language Models
Wang, X., Wen, K., Zhang, Z., Hou, L., Liu, Z., & Li, J. (2022) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2022.emnlp-main.765 · Cited by 161
Analyzing the Source and Target Contributions to Predictions in Neural Machine Translation
Voita, E., Sennrich, R., & Titov, I. (2021) · Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) · doi:10.18653/v1/2021.acl-long.91 · Cited by 61
Self-citationData Movement Is All You Need: A Case Study on Optimizing Transformers
Ivanov, A., Dryden, N., Ben-Nun, T., Li, S., & Hoefler, T. (2020) · arXiv · doi:10.48550/arxiv.2007.00072 · Cited by 78
“Pruning (Shazeer, 2019; Voita et al., 2019) and distillation (Sanh et al., 2019) has also been used to accelerate inference.”
MethodOn the Word Alignment from Neural Machine Translation
Li, X., Li, G., Liu, L., Meng, M. Q. ‐., & Shi, S. (2019) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/p19-1124 · Cited by 107
“However, for higher layers the representational redundancy is accumulated (Voita et al., 2019; Michel et al., 2019) for phrases or other larger meaning spans in the input, so attention is not capturing word-to-word align but more complicated semantic correspondence.”
BackgroundexBERT: A Visual Analysis Tool to Explore Learned Representations in Transformers Models
Hoover, B., Strobelt, H., & Gehrmann, S. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1910.05276 · Cited by 40
An overview: Attention mechanisms in multi-agent reinforcement learning
Hu, K., Xu, K., Xia, Q., Li, M., Song, Z., Song, L., & Sun, N. (2024) · Neurocomputing · doi:10.1016/j.neucom.2024.128015 · Cited by 96
Poor Man's BERT: Smaller and Faster Transformer Models.Preprint
Sajjad, H., Dalvi, F., Durrani, N., & Nakov, P. (2020) · arXiv (Cornell University) · Cited by 102
Lai, T. (2024) · BioMedInformatics · doi:10.3390/biomedinformatics4010008 · Cited by 90
Ansari, M. Y., Yaqoob, M., Ishaq, M., Flushing, E. F., Mangalote, I. A. C., Dakua, S. P., Aboumarzouk, O. M., Righetti, R., & Qaraqe, M. (2025) · Artificial Intelligence Review · doi:10.1007/s10462-025-11259-x · Cited by 88
“Multiple self-attention mechanisms in parallel can allow the transformer model to attend to different aspects of the ECG signal (Voita et al. 2019).”
How do Decisions Emerge across Layers in Neural Models? Interpretation with Differentiable Masking
De Cao, N., Schlichtkrull, M. S., Aziz, W., & Titov, I. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.262 · Cited by 75
Self-citationUnderstanding Attention for Text Classification
Sun, X., & Lu, W. (2020) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2020.acl-main.312 · Cited by 94
“Moreover, Michel et al. (2019) and Voita et al. (2019) examined the multi-head self-attention mechanism on Transformer-based models, particularly the roles played by the heads.”
BackgroundCo-attention network with label embedding for text classification
Liu, M., Liu, L., Cao, J., & Du, Q. (2021) · Neurocomputing · doi:10.1016/j.neucom.2021.10.099 · Cited by 81
“Note that some of the attention heads in the multi-head attention module turn out to be redundant and this issue has been studied in some literature [52,53].”
BackgroundMuformer: A long sequence time-series forecasting model based on modified multi-head attention
Zeng, P., Hu, G., Zhou, X., Li, S., Liu, P., & Liu, S. (2022) · Knowledge-Based Systems · doi:10.1016/j.knosys.2022.109584 · Cited by 86
Comprehensive review of Transformer‐based models in neuroscience, neurology, and psychiatry
Cong, S., Wang, H., Zhou, Y., Wang, Z., Yao, X., & Yang, C. (2024) · Brain‐X · doi:10.1002/brx2.57 · Cited by 83
Are Pre-trained Language Models Aware of Phrases? Simple but Strong Baselines for Grammar Induction
Kim, T., Choi, J., Edmiston, D., & Lee, S.-G. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2002.00737 · Cited by 32
“In detail, one group of studies (Raganato & Tiedemann (2018); Clark et al. (2019); Ethayarajh (2019); Hao et al. (2019); Voita et al. (2019), inter alia) has focused on dissecting the intermediate representations and attention distributions of the pre-trained LMs, while the another group of…”
BackgroundModeling Global and Local Node Contexts for Text Generation from Knowledge Graphs
Ribeiro, L. F. R., Zhang, Y., Gardent, C., & Gurevych, I. (2020) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00332 · Cited by 94
An Overview of Language Models: Recent Developments and Outlook
Wei, C., Wang, Y.-C., Wang, B., & Kuo, C. ‐. J. (2024) · APSIPA Transactions on Signal and Information Processing · doi:10.1561/116.00000010 · Cited by 86
“Examples include model pruning [136, 137, 138], knowledge distillation [139, 44, 140], low rank matrix approximation [78, 141, 142], and parameter sharing [143, 144, 145].”
BackgroundFu, Y., Cai, Z.-F., Asi, A., Xiong, W., Dong, Y., & Xiao, W. (2024) · International Conference on Learning Representations · doi:10.48550/arxiv.2410.19258 · Cited by 131
“Inspired by prior observations (Voita et al., 2019; Wu et al., 2024; Zheng et al., 2024) that attention heads vary in importance for generation, we propose HeadKV, a head-level KV cache compression method that allocates KV cache budgets based on head importance distribution using a novel retrieval…”
Similarity Analysis of Contextual Word Representation Models
Wu, J., Belinkov, Y., Sajjad, H., Durrani, N., Dalvi, F., & Glass, J. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.422 · Cited by 52
What Context Features Can Transformer Language Models Use?
O’Connor, J., & Andreas, J. (2021) · Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) · doi:10.18653/v1/2021.acl-long.70 · Cited by 35
“Some recent work that investigates the behavior of individual transformer attention heads (Clark et al., 2019; Voita et al., 2019).”
BackgroundDeViT: Decomposing Vision Transformers for Collaborative Inference in Edge Devices
Xu, G., Hao, Z., Luo, Y., Hu, H., An, J., & Mao, S. (2023) · IEEE Transactions on Mobile Computing · doi:10.1109/tmc.2023.3315138 · Cited by 85
“In the multiheaded self-attention module, different heads can capture various semantic information [20].”
The Explainability of Transformers: Current Status and Directions
Fantozzi, P., & Naldi, M. (2024) · Computers · doi:10.3390/computers13040092 · Cited by 85
Attend What You Need: Motion-Appearance Synergistic Networks for Video Question Answering
Seo, A., Kang, G.-C., Park, J., & Zhang, B. (2021) · doi:10.18653/v1/2021.acl-long.481 · Cited by 80
“For machine translation, the Transformer architecture first introduced by Vaswani et al. (2017), utilizes multi-head self-attention that captures diverse aspects in the input features (Voita et al., 2019).”
The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models
Kurtic, E., Campos, D., Nguyen, T., Frantar, E., Kurtz, M., Fineran, B., Goin, M., & Alistarh, D. (2022) · Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2022.emnlp-main.279 · Cited by 65
Graph Fusion Network for Text Classification
Dai, Y., Shou, L., Gong, M., Xia, X., Kang, Z., Xu, Z., & Jiang, D. (2021) · Knowledge-Based Systems · doi:10.1016/j.knosys.2021.107659 · Cited by 73
Information Flow Routes: Automatically Interpreting Language Models at Scale
Ferrando, J., & Voita, E. (2024) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2024.emnlp-main.965 · Cited by 130
Self-citationSpeculative Decoding with Big Little Decoder
Kim, S., Mangalam, K., Moon, S., Malik, J., Mahoney, M. W., Gholami, A., & Keutzer, K. (2023) · Neural Information Processing Systems · doi:10.52202/075280-1705 · Cited by 224
“Well-known approaches include efficient architecture design [26, 33, 36, 60, 67, 75], quantization [9, 31, 54, 74, 79, 81, 82], pruning [12, 14, 34, 35, 42, 49, 64], and neural architecture search [5, 56, 57, 66, 76, 80].”
MethodHard-Coded Gaussian Attention for Neural Machine Translation
You, W., Sun, S., & Iyyer, M. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.687 · Cited by 57
Token Merging: Your ViT But Faster
Bolya, D., Fu, C.-Y., Dai, X., Zhang, P., Feichtenhofer, C., & Hoffman, J. (2022) · arXiv · doi:10.48550/arxiv.2210.09461 · Cited by 140
“…al., 2020; Shen et al., 2021; Dao et al., 2022; Wang et al., 2020; Bolya et al., 2022), some attempt to prune heads or features (Meng et al., 2022; Voita et al., 2019; Michel et al., 2019), and some attempt to infuse domain-specific modules (Mehta & Rastegari, 2021; Graham et al., 2021; Liu et…”
BackgroundTraining-free Transformer Architecture Search
Zhou, Q., Sheng, K., Zheng, X., Li, K., Sun, X., Tian, Y., Chen, J., & Ji, R. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.01062 · Cited by 64
“Vision Transformer (ViT) [19,38,43] has shown its competitiveness in the computer vision community recently, and Bottom : The design and computation cost of existing methods, i.e ., AutoFormer [4] and PiT [17], and the proposed TF-TAS. has been an important research hot-spot.”
BackgroundInfluentialCausal Graph Attention Network with Disentangled Representations for Complex Systems Fault Detection
Liu, J., Zheng, S., & Wang, C. (2023) · Reliability Engineering & System Safety · doi:10.1016/j.ress.2023.109232 · Cited by 64
Mixture of Attention Heads: Selecting Attention Heads Per Token
Zhang, X., Shen, Y., Huang, Z., Zhou, J., Rong, W., & Zhang, X. (2022) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2022.emnlp-main.278 · Cited by 101
Interpreting Deep Learning Models in Natural Language Processing: A ReviewPreprint
Sun, X., Yang, D., Li, X., Zhang, T., Meng, Y., Qiu, H., Wang, G., Hovy, E. H., & Li, J. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2110.10470 · Cited by 84
“[196] investigated in depth the linguistic roles different heads play through attention patterns on the machine translation task.”
BackgroundA Fast Post-Training Pruning Framework for Transformers
Kwon, W., Kim, S., Mahoney, M. W., Hassoun, J., Keutzer, K., & Gholami, A. (2022) · arXiv · doi:10.48550/arxiv.2204.09656 · Cited by 64
“Furthermore, as more coarse-grained methods, attention head pruning [51, 77] and layer dropping [15, 62] have been popularly used.”
BackgroundGuerreiro, N. M., Voita, E., & Martins, A. (2023) · Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics · doi:10.18653/v1/2023.eacl-main.75 · Cited by 63
Self-citationJin, X., Zhou, J., Rao, Y., Zhang, X., Wu, Z., Ba, W., Zhou, X., & Zhang, T. (2023) · Geoderma · doi:10.1016/j.geoderma.2023.116555 · Cited by 67
Let’s Play Mono - Poly : BERT Can Reveal Words’ Polysemy Level and Partitionability into Senses
Soler, A. G., & Apidianaki, M. (2021) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00400 · Cited by 88
“Their success has motivated a large number of studies exploring what these models actually learn about language (Voita et al., 2019a; Clark et al., 2019; Voita et al., 2019b; Tenney et al., 2019).”
BackgroundOn Identifiability in Transformers
Brunner, G., Liu, Y., Pascual, D., Richter, O., Ciaramita, M., & Wattenhofer, R. P. (2020) · International Conference on Learning Representations · Cited by 96
Mixed SIGNals: Sign Language Production via a Mixture of Motion Primitives
Saunders, B., Camgöz, N. C., & Bowden, R. (2021) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv48922.2021.00193 · Cited by 101
“Combining transformers with MoEs is motivated by research that suggests transformer networks are overparame-terised [42, 65].”
BackgroundA Study of the Attention Abnormality in Trojaned BERTs
Lyu, W., Zheng, S., Ma, T., & Chen, C. (2022) · Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) · doi:10.18653/v1/2022.naacl-main.348 · Cited by 97
Wang, Z., Fang, Y., Cao, J., Zhang, Q., Wang, Z., & Xu, R. (2023) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.00169 · Cited by 127
“Furthermore, neural network models possess lots of redundant connections: prior works reveal that the redundancy in the self-attention module of Trans-formers can be pruned without significantly impacting performance [33, 48].”
Visualizing and Understanding Patch Interactions in Vision Transformer
Ma, J., Bai, Y., Zhong, B., Zhang, W., Yao, T., & Mei, T. (2023) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2023.3270479 · Cited by 80
“Meanwhile, through an analysis of similarity of attention scores by different layers and heads, the ability of interaction representation is not consistent [20,24,25,36].”
BackgroundSparsity in transformers: A systematic literature review
Farina, M., Ahmad, U., Taha, A. T. M., Younes, H., Mesbah, Y., Yu, X., & Pedrycz, W. (2024) · Neurocomputing · doi:10.1016/j.neucom.2024.127468 · Cited by 72
Super Tickets in Pre-Trained Language Models: From Model Compression to Improving Generalization
Liang, C., Zuo, S., Chen, M., Jiang, H., Liu, X., He, P., Zhao, T., & Chen, W. (2021) · doi:10.18653/v1/2021.acl-long.510 · Cited by 82
“We leave other importance measures and pruning schedules, which may help identifying better generalized super tickets, for future works (Voita et al., 2019; Behnke and Heafield, 2020; Wang et al., 2019; Fan et al., 2019; Zhou et al., 2020; Sajjad et al., 2020).”
Medical Image Segmentation Using Transformer Networks
Karimi, D., Dou, H., & Gholipour, A. (2022) · IEEE Access · doi:10.1109/access.2022.3156894 · Cited by 60
“Similar results have been reported in natural language processing applications [51].”
ResultNemavhola, A., Chibaya, C., & Viriri, S. (2025) · Information · doi:10.3390/info16020107 · Cited by 66
“Rather than employing a single set of attention weights, multi-head attention employs many sets (or “heads”) to capture various relationships or aspects in the data [88].”
When Large Language Models Meet Evolutionary Algorithms: Potential Enhancements and Challenges
Wang, C., Zhao, J., Jiao, L., Li, L., Liu, F., & Yang, S. (2025) · Research · doi:10.34133/research.0646 · Cited by 77
“√ Many studies show that the learned attention matrix is sparse [ 45 – 47 ].”
Metadata
- Authors
- Voita, E., Talbot, D., Moiseev, F., Sennrich, R., & Titov, I.
- Affiliations
- Yandex (Russia) (RU)
- Moscow Institute of Physics and Technology (RU)
- University of Zurich (CH)
- University of Amsterdam (NL)
- Corresponding author
- Moiseev, Fedor
- Venue
- Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics
- Published
- 2019
- Pages
- 5797-5808
- ISSN
- 0736-587X (ISSN-L)
- OpenAlex
- W2946794439
- Semantic Scholar
- 07a64686ce8e43ac475a8d820a8a9f1d87989583
- Cited by
- 1,146
- References
- 38
- Citations by year
- 2026: 101 · 2025: 184 · 2024: 182 · 2023: 201 · 2022: 123 · 2021: 190 · 2020: 129 · 2019: 36
- FWCI
- 45.81
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by
- Locations
- Proceedings of the conference - Association for Computational Linguistics. Meeting (publishedVersion, cc-by)
- Zurich Open Repository and Archive (University of Zurich) (acceptedVersion, other-oa)
- arXiv (Cornell University) (submittedVersion)
- UvA-DARE (University of Amsterdam) (submittedVersion, cc-by)
- Data Archiving and Networked Services (DANS) (submittedVersion, other-oa)
- Edinburgh Research Explorer (University of Edinburgh) (submittedVersion, cc-by)
- Zurich Open Repository and Archive (University of Zurich) (submittedVersion, cc-by)
- arXiv (Cornell University)
- Zurich Open Repository and Archive (University of Zurich)
- Funders
- National Science Foundation
- Nederlandse Organisatie voor Wetenschappelijk Onderzoek (639.022.518)
- H2020 European Research Council (678254)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Keywords
- multi-head self-attention, attention head pruning, Transformer encoder, neural machine translation, English-Russian translation
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.