atlas

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

Outlier Weighed Layerwise Sparsity (OWL): A Missing Secret Sauce for Pruning LLMs to High Sparsity

ICML 2024 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 2 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 OWL, a non-uniform layerwise sparsity schedule for one-shot LLM pruning that allocates per-block sparsity according to each block's activation-outlier ratio, plugged into Wanda and SparseGPT.

Problem

One-shot unstructured pruning of LLMs typically uses uniform layerwise sparsity, which underperforms at high sparsity (e.g., 70%), even though non-uniform layerwise sparsity helps in vision models.

Approach

Measure a layerwise outlier distribution (LOD) from Wanda-style outlier scores, then set each Transformer block's sparsity proportional to (1 - outlier ratio), clipped to a window of width lambda around the target sparsity, so layers with more outliers are pruned less.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace uniform layerwise sparsity with OWL in Wanda pruningWanda on LLaMA-7B · WikiText validation, 70% sparsityperplexity: 85.77 -> 24.55Helped
Replace uniform layerwise sparsity with OWL in SparseGPT pruningSparseGPT on LLaMA-7B · WikiText validation, 70% sparsityperplexity: 26.30 -> 19.49Helped
Use OWL layerwise sparsity instead of uniform sparsityWanda and SparseGPT on LLaMA-V1 · Zero-shot tasks mean accuracy, 70% sparsityaccuracy: 39.39 -> 46.47; 44.93 -> 48.03Helped
Use OWL with SparseGPT layerwise sparsitySparseGPT on OPT-6.7B · WikiText validation, 70% sparsityperplexity: 20.29 -> 22.48Hurt
Apply OWL layerwise sparsity to Wanda (ablation)Wanda on LLaMA-7B · WikiText, 70% sparsityperplexity: 85.77 -> 822.23Hurt
Use per-block OWL ratios instead of per-layer OWL ratios (ablation)OWL with Wanda on LLaMA-7B · WikiText, 70% sparsityperplexity: 86.285 -> 24.55Helped
Add LoRA fine-tuning (ablation)OWL w. SparseGPT on LLaMA-7B · WikiText, 70% sparsityperplexity: 19.49 -> 11.15Helped
Add LoRA fine-tuning (ablation)OWL w. SparseGPT on LLaMA-13B · WikiText, 70% sparsityperplexity: 14.55 -> 9.0Helped
Replace uniform layerwise sparsity with OWL for mixed N:M pruningWanda on LLaMA-7B · WikiText, mixed 3:8 sparsityperplexity: 42.56 -> 21.49Helped
Replace uniform layerwise sparsity with OWL in structured pruningLLM Pruner on LLaMA-7B · WikiText, 70% structured sparsityperplexity: 90.02 -> 76.99Helped
Replace uniform layerwise sparsity with OWLWanda on ConvNeXt-Base · ImageNet-1K, 70% sparsitytop-1 accuracy: 68.18 -> 68.28No clear effect
Replace uniform layerwise sparsity with OWLWanda on DeiT-Base · ImageNet-1K, 70% sparsitytop-1 accuracy: 49.20 -> 54.24Helped

Surprising findings

Limitations

Experimental setup

Datasets: C4 (128 x 2048-token calibration sequences) C4 (30k tokens for LoRA fine-tuning)

Benchmarks: WikiText perplexity BoolQ RTE HellaSwag WinoGrande ARC-e ARC-c OpenbookQA ImageNet-1K

Metrics: perplexity accuracy end-to-end decode latency speedup pruning time

Baselines: Magnitude pruning SparseGPT Wanda Global sparsity Erdős-Rényi (ER) ER-plus LLM Pruner

Builds on: Wanda SparseGPT Erdős-Rényi sparsity LLM.int8 outlier features

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