atlas

Research map / Large language models / Language, safety and interpretability

SparseLLM: Towards Global Pruning of Pre-trained Language Models

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 11 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SparseLLM, a global-pruning framework that decomposes LLM pruning into coordinated subproblems via auxiliary variables and alternating optimization, improving over SparseGPT and Wanda especially at high sparsity.

Problem

Global pruning of LLMs is memory-prohibitive, while local layer-wise pruning (SparseGPT, Wanda) yields suboptimal models, especially at high sparsity.

Approach

Reformulate the LLM as a chain of modules with auxiliary variables (layer outputs and activations) and soft penalty constraints, so FFN modules are pruned globally via alternating closed-form subproblem updates, while MHA layers use a local solver like SparseGPT.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SparseLLM instead of SparseGPT for 90% pruningOPT-1.3b · WT2, 90% sparsityperplexity: 2596.70 -> 1350.31Helped
Use SparseLLM instead of SparseGPT for 70% pruningOPT-2.7b · WT2, 70% sparsityperplexity: 13.79 -> 13.82Hurt
Use SparseLLM instead of SparseGPT for 80% pruningOPT-1.3b · WT2, 80% sparsityperplexity: 69.67 -> 58.92Helped
Use SparseLLM instead of SparseGPT for 70% pruningLLaMA-2 7b · WT2, 70% sparsityperplexity: 15.98 -> 16.15Hurt
Use SparseLLM instead of SparseGPT for 90% pruningLLaMA-2 7b · WT2, 90% sparsityperplexity: 344.97 -> 225.23Helped
Use SparseLLM instead of SparseGPT for 70% pruningLLaMA-3 8b · WT2, 70% sparsityperplexity: 22.37 -> 20.98Helped
Use SparseLLM instead of SparseGPT for 2:4 pruningOPT-1.3b · WT2, 2:4 sparsityperplexity: 15.11 -> 14.97Helped
Use SparseLLM instead of SparseGPT at 90% sparsityOPT-13b · BoolQ, 90% sparsityaccuracy: 47.49 -> 53.43Helped
Use SparseLLM instead of SparseGPT at 90% sparsityLLaMA-2 7b · Mean zero-shot tasks, 90% sparsityaccuracy: 31.99 -> 32.92Helped
Vary alpha and beta; alpha=0.1, beta=0.1 gives the lowest reported perplexity (ablation)SparseLLM on OPT-1.3b · PTB, 70% sparsityperplexity: 18.04 -> 17.82Mixed

Surprising findings

Limitations

Experimental setup

Datasets: C4

Benchmarks: WikiText2 PTB C4 BoolQ RTE HellaSwag WinoGrande ARC-e ARC-c OBQA

Metrics: perplexity zero-shot accuracy

Baselines: Magnitude pruning SparseGPT Wanda

Builds on: SparseGPT Wanda AdaPrune ADMM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy