Lune

ICML2023顶会

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 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 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

  1. Towards Automated Circuit Discovery for Mechanistic InterpretabilityArthur Conmy, Augustine N. Mavor-Parker, Aengus Lynch, Stefan Heimersheim 等NeurIPS 2023 · 861 次引用
  2. A Simple and Effective Pruning Approach for Large Language ModelsMingjie Sun, Zhuang Liu, Anna Bair, J. Zico KolterICLR 2024 · 794 次引用
  3. Sheared LLaMA: Accelerating Language Model Pre-training via Structured PruningMengzhou Xia, Tianyu Gao, Zhiyuan Zeng, Danqi ChenICLR 2024 · 453 次引用
  4. SliceGPT: Compress Large Language Models by Deleting Rows and ColumnsSaleh Ashkboos, Maximilian L. Croci, Marcelo Gennari Do Nascimento, Torsten Hoefler 等ICLR 2024 · 346 次引用
  5. InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache ManagementWonbeom Lee, Jungi Lee, Junghwan Seo, Jaewoong SimOSDI 2024 · 248 次引用

它引用的 Paper13

  1. Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos 等ICML 2020 · 816 次引用
  2. Rigging the Lottery: Making All Tickets WinnersUtku Evci, Trevor Gale, Jacob Menick, Pablo Samuel Castro 等ICML 2020 · 723 次引用
  3. Movement Pruning: Adaptive Sparsity by Fine-TuningVictor Sanh, Thomas Wolf, Alexander M. RushNeurIPS 2020 · 656 次引用
  4. Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and PruningElias Frantar, Dan AlistarhNeurIPS 2022 · 440 次引用
  5. The case for 4-bit precision: k-bit Inference Scaling LawsTim Dettmers, Luke ZettlemoyerICML 2023 · 315 次引用

相关 Paper

  1. OPTQ: Accurate Quantization for Generative Pre-trained TransformersElias Frantar, Saleh Ashkboos, Torsten Hoefler, Dan AlistarhICLR 2023
  2. Structured Optimal Brain Pruning for Large Language ModelsJiateng Wei, Quan Lu, Ning Jiang, Siqi Li 等EMNLP 2024 · 2 次引用
  3. A Fast Post-Training Pruning Framework for TransformersWoosuk Kwon, Sehoon Kim, Michael W. Mahoney, Joseph Hassoun 等NeurIPS 2022 · 247 次引用
  4. Pruning Large Language Models with Semi-Structural Adaptive Sparse TrainingWeiyu Huang, Yuezhou Hu, Guohao Jian, Jun Zhu 等AAAI 2025 · 25 次引用
  5. Pruning Foundation Models for High Accuracy without RetrainingPu Zhao, Fei Sun, Xuan Shen, Pinrui Yu 等EMNLP Findings 2024 · 13 次引用
黄昏的海面,两侧是细线勾勒的悬崖