Pruning Attention Heads of Transformer Models Using A* Search: A Novel Approach to Compress Big NLP Architectures
Not on the map. Why?
Abstract (arXiv)
Recent years have seen a growing adoption of Transformer models such as BERT in Natural Language Processing and even in Computer Vision. However, due to their size, there has been limited adoption of such models within resource-constrained computing environments. This paper proposes novel pruning algorithm to compress transformer models by eliminating redundant Attention Heads. We apply the A* search algorithm to obtain a pruned model with strict accuracy guarantees. Our results indicate that the method could eliminate as much as 40% of the attention heads in the BERT transformer model with no loss in accuracy.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 14 of its 22 references that are in the map. First posted on arXiv 28 Oct 2021.
Builds on
14 of 22 references.
References · 14
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 596
- 2018Gender Bias in Coreference Resolutioncited by 438
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
- 2019Structured Pruning of Large Language Modelscited by 201
- 2020Compression of Deep Learning Models for Text: A Surveycited by 64
2 more
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 2; 2025: 0; 2026: 2.
6 papers.
- 2022Mokey: Enabling Narrow Fixed-Point Inference for Out-of-the-Box Floating-Point Transformer Modelscited by 16
- 2023What is Lost in Knowledge Distillation?cited by 2
- 2024STAT: Shrinking Transformers After Trainingcited by 2
- 2024Learning Content-Aware Multi-Modal Joint Input Pruning via Bird's-Eye-View Representationcited by 1
- 2026Greedy-Gnorm: A Gradient Matrix Norm-Based Alternative to Attention Entropy for Head Pruningcited by 1
- 2026Adaptive Head Budgeting for Efficient Multi-Head Attentioncited by 1
- 2026Adaptive Head Budgeting for Efficient Multi-Head Attention24 Apr 2026
- 2026Greedy-Gnorm: A Gradient Matrix Norm-Based Alternative to Attention Entropy for Head Pruning4 Feb 2026
- 2024Learning Content-Aware Multi-Modal Joint Input Pruning via Bird's-Eye-View Representation9 Oct 2024
- 2024STAT: Shrinking Transformers After Training29 May 2024
- 2023What is Lost in Knowledge Distillation?7 Nov 2023
- 2022Mokey: Enabling Narrow Fixed-Point Inference for Out-of-the-Box Floating-Point Transformer Models23 Mar 2022