SparseLLM: Towards Global Pruning of Pre-trained Language Models

Guangji Bai, Yijiang Li, Chen Ling, Kibaek Kim, Liang Zhao
2/3/2026

No official code found. Best implementation: BaiTheBest/SparseLLM (71 stars, Apache-2.0, last commit 2025-03-27).

Abstract

The transformative impact of large language models (LLMs) like LLaMA and GPT on natural language processing is countered by their prohibitive computational demands. Pruning has emerged as a pivotal compression strategy, introducing sparsity to enhance both memory and computational efficiency. Yet, traditional global pruning is impractical for LLMs due to scalability issues, while local pruning, despite its efficiency, leads to suboptimal solutions. Addressing these challenges, we propose SparseLLM, a novel framework that redefines the global pruning process into manageable, coordinated subproblems, allowing for resource-efficient optimization with global optimality. SparseLLM's approach, which conceptualizes LLMs as a chain of modular functions and leverages auxiliary variables for problem decomposition, not only facilitates a pragmatic application on LLMs but also demonstrates significant performance improvements, particularly in high-sparsity regimes where it surpasses current state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official Repo for SparseLLM: Global Pruning of LLMs (NeurIPS 2024)

7111PythonFeb 19, 20241 years agoApache-2.0
alternating-optimizationefficient-aiinference-optimizationlarge-language-modelsmodel-compression+1 more

Similar Papers

Cite this paper

@article{bai2026sparsellm,
  title  = {SparseLLM: Towards Global Pruning of Pre-trained Language Models},
  author = {Guangji Bai and Yijiang Li and Chen Ling and Kibaek Kim and Liang Zhao},
  year   = {2026},
  eprint = {2402.17946},
  archivePrefix = {arXiv},
  doi    = {10.52202/079017-1468},
  url    = {https://arxiv.org/abs/2402.17946},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.17946.svg)](https://codeofpaper.com/paper/2402.17946)

Discussion