SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
Elias Frantar, Dan Alistarh
摘要
We show for the first time that large-scale generative pretrained transformer (GPT) family models can be pruned to at least 50% sparsity in one-shot, without any retraining, at minimal loss of accuracy. This is achieved via a new pruning method called SparseGPT, specifically designed to work efficiently and accurately on massive GPT-family models. We can execute SparseGPT on the largest available open-source models, OPT-175B and BLOOM-176B, in under 4.5 hours, and can reach 60% unstructured sparsity with negligible increase in perplexity: remarkably, more than 100 billion weights from these models can be ignored at inference time. SparseGPT generalizes to semi-structured (2:4 and 4:8) patterns, and is compatible with weight quantization approaches. The code is available at: https://github.com/IST-DASLab/ sparsegpt .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 303 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- 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
- Towards Automated Circuit Discovery for Mechanistic Interpretability 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- SliceGPT: Compress Large Language Models by Deleting Rows and Columns 引用了 A Simple and Effective Pruning Approach for Large Language Models
- SliceGPT: Compress Large Language Models by Deleting Rows and Columns 引用了 Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
- Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning 引用了 A Simple and Effective Pruning Approach for Large Language Models
- Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
引用它的顶会 Paper303
- Towards Automated Circuit Discovery for Mechanistic InterpretabilityArthur Conmy, Augustine N. Mavor-Parker, Aengus Lynch, Stefan Heimersheim 等NeurIPS 2023 · 861 次引用
- A Simple and Effective Pruning Approach for Large Language ModelsMingjie Sun, Zhuang Liu, Anna Bair, J. Zico KolterICLR 2024 · 794 次引用
- Sheared LLaMA: Accelerating Language Model Pre-training via Structured PruningMengzhou Xia, Tianyu Gao, Zhiyuan Zeng, Danqi ChenICLR 2024 · 453 次引用
- SliceGPT: Compress Large Language Models by Deleting Rows and ColumnsSaleh Ashkboos, Maximilian L. Croci, Marcelo Gennari Do Nascimento, Torsten Hoefler 等ICLR 2024 · 346 次引用
- InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache ManagementWonbeom Lee, Jungi Lee, Junghwan Seo, Jaewoong SimOSDI 2024 · 248 次引用
它引用的 Paper13
- 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 次引用
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and PruningElias Frantar, Dan AlistarhNeurIPS 2022 · 440 次引用
- The case for 4-bit precision: k-bit Inference Scaling LawsTim Dettmers, Luke ZettlemoyerICML 2023 · 315 次引用
相关 Paper
- OPTQ: Accurate Quantization for Generative Pre-trained TransformersElias Frantar, Saleh Ashkboos, Torsten Hoefler, Dan AlistarhICLR 2023
- Structured Optimal Brain Pruning for Large Language ModelsJiateng Wei, Quan Lu, Ning Jiang, Siqi Li 等EMNLP 2024 · 2 次引用
- A Fast Post-Training Pruning Framework for TransformersWoosuk Kwon, Sehoon Kim, Michael W. Mahoney, Joseph Hassoun 等NeurIPS 2022 · 247 次引用
- Pruning Large Language Models with Semi-Structural Adaptive Sparse TrainingWeiyu Huang, Yuezhou Hu, Guohao Jian, Jun Zhu 等AAAI 2025 · 25 次引用
- Pruning Foundation Models for High Accuracy without RetrainingPu Zhao, Fei Sun, Xuan Shen, Pinrui Yu 等EMNLP Findings 2024 · 13 次引用
