English

One-Shot Sensitivity-Aware Mixed Sparsity Pruning for Large Language Models

Computation and Language 2024-04-24 v4 Artificial Intelligence

Abstract

Various Large Language Models~(LLMs) from the Generative Pretrained Transformer(GPT) family have achieved outstanding performances in a wide range of text generation tasks. However, the enormous model sizes have hindered their practical use in real-world applications due to high inference latency. Therefore, improving the efficiencies of LLMs through quantization, pruning, and other means has been a key issue in LLM studies. In this work, we propose a method based on Hessian sensitivity-aware mixed sparsity pruning to prune LLMs to at least 50% sparsity without the need of any retraining. It allocates sparsity adaptively based on sensitivity, allowing us to reduce pruning-induced error while maintaining the overall sparsity level. The advantages of the proposed method exhibit even more when the sparsity is extremely high. Furthermore, our method is compatible with quantization, enabling further compression of LLMs. We have released the available code.

Keywords

Cite

@article{arxiv.2310.09499,
  title  = {One-Shot Sensitivity-Aware Mixed Sparsity Pruning for Large Language Models},
  author = {Hang Shao and Bei Liu and Bo Xiao and Ke Zeng and Guanglu Wan and Yanmin Qian},
  journal= {arXiv preprint arXiv:2310.09499},
  year   = {2024}
}

Comments

Accepted to ICASSP2024

R2 v1 2026-06-28T12:50:32.374Z