atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

BESA: Pruning Large Language Models with Blockwise Parameter-Efficient Sparsity Allocation

ICLR 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: Layer-wise pruning of LLMs · 3 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 BESA, a differentiable blockwise pruning method that learns layer-specific sparsity allocation via parameter-efficient probability masks, pruning LLaMA-family models to 50% unstructured sparsity on a single A100.

Problem

Post-training weight pruning of LLMs with layer-wise reconstruction causes error accumulation and requires hand-tuned uniform per-layer sparsity, degrading performance.

Approach

Minimize block-wise (transformer block) reconstruction error while learning per-layer (or per-row) sparsity differentiably: weights are sorted by Wanda importance, and a small set of learnable coefficients over candidate pruning rates generates straight-through binary masks, so sparsity is optimized by gradient descent.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use blockwise parameter-efficient sparsity allocation instead of layerwise pruning50% unstructured pruning of LLaMA models · WikiText2perplexity: 7.22 -> 6.86 (LLaMA-7B, SparseGPT); 7.26 -> 6.86 (LLaMA-7B, Wanda)Helped
Use blockwise parameter-efficient sparsity allocation instead of layerwise pruning50% unstructured pruning of LLaMA models · C4perplexity: 9.31 -> 8.96 (LLaMA-7B, SparseGPT); 9.34 -> 8.96 (LLaMA-7B, Wanda)Helped
Use blockwise parameter-efficient sparsity allocation instead of layerwise pruning50% unstructured pruning of LLaMA models · PTBperplexity: 79.25 -> 66.96 (LLaMA-7B, SparseGPT); 22.67 -> 22.87 (LLaMA2-70B, SparseGPT)Mixed
Train for more epochs rather than the 1-epoch default (ablation)BESA on LLaMA-7B · WikiText2perplexity: 6.86 -> 6.85 (3 epochs); 6.86 -> 6.84 (10 epochs); 6.86 -> 6.86 (30 epochs)No clear effect
Train for more epochs rather than the 1-epoch default (ablation)BESA on LLaMA-7B · PTBperplexity: 66.96 -> 67.37 (3 epochs); 66.96 -> 66.83 (10 epochs); 66.96 -> 67.09 (30 epochs)Mixed
Use sparsity step 0.1 instead of 0.01 (ablation)BESA on LLaMA-7B · PTBperplexity: 66.96 -> 69.29Hurt
Use sparsity step 0.001 instead of 0.01 (ablation)BESA on LLaMA-7B · PTBperplexity: 66.96 -> 66.52Helped
Replace Wanda importance metric with weight magnitude (ablation)BESA on LLaMA-7B · WikiText2perplexity: 6.86 -> 7.43Hurt
Replace Wanda importance metric with SparseGPT importance metric (ablation)BESA on LLaMA-7B · WikiText2perplexity: 6.86 -> 8.73Hurt

Surprising findings

Limitations

Experimental setup

Datasets: C4

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

Metrics: perplexity zero-shot accuracy average accuracy simulated runtime cycles and speedup

Baselines: SparseGPT Wanda

Builds on: Wanda SparseGPT OmniQuant

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