SPDY: Accurate Pruning with Speedup Guarantees
Abstract
The recent focus on the efficiency of deep neural networks (DNNs) has led to significant work on model compression approaches, of which weight pruning is one of the most popular. At the same time, there is rapidly-growing computational support for efficiently executing the unstructuredsparse models obtained via pruning. Yet, most existing pruning methods minimize just the number of remaining weights, i.e. the size of the model, rather than optimizing for inference time. We address this gap by introducing SPDY, a new compression method which automatically determines layer-wise sparsity targets achieving a desired inference speedup on a given system, while minimizing accuracy loss. SPDY is the composition of two new techniques. The first is an efficient and general dynamic programming algorithm for solving constrained layer-wise compression problems, given a set of layer-wise error scores. The second technique is a local search procedure for automatically determining such scores in an accurate and robust manner. Experiments across popular vision and language models show that SPDY guarantees speedups while recovering higher accuracy relative to existing strategies, both for one-shot and gradual pruning scenarios, and is compatible with most existing pruning approaches. We also extend our approach to the recently-proposed task of pruning with very little data, where we achieve the best known accuracy recovery when pruning to the GPU-supported 2:4 sparsity pattern.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models cites A Simple and Effective Pruning Approach for Large Language Models
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models cites Movement Pruning: Adaptive Sparsity by Fine-Tuning
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models cites Rigging the Lottery: Making All Tickets Winners
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models cites Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- A Simple and Effective Pruning Approach for Large Language Models cites A Fast Post-Training Pruning Framework for Transformers
- A Simple and Effective Pruning Approach for Large Language Models cites Movement Pruning: Adaptive Sparsity by Fine-Tuning
- A Simple and Effective Pruning Approach for Large Language Models cites Rigging the Lottery: Making All Tickets Winners
- A Simple and Effective Pruning Approach for Large Language Models cites Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
- A Fast Post-Training Pruning Framework for Transformers cites Movement Pruning: Adaptive Sparsity by Fine-Tuning
- A Fast Post-Training Pruning Framework for Transformers cites Up or Down? Adaptive Rounding for Post-Training Quantization
- ZipLM: Inference-Aware Structured Pruning of Language Models cites A Fast Post-Training Pruning Framework for Transformers
- ZipLM: Inference-Aware Structured Pruning of Language Models cites Movement Pruning: Adaptive Sparsity by Fine-Tuning
- ZipLM: Inference-Aware Structured Pruning of Language Models cites Once-for-All: Train One Network and Specialize it for Efficient Deployment
- ZipLM: Inference-Aware Structured Pruning of Language Models cites Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
- ZipLM: Inference-Aware Structured Pruning of Language Models cites Up or Down? Adaptive Rounding for Post-Training Quantization
- Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch cites Rigging the Lottery: Making All Tickets Winners
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning cites Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning cites Up or Down? Adaptive Rounding for Post-Training Quantization
Cited by top-tier papers10
- A Simple and Effective Pruning Approach for Large Language ModelsMingjie Sun, Zhuang Liu, Anna Bair, J. Zico KolterICLR 2024 · 794 citations
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and PruningElias Frantar, Dan AlistarhNeurIPS 2022 · 440 citations
- A Fast Post-Training Pruning Framework for TransformersWoosuk Kwon, Sehoon Kim, Michael W. Mahoney, Joseph Hassoun et al.NeurIPS 2022 · 247 citations
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language ModelsYingtao Zhang, Haoli Bai, Haokun Lin, Jialin Zhao et al.ICLR 2024 · 72 citations
- ZipLM: Inference-Aware Structured Pruning of Language ModelsEldar Kurtic, Elias Frantar, Dan AlistarhNeurIPS 2023 · 69 citations
Builds on21
- Once-for-All: Train One Network and Specialize it for Efficient DeploymentHan Cai, Chuang Gan, Tianzhe Wang, Zhekai Zhang et al.ICLR 2020 · 1,522 citations
- Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos et al.ICML 2020 · 816 citations
- Rigging the Lottery: Making All Tickets WinnersUtku Evci, Trevor Gale, Jacob Menick, Pablo Samuel Castro et al.ICML 2020 · 723 citations
- Movement Pruning: Adaptive Sparsity by Fine-TuningVictor Sanh, Thomas Wolf, Alexander M. RushNeurIPS 2020 · 656 citations
- Learning N: M Fine-grained Structured Sparse Neural Networks From ScratchAojun Zhou, Yukun Ma, Junnan Zhu, Jianbo Liu et al.ICLR 2021 · 301 citations
Related papers
- DLP: Dynamic Layerwise Pruning in Large Language ModelsYuli Chen, Bo Cheng, Jiale Han, Yingying Zhang et al.ICML 2025
- PCONV: The Missing but Desirable Sparsity in DNN Weight Pruning for Real-Time Execution on Mobile DevicesXiaolong Ma, Fu-Ming Guo, Wei Niu, Xue Lin et al.AAAI 2020 · 201 citations
- AutoCompress: An Automatic DNN Structured Pruning Framework for Ultra-High Compression RatesNing Liu, Xiaolong Ma, Zhiyuan Xu, Yanzhi Wang et al.AAAI 2020 · 204 citations
- Cascading structured pruning: enabling high data reuse for sparse DNN acceleratorsEdward Hanson, Shiyu Li, Hai Helen Li, Yiran ChenISCA 2022 · 30 citations
- Layerwise Sparse Coding for Pruned Deep Neural Networks with Extreme Compression RatioXiao Liu, Wenbin Li, Jing Huo, Lili Yao et al.AAAI 2020 · 13 citations
