SPDY: Accurate Pruning with Speedup Guarantees
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models 引用了 A Simple and Effective Pruning Approach for Large Language Models
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models 引用了 Rigging the Lottery: Making All Tickets Winners
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models 引用了 Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- A Simple and Effective Pruning Approach for Large Language Models 引用了 A Fast Post-Training Pruning Framework for Transformers
- A Simple and Effective Pruning Approach for Large Language Models 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- A Simple and Effective Pruning Approach for Large Language Models 引用了 Rigging the Lottery: Making All Tickets Winners
- A Simple and Effective Pruning Approach for Large Language Models 引用了 Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
- A Fast Post-Training Pruning Framework for Transformers 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- A Fast Post-Training Pruning Framework for Transformers 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
- ZipLM: Inference-Aware Structured Pruning of Language Models 引用了 A Fast Post-Training Pruning Framework for Transformers
- ZipLM: Inference-Aware Structured Pruning of Language Models 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- ZipLM: Inference-Aware Structured Pruning of Language Models 引用了 Once-for-All: Train One Network and Specialize it for Efficient Deployment
- ZipLM: Inference-Aware Structured Pruning of Language Models 引用了 Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
- ZipLM: Inference-Aware Structured Pruning of Language Models 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
- Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch 引用了 Rigging the Lottery: Making All Tickets Winners
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning 引用了 Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
引用它的顶会 Paper10
- A Simple and Effective Pruning Approach for Large Language ModelsMingjie Sun, Zhuang Liu, Anna Bair, J. Zico KolterICLR 2024 · 794 次引用
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and PruningElias Frantar, Dan AlistarhNeurIPS 2022 · 440 次引用
- A Fast Post-Training Pruning Framework for TransformersWoosuk Kwon, Sehoon Kim, Michael W. Mahoney, Joseph Hassoun 等NeurIPS 2022 · 247 次引用
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language ModelsYingtao Zhang, Haoli Bai, Haokun Lin, Jialin Zhao 等ICLR 2024 · 72 次引用
- ZipLM: Inference-Aware Structured Pruning of Language ModelsEldar Kurtic, Elias Frantar, Dan AlistarhNeurIPS 2023 · 69 次引用
它引用的 Paper21
- Once-for-All: Train One Network and Specialize it for Efficient DeploymentHan Cai, Chuang Gan, Tianzhe Wang, Zhekai Zhang 等ICLR 2020 · 1,522 次引用
- Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos 等ICML 2020 · 816 次引用
- Rigging the Lottery: Making All Tickets WinnersUtku Evci, Trevor Gale, Jacob Menick, Pablo Samuel Castro 等ICML 2020 · 723 次引用
- Movement Pruning: Adaptive Sparsity by Fine-TuningVictor Sanh, Thomas Wolf, Alexander M. RushNeurIPS 2020 · 656 次引用
- Learning N: M Fine-grained Structured Sparse Neural Networks From ScratchAojun Zhou, Yukun Ma, Junnan Zhu, Jianbo Liu 等ICLR 2021 · 301 次引用
相关 Paper
- DLP: Dynamic Layerwise Pruning in Large Language ModelsYuli Chen, Bo Cheng, Jiale Han, Yingying Zhang 等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 等AAAI 2020 · 201 次引用
- AutoCompress: An Automatic DNN Structured Pruning Framework for Ultra-High Compression RatesNing Liu, Xiaolong Ma, Zhiyuan Xu, Yanzhi Wang 等AAAI 2020 · 204 次引用
- Cascading structured pruning: enabling high data reuse for sparse DNN acceleratorsEdward Hanson, Shiyu Li, Hai Helen Li, Yiran ChenISCA 2022 · 30 次引用
- Layerwise Sparse Coding for Pruned Deep Neural Networks with Extreme Compression RatioXiao Liu, Wenbin Li, Jing Huo, Lili Yao 等AAAI 2020 · 13 次引用
