The Sparsity Whisperer

Linghao Kong, Inimai Subramanian, Micah Adler, Dan Alistarh, Dan Gutfreund, Nir N ShavitNeurIPS 2026

TL;DR

When we prune Large Language Models (LLMs) to run faster, we normally try to preserve the weights responsible for the loudest signals—the largest activations. This paper reveals that we should also protect the weights that act as subtle discriminators, separating very similar inputs into distinct outputs. By swapping standard activation metrics for "difference-informed" ones, the authors boost the accuracy of pruned models across the board without slowing down the compression process.

What Problem Does This Paper Address?

Running massive LLMs is expensive. One popular way to shrink them is one-shot pruning: zeroing out a large percentage of weights using just a tiny calibration dataset, completely skipping expensive retraining.

Existing one-shot methods fall into two camps: fast, update-free methods like Wanda (which keep weights tied to big input activations), and heavier second-order methods like SparseGPT (which use a Hessian matrix to reconstruct layer outputs and update remaining weights to compensate for pruned ones). Both share a blind spot: they assume a weight's job is simply to maintain overall signal magnitude or reconstruct outputs.

However, recent interpretability research discovered "Wasserstein neurons" concentrated in the MLP up and gate projections. These neurons don't necessarily fire with huge magnitudes; instead, their superpower is input differentiation—mapping nearly identical input vectors to wildly different scalar outputs. Because standard pruning overlooks this geometry, these fragile neurons break easily at high sparsity. The authors ask: what happens if we explicitly design pruning criteria to preserve pairwise differences between outputs?

Methods

Instead of reinventing the pruning pipeline, the authors intervene solely in the MLP up and gate projections (leaving attention and down projections to standard baselines). Using random pairs of calibration inputs to compute input difference vectors ($\Delta\mathbf{X}$), they introduce three methods:

  • Wisp+ (Neuronwise, no weight updates): For each neuron, it finds the top $0.5\%$ of input pairs that the neuron separates the most relative to how close the inputs started. It scores weights by how much they contribute to separating those specific pairs.
  • Wisp (Layerwise, no weight updates): A faster, simplified cousin of Wisp+. Instead of finding specialized pairs per neuron, it scores weights using shared pairwise input-difference norms across the whole layer—running at the exact same speed as Wanda.
  • Whisper (Second-order, with weight updates): A drop-in upgrade for SparseGPT. Instead of building a Hessian from raw inputs ($\mathbf{X}\mathbf{X}^T$) to preserve outputs, Whisper builds a "difference Hessian" ($\Delta\mathbf{X}\Delta\mathbf{X}^T$) to preserve output separations, lightly regularized with $1\%$ of the standard Hessian so the model doesn't lose track of absolute output values.

Datasets

No new benchmarks are introduced; the authors rely on standard, battle-tested suites:

  • Calibration & Language Modeling: WikiText-2 (128 sequences for calibration; test set for perplexity).
  • Downstream Reasoning (Open LLM Leaderboard v1-like): ARC Challenge, MathQA, HellaSwag, MMLU, TruthfulQA-MC, and WinoGrande.

Key Insights and Ideas

  • Function-specific pruning works: Not every part of a transformer does the same math. Ablations prove that difference-informed pruning shines in MLP gate and up projections (where Wasserstein neurons live), whereas applying it to MLP down projections actually hurts performance.
  • First-order methods can punch in a higher weight class: Usually, skipping weight updates costs you dearly at high sparsity. Yet by preserving neuron-specific separations, Wisp+ recovers 67% to 78% of the performance gap between update-free Wanda and second-order SparseGPT at 65% sparsity.
  • Orthogonal and composable: Difference preservation isn't just a band-aid for older baselines. When plugged into state-of-the-art frameworks like RIA and ALPS, it consistently pushes the accuracy-runtime Pareto frontier outward.
Analysis of difference-informed pruning and input differentiation

Key Results

Tested across Llama 2 (7B–70B), Llama 3.1 (8B–405B), Mistral 7B, Qwen3 (8B, 14B), and Granite 4.1, the hierarchy is remarkably consistent: Whisper beats SparseGPT, and Wisp+/Wisp beat Wanda.

Unstructured sparsity scaling on Llama 2
  • High Sparsity Scaling: Improvements grow as pruning gets more aggressive (50% to 75% unstructured sparsity). At 65% sparsity on Llama 2 7B, Whisper drops WikiText-2 perplexity from SparseGPT's 10.64 down to 9.46, while Wisp+ drops Wanda's 18.81 down to 13.17.
  • Hardware-Friendly 2:4 Sparsity: Under structured 2:4 sparsity, Whisper achieves the best perplexity and downstream task average across every tested Llama 2 and 3.1 model—even scaling cleanly to Llama 3.1 405B (4.06 PPL vs. SparseGPT's 4.20).
  • Massive Speedups Against Heavy Solvers: On Llama 2 70B (2:4 sparsity), Whisper (4.51 PPL) virtually ties the heavy optimization baseline ALPS (4.50 PPL) while taking only 20% of the pruning time. Combining them (ALPS-Whisper) reaches 4.41 PPL with $\le 1.5\%$ extra runtime.

Limitations and Future Work

  • Dense models only: Experiments are restricted to dense transformers. Extending this to Mixture-of-Experts (MoE) models requires handling routing mechanics, though the authors suspect MoEs could benefit immensely since expert MLP projections hold the lion's share of parameters.
  • Partial coverage: The criteria only upgrade the up and gate projections. Discovering the core functional invariants of attention and down projections remains an open puzzle.
  • No post-pruning recovery: The paper strictly isolates the one-shot setting without finetuning, leaving open how difference-informed masks interact with recovery training.

Summary updated

Abstract

Pruning reduces the inference cost of large language models, but existing criteria primarily preserve large activations or reconstruct layer outputs. We argue that this overlooks a key computation performed by particularly sparsity-sensitive neurons in the MLP up and gate projections: separating similar inputs into dissimilar outputs. This suggests that effective pruning should preserve not only activations, but also the differences between outputs more broadly. We introduce a family of difference-informed pruning methods built upon this principle. Wisp+ is a neuronwise, update-free method that prioritizes the input pairs each neuron separates most strongly relative to their distance. Wisp provides a more efficient layerwise alternative that scores weights using shared input-difference norms. Finally, Whisper extends global difference preservation to second-order reconstruction using a lightly regularized difference Hessian. Across Llama 2 and 3.1 models from 7B to 405B parameters, our second-order variant consistently improves over strong reconstruction-based baselines, while our update-free variants improve over activation-aware baselines, especially in constrained settings. The improvements over Wanda and SparseGPT extend to structured sparsity, downstream evaluations, and other model families. Augmenting stronger techniques such as RIA and ALPS with our difference-informed criteria yields further improvements, shifting the overall accuracy-runtime frontier outward at negligible additional cost. These results suggest that preserving output differences is a broadly useful and composable signal for post-training LLM sparsification.
BibTeX
@inproceedings{kong2026sparsity,
  author = {Linghao Kong and Inimai Subramanian and Micah Adler and Dan Alistarh and Dan Gutfreund and Nir N Shavit},
  title = {{The Sparsity Whisperer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=SkASoryYLq},
}

Loading related content...

Figure