atlas

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

Beyond Linear Approximations: A Novel Pruning Approach for Attention Matrix

ICLR 2025 · 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 pruning LLM attention weights by directly minimizing the error in the Softmax attention matrix (not linear XW), solved via gradient descent with a convergence guarantee, and reports gains over Wanda and SparseGPT on Llama 3.2-1B perplexity.

Problem

Standard LLM pruning (Wanda, SparseGPT) minimizes error in linear products XW (or separately W_Q, W_K), which poorly approximates the non-linear Softmax attention matrix, degrading performance.

Approach

Learn a single pruning mask on the fused attention weight W = W_Q W_K^T by gradient descent on a loss measuring the Frobenius error between the true and pruned Softmax attention matrices plus L2 regularization, with a PL-inequality-based convergence proof.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use attention-matrix approximation pruning instead of SparseGPT for attentionDense MLP + attention pruning · C4 validationPPL: 14.269 -> 13.885Helped
Use attention-matrix approximation pruning instead of Wanda for attentionDense MLP + attention pruning · C4 validationPPL: 14.912 -> 13.885Helped
Use attention-matrix approximation pruning instead of SparseGPT for attentionWanda MLP + attention pruning · C4 validationPPL: 26.074 -> 24.427Helped
Use attention-matrix approximation pruning instead of Wanda for attentionWanda MLP + attention pruning · C4 validationPPL: 30.426 -> 24.427Helped
Use attention-matrix approximation pruning instead of SparseGPT for attentionSparseGPT MLP + attention pruning · C4 validationPPL: 36.641 -> 34.946Helped
Use attention-matrix approximation pruning instead of Wanda for attentionSparseGPT MLP + attention pruning · C4 validationPPL: 45.435 -> 34.946Helped

Limitations

Experimental setup

Datasets: C4 synthetic Gaussian matrices

Benchmarks: C4 validation perplexity synthetic relative attention error

Metrics: perplexity relative error

Baselines: SparseGPT Wanda

Builds on: SparseGPT Wanda Polyak-Lojasiewicz inequality gradient descent analysis

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