Pruning — Parameters, Gaussians, Tokens

Updated July 2026 with 2025–2026 SOTA additions — new entries marked ★. Algorithm names link to their papers (arXiv / project page).

April 2026 · Version 1.0


Contents

  1. Foundations: Three Pruning Targets
  2. Parameter Pruning Foundations
  3. Structured vs Unstructured Pruning
  4. Modern LLM Pruning Methods
  5. Hardware-Aware Sparsity (N:M)
  6. Lottery Ticket Hypothesis and Theory
  7. Gaussian Pruning (3DGS)
  8. Token Pruning Foundations
  9. ViT Token Pruning
  10. VLM Token Pruning
  11. KV Cache Token Eviction
  12. Diffusion Token Pruning
  13. Mixed Pruning Approaches
  14. Pruning + Quantization Composition
  15. Pruning Evaluation
  16. Implementation Patterns
  17. Production Recipes
  18. Frontier 2025–2026
  19. Failure Modes and Pitfalls
  20. Production Stack 2026

1. Foundations: Three Pruning Targets

1.1 What we mean by pruning

Removing or zeroing out part of the computational state to reduce cost while preserving quality. Three target spaces in modern AI:

  1. Parameters (weights, neurons, heads, layers): classical neural-network pruning.
  2. Gaussians: 3DGS-specific pruning of explicit primitives.
  3. Tokens: per-input attention tokens (image patches, KV cache, sequence positions).

1.2 Why pruning matters

1.3 The redundancy hypothesis

Trained networks have substantial redundancy. The Lottery Ticket Hypothesis (Frankle & Carbin 2018) goes further: pretrained networks contain sparse subnetworks that, trained from scratch with the right initialization, match the dense network's accuracy.

1.4 Pruning × other compression

1.5 The three pruning regimes

Target Decision Granularity Examples
Parameters weight magnitude / Hessian / movement weight / channel / layer SparseGPT, Wanda, 2:4
Gaussians opacity, gradient, importance Gaussian primitive LightGaussian, CompGS
Tokens attention score, similarity, importance token / patch / KV slot ToMe, FastV, H2O

1.6 The 2026 production reality

Key

At the frontier, every production stack uses some form of pruning. Standard composition: N:M structured sparsity (parameter) + ToMe / FastV (token) + KV cache eviction (H2O / SnapKV), on top of quantization + distillation. Compounding gains routinely push 5–20× over baseline.

2. Parameter Pruning Foundations

2.1 Magnitude pruning

The simplest baseline: zero out smallest-magnitude weights.

\[\text{prune } w_{ij} \text{ if } |w_{ij}| < \tau.\]

\(\tau\) chosen for target sparsity (e.g., 50%). Trivial; surprisingly competitive.

2.2 Gradual magnitude pruning

Iteratively prune → fine-tune → prune more. Smooth ramp from 0% to target sparsity over training.

\[s_t = s_f + (s_i - s_f)\left(1 - \frac{t - t_0}{N\Delta t}\right)^3.\]

2.3 Iterative Magnitude Pruning (IMP)

  1. Train.
  2. Prune smallest 20%.
  3. Reset surviving weights to original init.
  4. Retrain.
  5. Repeat.

Source of the Lottery Ticket Hypothesis.

2.4 Movement pruning (Sanh et al. 2020)

Prune based on movement-of-magnitude during fine-tuning, not absolute magnitude:

\[\text{score} = \text{sign}(w \cdot \nabla_w L) \cdot |w|.\]

Better than magnitude for transfer learning.

2.5 ℓ0 regularization

Use a continuous relaxation of \(\ell_0\) (Hard Concrete distribution) to learn binary masks. Soft + train end-to-end.

2.6 Pruning at initialization (PaI)

Prune before training, based on initialization information:

Cheap; sometimes lossy at high sparsity.

2.7 Random pruning baseline

Random masks at the same sparsity level.

Surprisingly competitive at moderate sparsity (< 50%) for overparameterized networks. A useful baseline for "does my method actually do anything?"

2.8 Sensitivity vs uniformity

3. Structured vs Unstructured Pruning

3.1 Unstructured pruning

Remove individual weights. Maximum compression at given quality. Doesn't accelerate inference on dense GPUs unless special kernels are used.

3.2 Structured pruning

Remove whole rows / columns / channels / heads. Loss of compression but immediate inference speedup.

3.3 Granularity hierarchy

3.4 Channel pruning

Remove entire conv channels / linear rows / cols. Reduces FLOPs proportionally. Standard for CNN compression.

3.5 Head pruning (attention)

Remove unimportant attention heads. Many heads are redundant in pretrained models.

3.6 Layer pruning

Remove whole Transformer layers.

Surprisingly effective: 7B Llama can lose ~25% layers with <5% quality loss.

3.7 Block / sub-network pruning

Prune sequence of contiguous layers. Used in mobile deployment.

3.8 Comparison

Granularity Compression Inference speedup Hardware
Unstructured high only with kernels needs sparse mat
2:4 / N:M moderate 1.5–2× H100 / Blackwell
Channel moderate dense matmul all hardware
Head moderate attention only all
Layer varies full layer skip all
Block high sub-network skip all

4. Modern LLM Pruning Methods

4.1 SparseGPT (Frantar & Alistarh 2023)

One-shot post-training pruning via approximate Hessian:

\[\Delta W_{q,\,j>k} = -\frac{(W_q - W)_{:,k}\,\cdot\,[H^{-1}]_{k,\,j>k}}{[H^{-1}]_{kk}}, \quad H = 2XX^\top.\]

Layer-by-layer; updates remaining weights to compensate for pruned. INT4 + 50% sparsity feasible.

4.2 Wanda (Sun et al. 2023)

Pruning by Weights And Activations:

\[\text{score}_{ij} = |w_{ij}| \cdot \|x_j\|_2.\]

Activation-aware; cheap (no Hessian); often competitive with SparseGPT.

4.3 LLM-Pruner

Structured pruning for LLMs via dependency-graph analysis. Removes whole channels / heads.

4.4 ShortGPT (Men et al. 2024)

Layer-pruning for LLMs:

4.5 LLM-Streamline

Layer-pruning with distillation recovery. Better quality than naive layer removal at same compression.

4.6 SliceGPT (Microsoft 2024)

Apply orthogonal transformations to W to isolate "unimportant" principal components; slice them off.

4.7 Compresso, FlexGen, FastFormer

Various LLM compression approaches combining pruning + quantization + distillation.

4.8 Pruning + LoRA recovery

  1. Apply pruning method.
  2. Add LoRA adapters.
  3. Train LoRA briefly to recover quality.
  4. Cheap; effective.

4.9 Comparison table

Method Type Strength
SparseGPT unstructured / 2:4 accuracy at high sparsity
Wanda unstructured / 2:4 cheap, no Hessian
LLM-Pruner structured (channel) inference speedup
ShortGPT layer extreme compression
LLM-Streamline layer + distill recovery
SliceGPT dim slicing hardware-friendly

4.10 Practical recipe (LLM)

  1. Calibration set (~128 samples).
  2. Wanda or SparseGPT for unstructured / 2:4.
  3. Or ShortGPT for layer pruning.
  4. LoRA recovery ~1M tokens.
  5. Combine with INT4 quantization.

★ 2026 SOTA update — Minitron: prune plus distill

5. Hardware-Aware Sparsity (N:M)

5.1 The 2:4 sparsity pattern

2 of every 4 weights zero. 50% sparse, hardware-supported.

5.2 Hopper / Blackwell support

5.3 NVIDIA Sparse Tensor Cores

TensorRT-LLM and CUTLASS provide kernels for 2:4. Compose with quantization (FP8 / INT8 / INT4).

5.4 4:8 and N:M generalizations

5.5 Training with 2:4

5.6 Fine-tune to 2:4

Take pre-trained dense model; apply 2:4 + brief fine-tune. Industry-standard for LLM compression.

5.7 Memory savings

2:4 sparse weights stored as half values + index. 50% memory reduction, in addition to quantization.

5.8 Combining with quantization

Standard: 2:4 sparse + FP8/INT4 weights. NVIDIA's recommended LLM serving recipe.

★ 2026 SOTA update — MaskLLM: learnable N:M sparsity

6. Lottery Ticket Hypothesis and Theory

6.1 The lottery ticket hypothesis (Frankle & Carbin 2018)

A randomly-initialized dense network contains a sparse sub-network ("winning ticket") that, trained in isolation, can match the full network's accuracy.

6.2 IMP (Iterative Magnitude Pruning) for tickets

  1. Train dense network.
  2. Prune smallest-magnitude weights.
  3. Reset to original initialization.
  4. Train again.
  5. Repeat.

Discovers "winning tickets."

6.3 Strong Lottery Ticket

Even before any training, a random network contains a sparse subnetwork that achieves good accuracy with the right mask. Theoretical result; impractical to find directly.

6.4 Why does it work?

Open question. Hypotheses:

6.5 Lottery tickets at scale

Mostly demonstrated on smaller networks (CNNs, small Transformers). Hard to find true tickets at LLM scale; SparseGPT / Wanda are practical alternatives.

6.6 Pruning theory

7. Gaussian Pruning (3DGS)

7.1 Why Gaussians need pruning

3D Gaussian Splatting scenes can have 1M–10M+ Gaussians. Memory + render speed scale with count. Many are redundant after optimization.

7.2 Built-in 3DGS density control

Original 3DGS already has pruning:

7.3 Post-training Gaussian pruning

After training, additional pruning for deployment:

7.4 LightGaussian (Fan et al. 2024)

7.5 CompGS (Compact Gaussian Splatting)

Codebook-based compression:

7.6 Compact3D, Mini-Splatting, RDOGS

Various approaches:

7.7 Importance scoring

7.8 Joint pruning + quantization

7.9 Web deployment of 3DGS

For browser / mobile delivery:

7.10 Production patterns

★ 2026 SOTA update — MaskGaussian: probabilistic Gaussian pruning

8. Token Pruning Foundations

8.1 Why token pruning

Attention scales as \(O(n^2)\) in sequence length. Reducing \(n\) by \(r\) gives \(r^2\) speedup in attention. For long sequences (long context, video, high-res images), this is enormous.

8.2 Three settings

  1. Image / patch tokens (ViT): prune unimportant patches.
  2. Video / frame tokens: drop redundant frame patches.
  3. KV cache (LLM decode): evict old / unimportant tokens.

8.3 Decision criteria

8.4 Pre- vs post-attention

8.5 Drop vs merge

9. ViT Token Pruning

9.1 DynamicViT (Rao et al. 2021)

Per-layer learned token-importance predictor; drop low-importance tokens. Differentiable via Gumbel-Softmax.

Dynamic: different tokens dropped per input.

9.2 A-ViT (Adaptive)

Per-token early-exit: tokens that "finish" early skip remaining layers. Adaptive compute per token.

9.3 IA-RED, EViT

Various per-layer dropping schemes with different scoring. Accuracy-speed Pareto.

9.4 ToMe (Token Merging, Bolya & Hoffman 2023)

No training required; drop-in for ViT. ~2× speedup with < 1 accuracy point loss.

9.5 ToMe in practice

9.6 ToMeSD (token merging for Stable Diffusion)

Apply ToMe inside SD U-Net's self-attention. Unmerge before residual to preserve spatial info. ~1.5× inference speedup at minor quality loss.

9.7 ToMe variants

9.8 Why merging beats dropping

Drop loses information; merge preserves a weighted average. Empirically, merging gives smoother quality-speed Pareto.

10. VLM Token Pruning

10.1 The VLM token problem

A VLM with high-res tile-encoded image can have thousands of vision tokens. After early layers, the LLM rarely attends to most of them. Pruning vision tokens unlocks massive speedup with minimal quality loss.

10.2 FastV (Chen et al. 2024)

Insight: in VLMs, after layer K (K ~2–4), most attention from text tokens to vision tokens is concentrated on a few. Drop the rest after layer K.

Drop vision-tokens with

\[\sum_t a_{t\to i} < \tau \quad \text{after layer } K.\]

10.3 VTW (Visual Token Withdrawal)

Withdraw vision tokens entirely after layer K; LLM operates only on text + summary. Even more aggressive than FastV.

10.4 LLaVA-PruMerge

Token clustering + merging for LLaVA-class VLMs. Reduces vision tokens by 14×.

10.5 SparseVLM

Per-layer adaptive vision token sparsity. Different sparsity per layer.

10.6 VisionZip

Compress vision tokens before LLM input. Tokenizer-side reduction.

10.7 TokenPacker

Hierarchical packing of vision tokens. Multi-scale.

10.8 Production VLM pattern (2026)

  1. Vision encoder produces ~1024 tokens.
  2. Pixel unshuffle / packing to ~256.
  3. LLM forward; FastV-style drop after layer 2–4.
  4. Effective vision tokens: ~50 during late layers.
  5. Speedup: 3–4× vs no pruning; <1% quality loss.

10.9 Quality vs speed Pareto

★ 2026 SOTA update — DivPrune: diversity-based token pruning

11. KV Cache Token Eviction

11.1 The KV cache pruning problem

Long-context decode reads the entire KV cache per step. Memory + bandwidth scale linearly with n.

11.2 H2O (Heavy-Hitter Oracle, Zhang et al. 2023)

Insight: a small fraction of tokens ("heavy hitters") receive most of the attention mass.

11.3 Scissorhands

Persistent-importance-based eviction. Tokens unimportant once tend to remain unimportant. Cheaper to compute than H2O.

11.4 SnapKV (Li et al. 2024)

Prefill-time compression for long-prompt scenarios:

11.5 Pyramid KV (Cai et al. 2024)

Different layers retain different amounts: lower layers more, deeper layers fewer. Insight: deeper layers concentrate attention on fewer tokens. Memory savings without uniform pressure.

11.6 StreamingLLM (Xiao et al.)

Sliding window + sink tokens: keep first k ~4 "sink" tokens always + sliding window of w recent. Effective unbounded streaming with constant cache.

11.7 Quest (Tang et al. 2024)

Query-aware retrieval: at each query, retrieve only the top-k most-relevant past KV blocks. Combines paged KV with importance-based retrieval. Long-context speedup with quality preserved.

11.8 TokenButler

Predicts query-aware token importance and prunes before attention.

11.9 FastV (KV-cache application)

Drop vision-token KV after early layers in VLM decoding. Discussed in VLM section.

11.10 Adaptive eviction policies

11.11 Comparison table

Method When Insight
H2O decode heavy hitters + recent
Scissorhands decode persistent importance
SnapKV prefill pre-compress before decode
Pyramid KV decode per-layer retention
StreamingLLM always sinks + sliding window
Quest query-time retrieve relevant blocks
FastV VLM decode drop vision tokens

★ 2026 SOTA update — CAKE: layer-aware KV eviction

12. Diffusion Token Pruning

12.1 ToMe-SD recap

Apply ToMe in SD's self-attention layers. Merge similar spatial tokens; unmerge before residual. ~1.5× speedup.

12.2 ToMe for video diffusion

Apply ToMe across temporal + spatial axes. Especially effective for video where adjacent frames have high redundancy.

12.3 DyDiT (Dynamic DiT)

Per-token-per-step adaptive compute:

12.4 Block-cache patterns (DeepCache, TGATE)

Not strictly pruning, but conceptually related: skip recomputation of stable feature maps across denoising steps.

12.5 Token-aware step distillation

Distill samples that handle token pruning gracefully. Combines distillation + pruning.

12.6 Patch / region pruning for high-res

For high-res image generation: drop patches outside object regions; saves compute on background. Used in some commercial pipelines.

★ 2026 SOTA update — TinyFusion: diffusion depth pruning

13. Mixed Pruning Approaches

13.1 Token + parameter

13.2 Gaussian + activation

13.3 Layer + token (extreme compression)

13.4 MoE + sparsity

13.5 Dynamic at inference

Per-input adaptive compute:

13.6 Cascades + pruning

★ 2026 SOTA update — STUN: MoE expert pruning

14. Pruning + Quantization Composition

14.1 The standard production stack

  1. Train dense FP32 / BF16.
  2. Apply 2:4 sparsity (Wanda / SparseGPT).
  3. Quantize to INT4 / FP8 (GPTQ / AWQ).
  4. Brief LoRA recovery.
  5. Deploy.

Compounding: 2× from sparsity + 4× from quantization = 8× memory + speedup.

14.2 Order matters

14.3 Mixed precision + sparsity

15. Pruning Evaluation

15.1 Metrics to report

15.2 Pareto fronts

Plot quality-vs-compression. Compare methods at matched compression. Report multiple operating points.

15.3 Per-layer sensitivity analysis

For each layer:

15.4 Ablation methodology

15.5 Common evaluation pitfalls

15.6 Eval suites

16. Implementation Patterns

16.1 Mask-based pruning

16.2 Hard removal

16.3 Sparse kernels

16.4 Frameworks supporting structured sparsity

16.5 Triton kernels for ToMe / FastV

16.6 Per-layer rate scheduling

17. Production Recipes

17.1 LLM serving (cloud)

17.2 LLM serving (consumer GPU)

17.3 VLM serving

17.4 Diffusion serving

17.5 3DGS serving

17.6 Edge deployment

17.7 Reasoning model serving

18. Frontier 2025–2026

18.2 Adaptive / dynamic pruning

Per-input adaptive compute:

18.3 Native sparsity training

DeepSeek NSA (Native Sparse Attention): train with sparse attention from scratch. End-to-end optimized; bypasses lossy post-hoc pruning.

18.4 Token-aware MoE pruning

18.5 Adaptive Gaussian generation / pruning

18.6 Open research directions

★ 2026 SOTA update — TEAL: training-free activation sparsity

19. Failure Modes and Pitfalls

19.1 Aggressive pruning regressions

19.2 Calibration overfit

Pruning method optimizes for calibration distribution; fails out-of-domain.

19.3 Layer pruning + reasoning

Layer pruning often hurts long-form reasoning more than short-form. Test on chain-of-thought tasks.

19.4 KV eviction + long context

H2O-style eviction can hurt very-long-context tasks where retrieval depends on tokens evicted.

19.5 ToMe + spatial information

Aggressive merging loses spatial detail; image quality regression.

19.6 Pruning + safety regression

Pruning can quietly degrade refusal / safety behavior. Always test post-prune on safety eval.

19.7 Sparsity-quantization interaction

Combined sparsity + INT4 quantization can have non-additive quality loss. Joint tuning needed.

19.8 Catastrophic regression at high sparsity

Most methods graceful up to 50%, then steep drop. Test multiple operating points.

20. Production Stack 2026

Use case Default approach Notes
LLM serving (cloud) 2:4 + FP8 + paged KV + H2O / SnapKV TensorRT-LLM
LLM serving (consumer) Q4 GGUF + StreamingLLM + layer prune llama.cpp
LLM long context Pyramid KV / Quest / SnapKV contextual eviction
LLM streaming StreamingLLM (sinks + window) Mistral pattern
VLM serving FastV after layer 2–4 + LLM 2:4 3× speedup
VLM mobile Pixel unshuffle + FastV + Q4 ANE / Hexagon
Diffusion (image) ToMe-SD + Block-cache + step distill 10× vs baseline
Diffusion (video) ToMe temporal + Block-cache + distill emerging
3DGS (deployment) LightGaussian / CompGS + INT8 quant 10–20× smaller
3DGS (web / mobile) + LoD + streaming chunks city-scale
Modern LLM compression SparseGPT / Wanda + LoRA recovery cheap
Layer-level LLM compression ShortGPT / LLM-Streamline 25% layers off
Hidden-dim LLM compression SliceGPT dense matmul
Reasoning model serving + Pyramid KV + speculative long CoT
Edge ViT DynamicViT / ToMe / structured prune mobile classification

Appendix A: Twenty-Five Things to Know

  1. Three pruning targets: parameters / Gaussians / tokens.
  2. Magnitude pruning: prune \(|w| < \tau\); surprisingly competitive baseline.
  3. Lottery Ticket Hypothesis: sparse subnets in dense networks.
  4. IMP: prune → reset → retrain.
  5. Movement pruning: \(\text{sign}(w \cdot \nabla L) \cdot |w|\).
  6. Pruning-at-init (SNIP / GraSP / SynFlow).
  7. Random pruning is a strong baseline.
  8. 2:4 N:M sparsity: hardware-supported on H100 / Blackwell, 2× matmul.
  9. SparseGPT: layer-wise OBS with Hessian.
  10. Wanda: \(|w| \cdot \|x\|\); cheap activation-aware.
  11. ShortGPT: layer pruning via Block Importance.
  12. SliceGPT: orthogonal slicing of hidden dims.
  13. LLM-Pruner: structured channel pruning.
  14. Pruning + LoRA recovery: standard recipe.
  15. 3DGS density control: clone / split / prune / opacity reset.
  16. LightGaussian: importance-based pruning + INT8 + SH distill.
  17. CompGS: codebook compression for 3DGS.
  18. ToMe (Bolya & Hoffman): bipartite soft-matching merge.
  19. ToMeSD: ToMe in SD U-Net.
  20. DynamicViT: learned per-token importance.
  21. FastV: drop vision tokens after layer 2–4 in VLM.
  22. H2O: heavy hitters + recent for KV eviction.
  23. SnapKV: prefill-time importance pooling.
  24. Pyramid KV: deeper layers retain fewer tokens.
  25. StreamingLLM: sinks + sliding window for unbounded streaming.

Appendix B: Decision Tree — "Which Pruning?"

  1. LLM weight pruning, post-training? → SparseGPT or Wanda + 2:4 + FP8 + LoRA recovery.
  2. LLM layer-level extreme compression? → ShortGPT or LLM-Streamline.
  3. LLM hidden-dim compression? → SliceGPT.
  4. LLM long-context decode (KV cache)? → H2O or Pyramid KV or SnapKV (prefill).
  5. LLM streaming? → StreamingLLM (sinks + window).
  6. ViT inference acceleration? → ToMe (drop-in, no training).
  7. VLM inference acceleration? → FastV (drop vision tokens after layer K).
  8. Diffusion image gen? → ToMe-SD + Block-cache + distill.
  9. 3DGS deployment compression? → LightGaussian or CompGS.
  10. Edge / mobile? → Combined: layer prune + 2:4 / unstructured prune + INT4 quant + distill.
  11. Hardware-friendly speedup (Hopper / Blackwell)? → 2:4 sparsity + FP8 via TensorRT-LLM.
  12. Adaptive per-input compute? → Mixture-of-Depths or Quest (KV) or DyDiT (diffusion).

Appendix C: Year-by-Year Pruning Milestones