Network Pruning Spaces

Xuanyu He, Yu-I Yang, Ran Song, Jiachen Pu, Conggang Hu, Feijun Jiang, Wei Zhang, Huanghao Ding · DOI

Network Pruning Spaces: A Statistical Perspective on Model Compression

Neural network pruning is often approached as a search for a single optimal "recipe." This paper shifts the focus toward Network Pruning Spaces, analyzing the statistical distribution of pruned architectures. By introducing the Mean Computation Budget (mCB) metric—the ratio of FLOPs to parameters relative to the original model—the authors demonstrate that high-performing subnetworks consistently maintain an mCB near 1.0. This structural insight allows for the efficient discovery of pruned models that outperform state-of-the-art methods on ImageNet with significantly reduced search effort.

The Problem: Beyond the Black Box

Pruning is vital for deploying deep learning models on edge devices. However, existing research often treats pruning algorithms as black boxes, focusing on the search process rather than the underlying structural properties of successful subnetworks. This paper addresses the "why" behind pruning success by moving from finding a single "needle in a haystack" to characterizing the "haystack" itself through the lens of Network Pruning Spaces.

Methods: Pruning Spaces and mCB

The core methodology involves evaluating populations of subnetworks to identify structural constraints that correlate with high performance. Two key tools are introduced:

  1. Empirical Distribution Functions (EDFs): These visualize the quality of a pruning space by plotting the fraction of subnetworks achieving a specific accuracy drop.
  2. Mean Computation Budget (mCB): Defined as $mCB = \frac{FLOPs_{sub} / Params_{sub}}{FLOPs_{orig} / Params_{orig}}$, this metric measures the computational density of a subnetwork.
Empirical Distribution Functions (EDFs) showing the distribution of accuracy drops across different mCB-constrained pruning spaces.

By identifying that winning models cluster around specific mCB values, the authors "refine" the search space, ignoring architectures that fall outside the optimal ratio. This allows for a standardized pipeline using simple $\ell_2$-norm filter importance and one-shot pruning.

Key Insights: The Optimal Ratio

A significant finding is that the specific pruning metric (e.g., $\ell_1$-norm vs. $\ell_2$-norm) has a negligible impact compared to the overall structural constraints of the pruned model. As shown in the empirical studies, different norms yield nearly identical accuracy drop curves relative to the remaining parameter count.

Accuracy drop across different pruning metrics (l1, l2, FPGM) as a function of remaining parameters.

The authors observe that the "sweet spot" for subnetworks is an mCB ≈ 1.0, meaning the pruned model should preserve the FLOPs-to-parameter ratio of the original human-designed architecture. This explains why uniform pruning, which naturally maintains this ratio, is often a surprisingly strong baseline in extreme compression scenarios.

Key Results on ImageNet

On ImageNet with a ResNet-50 backbone, the mCB-guided approach consistently outperformed specialized SOTA pruning algorithms:

  • 2G FLOPs Zone: The discovered subnetwork achieved 76.90% Top-1 accuracy, surpassing EagleEye (76.40%) and ThiNet-50 (74.70%).
  • 1G FLOPs Zone: It reached 74.96% Top-1 accuracy, significantly outperforming HRank (71.98%) and ThiNet-30 (72.10%).
  • Efficiency: By constraining the search space to models with an mCB of $1.0 \pm 0.1$, high-performing models were found much faster than through unconstrained search.

Limitations and Future Work

The authors note that the "zero accuracy drop" threshold seems tied to dataset size; while achievable on CIFAR-10, it was not found on ImageNet when reducing more than 75% of FLOPs. Additionally, while the principles likely generalize, the optimal mCB might shift for modern architectures like Vision Transformers (ViTs). Future work will focus on developing faster "proxy" metrics to evaluate pruning spaces without full retraining.

Summary updated

BibTeX
@misc{he2023network,
  author = {Xuanyu He and Yu-I Yang and Ran Song and Jiachen Pu and Conggang Hu and Feijun Jiang and Wei Zhang and Huanghao Ding},
  title = {{Network Pruning Spaces}},
  year = {2023},
  eprint = {2304.09453},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.09453},
}
Figure