LEAP: Learnable Pruning for Transformer-based Models
Not on the map. Why?
Abstract (arXiv)
Pruning is an effective method to reduce the memory footprint and computational cost associated with large natural language processing models. However, current pruning algorithms either only focus on one pruning category, e.g., structured pruning and unstructured, or need extensive hyperparameter tuning in order to get reasonable accuracy performance. To address these challenges, we propose LEArnable Pruning (LEAP), an effective method to gradually prune the model based on thresholds learned by gradient descent. Different than previous learnable pruning methods, which utilize L0 or L1 penalty to indirectly affect the final pruning ratio, LEAP introduces a novel regularization function, that directly interacts with the preset target pruning ratio. Moreover, in order to reduce hyperparameter tuning, a novel adaptive regularization coefficient is deployed to control the regularization penalty adaptively. With the new regularization term and its associated adaptive regularization coefficient, LEAP is able to be applied for different pruning granularity, including unstructured pruning, structured pruning, and hybrid pruning, with minimal hyperparameter tuning. We apply LEAP for BERT models on QQP/MNLI/SQuAD for different pruning settings. Our result shows that for all datasets, pruning granularity, and pruning ratios, LEAP achieves on-par or better results as compared to previous heavily hand-tuned methods.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 46 of its 60 references that are in the map. First posted on arXiv 30 May 2021.
Builds on
46 of 60 references.
References · 46
- 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
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
34 more
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 802
- 2019Learned Step Size Quantizationcited by 604
- 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 596
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2017ThiNet: A Filter Level Pruning Method for Deep Neural Network Compressioncited by 438
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
- 2018AMC: AutoML for Model Compression and Acceleration on Mobile Devicescited by 375
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
- 2019Q8BERT: Quantized 8Bit BERTcited by 296
- 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
- 2017NISP: Pruning Networks using Neuron Importance Score Propagationcited by 228
- 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 228
- 2017Learning to Prune Deep Neural Networks via Layer-wise Optimal Brain Surgeoncited by 219
- 2019Structured Pruning of Large Language Modelscited by 201
- 2017Data-Driven Sparse Structure Selection for Deep Neural Networkscited by 181
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
- 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 152
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 145
- 2020When BERT Plays the Lottery, All Tickets Are Winningcited by 114
- 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 103
- 2020Masking as an Efficient Alternative to Finetuning for Pretrained Language Modelscited by 92
- 2019Playing the lottery with rewards and multiple languages: lottery tickets in RL and NLPcited by 73
- 2020Lookahead: A Far-Sighted Alternative of Magnitude-based Pruningcited by 61
- 2019Efficient 8-Bit Quantization of Transformer Neural Machine Language Translation Modelcited by 58
- 2020SqueezeBERT: What can computer vision teach NLP about efficient neural networks?cited by 50
- 2021Hessian-Aware Pruning and Optimal Neural Implantcited by 43
Built on by
Citing papers per year: 2023: 3; 2024: 2; 2025: 1.
6 papers.
- 2023What Matters In The Structured Pruning of Generative Language Models?cited by 30
- 2023Understanding INT4 Quantization for Transformer Models: Latency Speedup, Composability, and Failure Casescited by 23
- 2024A Comprehensive Survey of Compression Algorithms for Language Modelscited by 15
- 2023Accurate Retraining-free Pruning for Pretrained Encoder-based Language Modelscited by 11
- 2025Ensembling Pruned Attention Heads For Uncertainty-Aware Efficient Transformerscited by 5
- 2024Differentiable Model Scaling using Differentiable Topkcited by 2
- 2025Ensembling Pruned Attention Heads For Uncertainty-Aware Efficient Transformers21 Oct 2025
- 2024Differentiable Model Scaling using Differentiable Topk12 May 2024
- 2024A Comprehensive Survey of Compression Algorithms for Language Models27 Jan 2024
- 2023Accurate Retraining-free Pruning for Pretrained Encoder-based Language Models7 Aug 2023
- 2023What Matters In The Structured Pruning of Generative Language Models?7 Feb 2023
- 2023Understanding INT4 Quantization for Transformer Models: Latency Speedup, Composability, and Failure Cases27 Jan 2023