SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shot

By Elias Frantar, Dan Alistarh. 2023

1,399 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Networks and Communications, Electrical and Electronic Engineering, Large Language Models, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Christopher R'e
  2. Percy Liang
  3. Luke S. Zettlemoyer
  4. Quoc V. Le
  5. Mohit Bansal
  6. Danqi Chen
  7. Yoshua Bengio
  8. Jianfeng Gao

In Computer Networks and Communications

  1. Beidi Chen
  2. Dan Alistarh
  3. J. Kolter
  4. Zhuang Liu
  5. Zhiyuan Zeng
  6. Anna Bair
  7. Mingjie Sun
  8. Tianyu Gao

In Electrical and Electronic Engineering

  1. Zhuang Liu
  2. J. Kolter
  3. Anna Bair
  4. Mingjie Sun
  5. Zhiyuan Zeng
  6. Tianyu Gao
  7. Danqi Chen
  8. Mengzhou Xia

In Large Language Models

  1. Percy Liang
  2. Danqi Chen
  3. Christopher R'e
  4. Tianyu Gao
  5. Mengzhou Xia
  6. Beidi Chen
  7. Xinchao Wang
  8. Gongfan Fang

In Efficiency & Compression

  1. Tri Dao
  2. Elias Frantar
  3. Mingjie Sun
  4. Zhuang Liu
  5. J. Kolter
  6. Anna Bair
  7. Yuandong Tian
  8. Dan Alistarh

Citations in the corpus