Prune Once for All: Sparse Pre-Trained Language Models
Not on the map. Why?
Abstract (arXiv)
Transformer-based language models are applied to a wide range of applications in natural language processing. However, they are inefficient and difficult to deploy. In recent years, many compression algorithms have been proposed to increase the implementation efficiency of large Transformer-based models on target hardware. In this work we present a new method for training sparse pre-trained Transformer language models by integrating weight pruning and model distillation. These sparse pre-trained models can be used to transfer learning for a wide range of tasks while maintaining their sparsity pattern. We demonstrate our method with three known architectures to create sparse pre-trained BERT-Base, BERT-Large and DistilBERT. We show how the compressed sparse pre-trained models we trained transfer their knowledge to five different downstream natural language tasks with minimal accuracy loss. Moreover, we show how to further compress the sparse models' weights to 8bit precision using quantization-aware training. For example, with our sparse pre-trained BERT-Large fine-tuned on SQuADv1.1 and quantized to 8bit we achieve a compression ratio of 40X for the encoder with less than 1% accuracy loss. To the best of our knowledge, our results show the best compression-to-accuracy ratio for BERT-Base, BERT-Large, and DistilBERT.
Key facts. Cited by 66 papers in the map (data through 7 Oct 2026). Builds on 29 of its 35 references that are in the map. First posted on arXiv 10 Nov 2021.
Builds on
29 of 35 references.
References · 29
- 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
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 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
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
17 more
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 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
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
- 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
- 2021I-BERT: Integer-only BERT Quantizationcited by 250
- 2020Comparing Rewinding and Fine-tuning in Neural Network Pruningcited by 238
- 2021Accelerating Sparse Deep Neural Networkscited by 213
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
- 2021Block Pruning For Faster Transformerscited by 176
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 145
- 2020FastFormers: Highly Efficient Transformer Models for Natural Language Understandingcited by 28
Built on by
Citing papers per year: 2022: 10; 2023: 30; 2024: 18; 2025: 8.
66 papers.
Sort:
By area:
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
- 2023A Survey on Deep Neural Network Pruning-Taxonomy, Comparison, Analysis, and Recommendationscited by 200
- 2022Structured Pruning Learns Compact and Accurate Modelscited by 167
- 2022The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Modelscited by 115
- 2023Fluctuation-based Adaptive Structured Pruning for Large Language Modelscited by 110
- 2023Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policycited by 104
- 2022PLATON: Pruning Large Transformer Models with Upper Confidence Bound of Weight Importancecited by 79
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 2023Compressing LLMs: The Truth is Rarely Pure and Never Simplecited by 59
- 2024Localize-and-Stitch: Efficient Model Merging via Sparse Task Arithmeticcited by 50
- 2022LightHuBERT: Lightweight and Configurable Speech Representation Learning with Once-for-All Hidden-Unit BERTcited by 45
38 more
- 2024MoDeGPT: Modular Decomposition for Large Language Model Compressioncited by 45
- 2024ExeGPT: Constraint-Aware Resource Scheduling for LLM Inferencecited by 43
- 2023The Emergence of Essential Sparsity in Large Pre-trained Models: The Weights that Mattercited by 42
- 2024CATS: Contextually-Aware Thresholding for Sparsity in Large Language Modelscited by 41
- 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
- 2023What Matters In The Structured Pruning of Generative Language Models?cited by 30
- 2023Sparsity May Cry: Let Us Fail (Current) Sparse Neural Networks Together!cited by 27
- 2023HomoDistil: Homotopic Task-Agnostic Distillation of Pre-trained Transformerscited by 25
- 2023Visual Prompting Upgrades Neural Network Sparsification: A Data-Model Perspectivecited by 23
- 2024Unveiling Linguistic Regions in Large Language Modelscited by 22
- 2024A Provably Effective Method for Pruning Experts in Fine-tuned Sparse Mixture-of-Expertscited by 21
- 2023Text-Visual Prompting for Efficient 2D Temporal Video Groundingcited by 18
- 2023BinaryViT: Pushing Binary Vision Transformers Towards Convolutional Modelscited by 17
- 2023One-Shot Sensitivity-Aware Mixed Sparsity Pruning for Large Language Modelscited by 16
- 2022Dynamic Sparse Training via Balancing the Exploration-Exploitation Trade-offcited by 15
- 2022LiteTransformerSearch: Training-free Neural Architecture Search for Efficient Language Modelscited by 14
- 2022GMP*: Well-Tuned Gradual Magnitude Pruning Can Outperform Most BERT-Pruning Methodscited by 14
- 2023Junk DNA Hypothesis: Pruning Small Pre-Trained Weights Irreversibly and Monotonically Impairs "Difficult" Downstream Tasks in LLMscited by 13
- 2024MULTIFLOW: Shifting Towards Task-Agnostic Vision-Language Pruningcited by 13
- 2023SparseProp: Efficient Sparse Backpropagation for Faster Training of Neural Networkscited by 12
- 2023PDP: Parameter-free Differentiable Pruning is All You Needcited by 12
- 2023Accurate Neural Network Pruning Requires Rethinking Sparse Optimizationcited by 10
- 2024HW-GPT-Bench: Hardware-Aware Architecture Benchmark for Language Modelscited by 10
- 2023Large Multimodal Model Compression via Efficient Pruning and Distillation at AntGroupcited by 8
- 2024On the Limitations of Language Targeted Pruning: Investigating the Calibration Language Impact in Multilingual LLM Pruningcited by 6
- 2023MUX-PLMs: Data Multiplexing for High-throughput Language Modelscited by 4
- 2025Pruning Large Language Models by Identifying and Preserving Functional Networkscited by 4
- 2023Ternary Singular Value Decomposition as a Better Parameterized Form in Linear Mappingcited by 3
- 2024VTrans: Accelerating Transformer Compression with Variational Information Bottleneck based Pruningcited by 3
- 2024MCUBERT: Memory-Efficient BERT Inference on Commodity Microcontrollerscited by 3
- 2025How Many Parameters Does Your Task Really Need? Task Specific Pruning with LLM-Sievecited by 3
- 2022Fast DistilBERT on CPUscited by 2
- 2023AttMEMO : Accelerating Transformers with Memoization on Big Memory Systemscited by 2
- 2023Vision Models Can Be Efficiently Specialized via Few-Shot Task-Aware Compressioncited by 2
- 2023An Efficient Sparse Inference Software Accelerator for Transformer-based Language Models on CPUscited by 2
- 2023How to Prune Your Language Model: Recovering Accuracy on the "Sparsity May Cry'' Benchmarkcited by 2
- 2025FineScope : SAE-guided Data Selection Enables Domain Specific LLM Pruning and Finetuningcited by 2
- 2025Recover-LoRA: Data-Free Accuracy Recovery of Degraded Language Models via Low-Rank Adaptationcited by 2
50 most cited of 66 All 66 (JSON)
- 2025Recover-LoRA: Data-Free Accuracy Recovery of Degraded Language Models via Low-Rank Adaptation6 Oct 2025
- 2025Interpret, prune and distill Donut : towards lightweight VLMs for VQA on document30 Sep 2025
- 2025EGGS-PTP: An Expander-Graph Guided Structured Post-training Pruning Method for Large Language Models13 Aug 2025
- 2025Pruning Large Language Models by Identifying and Preserving Functional Networks7 Aug 2025
- 2025How Many Parameters Does Your Task Really Need? Task Specific Pruning with LLM-Sieve23 May 2025
- 2025Latent Flow Transformer20 May 2025
- 2025FineScope : SAE-guided Data Selection Enables Domain Specific LLM Pruning and Finetuning1 May 2025
- 2025Systematic Weight Evaluation for Pruning Large Language Models: Enhancing Performance and Sustainability24 Feb 2025
- 2024Magnitude Pruning of Large Pretrained Transformer Models with a Mixture Gaussian Prior1 Nov 2024
- 2024On the Impact of White-box Deployment Strategies for Edge AI on Latency and Model Performance1 Nov 2024
- 2024MCUBERT: Memory-Efficient BERT Inference on Commodity Microcontrollers23 Oct 2024
- 2024Application Specific Compression of Deep Learning Models9 Sep 2024
38 more
- 2024On the Limitations of Language Targeted Pruning: Investigating the Calibration Language Impact in Multilingual LLM Pruning26 Aug 2024
- 2024Localize-and-Stitch: Efficient Model Merging via Sparse Task Arithmetic24 Aug 2024
- 2024MoDeGPT: Modular Decomposition for Large Language Model Compression19 Aug 2024
- 2024Evaluating Zero-Shot Long-Context LLM Compression10 Jun 2024
- 2024VTrans: Accelerating Transformer Compression with Variational Information Bottleneck based Pruning7 Jun 2024
- 2024A Provably Effective Method for Pruning Experts in Fine-tuned Sparse Mixture-of-Experts26 May 2024
- 2024HW-GPT-Bench: Hardware-Aware Architecture Benchmark for Language Models16 May 2024
- 2024CATS: Contextually-Aware Thresholding for Sparsity in Large Language Models12 Apr 2024
- 2024MULTIFLOW: Shifting Towards Task-Agnostic Vision-Language Pruning8 Apr 2024
- 2024Separate, Dynamic and Differentiable (SMART) Pruner for Block/Output Channel Pruning on Computer Vision Tasks29 Mar 2024
- 2024SEVEN: Pruning Transformer Model by Reserving Sentinels19 Mar 2024
- 2024ExeGPT: Constraint-Aware Resource Scheduling for LLM Inference15 Mar 2024
- 2024Unveiling Linguistic Regions in Large Language Models22 Feb 2024
- 2024Model Compression and Efficient Inference for Large Language Models: A Survey15 Feb 2024
- 2023How to Prune Your Language Model: Recovering Accuracy on the "Sparsity May Cry'' Benchmark21 Dec 2023
- 2023Fluctuation-based Adaptive Structured Pruning for Large Language Models19 Dec 2023
- 2023Large Multimodal Model Compression via Efficient Pruning and Distillation at AntGroup10 Dec 2023
- 2023Visual Prompting Upgrades Neural Network Sparsification: A Data-Model Perspective3 Dec 2023
- 2023DONUT-hole: DONUT Sparsification by Harnessing Knowledge and Optimizing Learning Efficiency9 Nov 2023
- 2023One-Shot Sensitivity-Aware Mixed Sparsity Pruning for Large Language Models14 Oct 2023
- 2023Compressing LLMs: The Truth is Rarely Pure and Never Simple2 Oct 2023
- 2023Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy2 Oct 2023
- 2023Junk DNA Hypothesis: Pruning Small Pre-Trained Weights Irreversibly and Monotonically Impairs "Difficult" Downstream Tasks in LLMs29 Sep 2023
- 2023Ternary Singular Value Decomposition as a Better Parameterized Form in Linear Mapping15 Aug 2023
- 2023A Survey on Deep Neural Network Pruning-Taxonomy, Comparison, Analysis, and Recommendations13 Aug 2023
- 2023Accurate Neural Network Pruning Requires Rethinking Sparse Optimization3 Aug 2023
- 2023A Survey of Techniques for Optimizing Transformer Inference16 Jul 2023
- 2023BinaryViT: Pushing Binary Vision Transformers Towards Convolutional Models29 Jun 2023
- 2023An Efficient Sparse Inference Software Accelerator for Transformer-based Language Models on CPUs28 Jun 2023
- 2023The Emergence of Essential Sparsity in Large Pre-trained Models: The Weights that Matter6 Jun 2023
- 2023LLM-Pruner: On the Structural Pruning of Large Language Models19 May 2023
- 2023PDP: Parameter-free Differentiable Pruning is All You Need18 May 2023
- 2023To Asymmetry and Beyond: Structured Pruning of Sequence to Sequence Models for Improved Inference Efficiency5 Apr 2023
- 2023Dense Sparse Retrieval: Using Sparse Language Models for Inference Efficient Dense Retrieval31 Mar 2023
- 2023oBERTa: Improving Sparse Transfer Learning via improved initialization, distillation, and pruning regimes30 Mar 2023
- 2023Vision Models Can Be Efficiently Specialized via Few-Shot Task-Aware Compression25 Mar 2023
- 2023Text-Visual Prompting for Efficient 2D Temporal Video Grounding9 Mar 2023
- 2023Rotation Invariant Quantization for Model Compression3 Mar 2023
50 newest of 66 All 66 (JSON)
- 2025Latent Flow Transformercited by 1
- 2025Latent Flow Transformer20 May 2025
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
- 2023A Survey on Deep Neural Network Pruning-Taxonomy, Comparison, Analysis, and Recommendationscited by 200
- 2022Structured Pruning Learns Compact and Accurate Modelscited by 167
- 2023Fluctuation-based Adaptive Structured Pruning for Large Language Modelscited by 110
- 2022PLATON: Pruning Large Transformer Models with Upper Confidence Bound of Weight Importancecited by 79
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 2023Compressing LLMs: The Truth is Rarely Pure and Never Simplecited by 59
- 2024Localize-and-Stitch: Efficient Model Merging via Sparse Task Arithmeticcited by 50
- 2022LightHuBERT: Lightweight and Configurable Speech Representation Learning with Once-for-All Hidden-Unit BERTcited by 45
- 2024MoDeGPT: Modular Decomposition for Large Language Model Compressioncited by 45
- 2024ExeGPT: Constraint-Aware Resource Scheduling for LLM Inferencecited by 43
12 most cited of 59 All 59 (JSON)
- 2025Recover-LoRA: Data-Free Accuracy Recovery of Degraded Language Models via Low-Rank Adaptation6 Oct 2025
- 2025EGGS-PTP: An Expander-Graph Guided Structured Post-training Pruning Method for Large Language Models13 Aug 2025
- 2025Pruning Large Language Models by Identifying and Preserving Functional Networks7 Aug 2025
- 2025How Many Parameters Does Your Task Really Need? Task Specific Pruning with LLM-Sieve23 May 2025
- 2025FineScope : SAE-guided Data Selection Enables Domain Specific LLM Pruning and Finetuning1 May 2025
- 2025Systematic Weight Evaluation for Pruning Large Language Models: Enhancing Performance and Sustainability24 Feb 2025
- 2024Magnitude Pruning of Large Pretrained Transformer Models with a Mixture Gaussian Prior1 Nov 2024
- 2024On the Impact of White-box Deployment Strategies for Edge AI on Latency and Model Performance1 Nov 2024
- 2024MCUBERT: Memory-Efficient BERT Inference on Commodity Microcontrollers23 Oct 2024
- 2024Application Specific Compression of Deep Learning Models9 Sep 2024
- 2024On the Limitations of Language Targeted Pruning: Investigating the Calibration Language Impact in Multilingual LLM Pruning26 Aug 2024
- 2024Localize-and-Stitch: Efficient Model Merging via Sparse Task Arithmetic24 Aug 2024
12 newest of 59 All 59 (JSON)