NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Efficient Pruner for Large Language Model with Theoretical Guarantee

Canhong Wen, Yihong Zuo, Wenliang PanICML 2025

TL;DR

This paper introduces the mAIHT Pruner, a novel one-shot pruning method for Large Language Models (LLMs) that bridges the gap between heuristic-based shortcuts and rigorous optimization. By reformulating pruning as an $\ell_0$-penalized problem and employing a monotone accelerated algorithm, mAIHT achieves state-of-the-art results on LLaMA models while providing solid theoretical guarantees on convergence and error bounds.

The Challenge of LLM Pruning

As LLMs grow to hundreds of billions of parameters, their hardware requirements for inference become staggering. Pruning—removing redundant weights—is a standard solution, but the field is currently split into two extremes:

  1. Iterative Retraining: Highly effective but computationally prohibitive for massive models.
  2. One-Shot Heuristics: Methods like Wanda or SparseGPT are incredibly fast but rely on approximations (like weight magnitude or input activation norms). They lack theoretical guarantees that they are finding the optimal sparse representation.

The authors address this gap by designing a one-shot pruner that is mathematically principled, guaranteed to converge, and efficient enough to run on a single GPU in under 30 minutes.

The mAIHT Methodology

The researchers treat pruning as a layer-wise subset selection problem. Instead of relying on heuristics to cut weights, they solve a formal optimization problem using a monotone accelerated Iterative Hard Thresholding (mAIHT) algorithm.

Key technical components include:

  • $\ell_0$-Penalized Optimization: The algorithm directly targets the number of non-zero elements. While this is the "purest" form of sparsity, it is notoriously difficult to optimize due to its non-convex and non-smooth nature.
  • Monotone Acceleration: Standard Iterative Hard Thresholding (IHT) is slow. The authors add a momentum term to accelerate it, paired with a "monotone" check: the algorithm only accepts an accelerated step if it reduces the loss. Otherwise, it falls back to a safe proximal gradient step.
  • Adaptive Sparsity Control: A feedback loop adjusts the penalty coefficient ($\lambda$). If the model is too dense, $\lambda$ increases; if too sparse, it decreases. This allows the algorithm to automatically hit a precise target sparsity (e.g., exactly 50%).
  • Two-Stage Process: First, mAIHT finds the optimal "support" (which weights to keep). Second, Projected Gradient Descent (PGD) refines the values of the remaining weights.

Key Insights

  • Theory Meets Practice: Unlike many "black box" pruning techniques, mAIHT provides a full theoretical analysis. The authors prove that the algorithm converges to an "$\alpha$-fixed point" and establish risk upper bounds, offering a mathematical guarantee on the maximum error introduced by pruning.
  • The "Exponential" Schedule: During the first stage, the sparsity naturally follows an exponential shrinking curve. Previous research suggested this shape is ideal for maintaining performance, and mAIHT discovers it automatically through optimization.
  • Stability via Regularization: Adding a small $\ell_2$ penalty (weight decay) during pruning significantly improves the final solution by preventing overfitting to the small calibration dataset (128 samples from the C4 dataset).

Key Results

The mAIHT Pruner was evaluated against Magnitude Pruning, Wanda, SparseGPT, and ADMM-based pruning on LLaMA-7B and LLaMA-13B models.

Superior Perplexity

On the WikiText2 dataset, mAIHT consistently achieved lower (better) perplexity than all baseline methods across sparsity levels from 20% to 50%. For instance, at 50% sparsity on LLaMA-7B, mAIHT reached a perplexity of 7.07, outperforming SparseGPT (7.23) and Wanda (7.25).

WikiText2 Perplexity Comparison

Zero-Shot Accuracy

mAIHT also achieved the highest mean accuracy across seven zero-shot tasks (BoolQ, RTE, HellaSWAG, WinoGrande, ARC-e, ARC-c, OBQA) at every tested sparsity level. At 50% sparsity, it maintained a mean accuracy of 59.79%, nearly 1% higher than the next best method (ADMM).

Zero-Shot Evaluation Results

These performance gains also scaled successfully to the larger LLaMA-13B model, where mAIHT continued to outperform SparseGPT in both perplexity and average task accuracy.

Limitations and Future Work

  • Iterative Overhead: While much faster than full retraining, mAIHT is an iterative gradient-based method. It requires more compute time (20–30 minutes for LLaMA-7B) and memory than instant one-shot heuristics.
  • Unstructured Focus: The current theoretical analysis focuses on unstructured pruning. While the authors demonstrate empirical success on 2:4 structured sparsity, the theoretical guarantees do not yet fully extend to these geometric constraints.
  • Future Directions: The authors plan to extend this framework to non-uniform pruning (varying sparsity levels across layers) and more complex structured pruning strategies.

Summary updated

BibTeX
@inproceedings{wen2025efficient,
  author = {Canhong Wen and Yihong Zuo and Wenliang Pan},
  title = {{An Efficient Pruner for Large Language Model with Theoretical Guarantee}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=nh9mBCYeF7},
}
Figure