atlas

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

Adaptive Layer Sparsity for Large Language Models via Activation Correlation Assessment

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 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 Adaptive Layer Sparsity (ALS), which allocates per-layer sparsity for LLM pruning by solving a linear program that maximizes inter-layer independence (a kernel-based redundancy metric), and plugs it into Wanda, SparseGPT, and Magnitude pruning.

Problem

Uniform layer-wise sparsity in LLM pruning ignores varying layer importance and yields suboptimal performance at high sparsity; prior non-uniform methods (BESA, OWL) are costly or rely on hand-tuned hyperparameters.

Approach

Measure inter-layer redundancy with a Cauchy-Schwarz-bounded Redundancy Metric derived from a kernel-density approximation of mutual information over calibration activations, then formulate per-layer sparsity allocation as a linear program that assigns higher sparsity to more redundant layers under a model-size budget.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply ALS to Magnitude pruningMagnitude on LLaMA-V2-13B · WikiText-2, 50% sparsityperplexity: 11.59 -> 10.78Helped
Apply ALS to SparseGPT pruningSparseGPT on LLaMA-V2-13B · WikiText-2, 50% sparsityperplexity: 11.32 -> 9.44Helped
Apply ALS to Wanda pruningWanda on LLaMA-V2-13B · WikiText-2, 50% sparsityperplexity: 11.21 -> 9.86Helped
Apply ALS to Magnitude pruningMagnitude on LLaMA-V3-8B · WikiText-2, 50% sparsityperplexity: 1.1e3 -> 30.20Helped
Apply ALS to SparseGPT pruningSparseGPT on LLaMA-V3-8B · WikiText-2, 50% sparsityperplexity: 16.87 -> 10.23Helped
Apply ALS to Wanda pruningWanda on LLaMA-V3-8B · WikiText-2, 50% sparsityperplexity: 15.01 -> 12.30Helped
Apply ALS to pruningMagnitude, SparseGPT, and Wanda on LLaMA-V3-8B · Zero-shot task mean, 50% sparsityaccuracy: 43.29 -> 57.43; 54.18 -> 64.00; 58.12 -> 62.48Helped
Apply ALS to SparseGPT pruningSparseGPT on LLaMA-V1-13B · WikiText-2, 50% sparsityperplexity: 9.90 -> 9.97Hurt
Apply ALS to Wanda pruningWanda on LLaMA-V2-7B · WikiText-2, 70% sparsityperplexity: 219.46 -> 214.10Helped
Apply LoRA fine-tuning after Wanda pruning with ALS (ablation)Wanda with ALS on LLaMA-V1-7B · WikiText-2, 50% sparsityperplexity: 12.47 -> 7.65Helped
Apply LoRA fine-tuning after Wanda pruning with ALS (ablation)Wanda with ALS on LLaMA-V1-7B · Zero-shot task mean, 50% sparsityaccuracy: 61.47 -> 71.64Helped
Use output features instead of input features (ablation)ALS on LLaMA2-13B · WikiText2perplexity: 10.070 -> 10.012Helped

Surprising findings

Limitations

Experimental setup

Datasets: C4

Benchmarks: WikiText-2 Winogrande PIQA OpenBookQA HellaSwag BoolQ ARC-Easy ARC-Challenge RTE

Metrics: perplexity accuracy

Baselines: Magnitude SparseGPT Wanda OWL BESA

Builds on: Wanda SparseGPT OWL BESA

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