TL;DR
Traditional large language model (LLM) pruning focuses on keeping large activations or minimizing absolute reconstruction error, but this paper shows that preserving a model's ability to differentiate similar inputs is far more crucial. By introducing a family of "difference-informed" pruning methods (Wisp, Wisp+, and Whisper), the authors achieve state-of-the-art one-shot compression across various model families (up to 405B parameters) with negligible computational overhead.
What Problem Does This Paper Address?
Post-training, one-shot pruning is an essential tool for deploying massive LLMs efficiently because it removes network weights using only a small calibration dataset and zero expensive retraining. Standard state-of-the-art methods like Wanda or SparseGPT prune weights by looking at activation magnitudes or minimizing layer-wise reconstruction errors.
However, the authors point out a major blind spot: these criteria completely overlook "Wasserstein neurons"—a subpopulation concentrated in the MLP up and gate projections. Instead of just firing heavily on large inputs, these specialized neurons map similar input vectors to highly dissimilar outputs. Pruning them using standard magnitude- or activation-based metrics destroys this delicate geometric separation capability, leading to severe performance degradation, especially at high sparsity levels.
Methods
The authors propose three "difference-informed" pruning variants applied specifically to the MLP up and gate projections:
- Wisp (Wasserstein-Inspired Saliency Pruning): A first-order, update-free method. It modifies the popular Wanda baseline by replacing the standard activation norm with an input-difference norm ($\|\Delta X_j\|_2$), scoring weights based on how much they contribute to output variations across randomly paired calibration inputs.
- Wisp+: A neuronwise refinement of Wisp. Recognizing that individual neurons specialize in separating distinct subsets of inputs, Wisp+ identifies the specific input pairs each neuron differentiates most strongly and calculates a tailored saliency score using an $\ell_1$ statistic.
- Whisper (Wasserstein-inspired Hessian-Informed Separation-Preserving Error Reconstruction): A second-order method that incorporates weight updates. It replaces SparseGPT's standard activation Hessian ($XX^T$) with a lightly regularized "difference Hessian" ($H_\Delta = \Delta X \Delta X^T$). This forces the weight update solver to prioritize preserving pairwise output separations rather than just absolute output values.
Datasets
- Calibration: 128 sequences of 4096 tokens from the WikiText-2 training set.
- Evaluation: Language modeling performance is evaluated via perplexity on the WikiText-2 test set. Downstream capabilities are tested using the Language Model Evaluation Harness across a suite of standard benchmarks: ARC Challenge, MathQA, HellaSwag, MMLU, TruthfulQA-MC, and WinoGrande.
No new datasets or benchmarks were introduced in this work.
Key Insights and Ideas
- Function over Magnitude: Neurons shouldn't just be judged by how loudly they fire (activation magnitude), but by how they transform the input space. Preserving input-output geometry (differentiation) is a superior signal for pruning.
- High-Sparsity Resilience: The benefits of difference-informed pruning scale dramatically with the aggressiveness of the pruning. At 50% sparsity, the gap between methods is small, but at 65%–75% sparsity, standard methods collapse while difference-informed methods maintain much better perplexity.
- Plug-and-Play Composability: This geometric insight isn't locked into a single algorithm. The authors successfully injected Wisp and Whisper into more advanced pruning frameworks like RIA and ALPS, shifting the entire accuracy-runtime Pareto frontier outward at almost zero extra cost.
Key Results
- Whisper vs. SparseGPT: Whisper consistently outperforms SparseGPT across all tested model sizes (7B to 405B) and sparsities. For instance, on Llama 2 7B at 65% unstructured sparsity, Whisper improves perplexity by 1.21 points over SparseGPT.
- Wisp+ Closes the Gap: As an update-free method, Wisp+ recovers a massive chunk of the performance normally lost by not doing second-order optimization. At 65% sparsity, Wisp+ closes 78% of the Wanda-to-SparseGPT performance gap on Llama 2 13B.
- Broad Generalization: The gains hold true across multiple model architectures, including Llama 2, Llama 3.1, Mistral, Qwen, and Granite.
- Zero Hidden Costs: Wisp runs at the exact same speed as Wanda, while Whisper matches the runtime of SparseGPT, proving the accuracy gains stem entirely from better geometry, not heavier compute.
Limitations and Future Work
- Scope of Application: The difference-informed criteria are currently only applied to the MLP up and gate projections. Attention and down projections still rely on standard baseline methods.
- Dense Models Only: The study focuses strictly on dense pretrained models. While the authors hypothesize that this method would be highly effective for Mixture-of-Experts (MoE) models (which allocate a large fraction of parameters to up/gate projections), they leave this engineering challenge to future work.
- No Recovery Training: The paper isolates the pure one-shot setting and does not explore post-pruning finetuning or recovery training.
Summary updated