Effective Model Pruning

Yixuan Wang, Dan P. Guralnik, Saiedeh Akbari, Warren E. Dixon · DOI

Introduction

Deep learning models are often characterized by significant redundancy. While massive architectures achieve state-of-the-art results, many parameters contribute little to the final output. Pruning—the removal of these redundant components—is critical for deploying models on resource-constrained edge devices. However, determining the optimal "sparsity budget" has traditionally been a heuristic-driven process, often leading to either wasted resources or catastrophic performance collapse.

The authors introduce Effective Model Pruning (EMP), a mathematically grounded framework that automatically determines the optimal pruning threshold by analyzing the distribution of importance scores.

The EMP Methodology

The core innovation of EMP is treating a vector of importance scores (e.g., weight magnitudes or attention scores) as a probability distribution. By borrowing the concept of "effective sample size" from statistics and ecology, EMP identifies the "natural" number of significant components in a model.

Algorithm 1: The Effective Model Pruning (EMP) procedure.

The algorithm follows three primary steps:

  1. Normalization: A score vector $s$ is normalized into a probability weight vector $\omega$.
  2. Effective Sample Size ($N_{eff}$): The "effective number" of components is calculated using the inverse Simpson index: $$N_{eff} = \left( \sum_{i=1}^{N} \omega_i^2 \right)^{-1}$$
  3. Thresholding: The top $N_{eff}$ components are retained, while the rest are discarded.

This approach provides a provable upper bound on the "loss change," theoretically guaranteeing model stability post-pruning.

Key Insights: The "Natural" Threshold

A central finding of the paper is that $N_{eff}$ consistently marks a "phase transition" in model performance. By introducing a scaling factor $\beta$ such that the number of retained components is $\beta \cdot N_{eff}$, the authors demonstrate that performance remains stable for $\beta \ge 1$ but drops sharply for $\beta < 1$.

Performance vs. scaling factor $\beta$. A clear phase transition occurs at $\beta=1$, which corresponds to the $N_{eff}$ threshold across various models and datasets.

This suggests that $N_{eff}$ is not just a heuristic but a fundamental measure of a model's intrinsic dimensionality relative to a given importance criterion.

Experimental Results

The authors validated EMP across a diverse range of benchmarks, including Computer Vision (MNIST, CIFAR, TinyImageNet) and Large Language Models (GPT-2, LLaMA).

  • LLM Efficiency: For LLaMA-7B, EMP-based magnitude pruning achieved a mean accuracy of 51.11%—slightly higher than the dense model—while removing over 36% of parameters.
  • Criterion Agnostic: EMP works effectively with various scoring methods, including weight magnitude, Taylor expansion (sensitivity), and attention head importance.
  • Attention Pruning: On GPT-2, EMP identified high redundancy in attention heads, allowing for pruning with minimal impact on perplexity without fine-tuning.

Limitations and Future Directions

While robust, the current theoretical framework for loss bounds is primarily tailored to weight-magnitude pruning. Future work may extend these proofs to other criteria like Taylor-based pruning. Additionally, the authors suggest that EMP could be integrated into training as a dynamic gating mechanism or adapted to align with hardware-specific structured sparsity patterns (e.g., 2:4 sparsity).

Summary updated

BibTeX
@misc{wang2025effective,
  author = {Yixuan Wang and Dan P. Guralnik and Saiedeh Akbari and Warren E. Dixon},
  title = {{Effective Model Pruning}},
  year = {2025},
  eprint = {2509.25606},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.25606},
}
Figure