Network Pruning via Resource Reallocation

Yuenan Hou, Zheng Ma, Chunxiao Liu, Zhe Wang, Chen Change Loy · DOI

Abstract

Network pruning is essential for deploying deep learning models on edge devices, yet traditional methods are often computationally expensive and iterative. We present PEEL (Pruning via rEsource rEalLocation), a novel one-shot channel pruning method. PEEL begins with an over-pruned backbone and strategically reallocates a "resource pool" of FLOPs to layers based on their importance, estimated via Batch Normalization statistics. Our approach achieves state-of-the-art performance on ImageNet with significantly reduced search time and memory overhead compared to existing supernet-based or iterative methods.

Introduction

Deep neural networks (DNNs) have achieved remarkable success in computer vision, but their high computational demands hinder deployment on resource-constrained hardware like mobile phones and IoT sensors. Channel pruning—the removal of redundant feature maps—is a common solution. However, conventional pruning methods typically rely on "backward elimination" (iterative pruning and fine-tuning) or training massive "supernets" to search for sub-networks. These approaches are computationally expensive, often requiring hundreds of GPU hours and significant memory.

The PEEL Framework

PEEL (Pruning via rEsource rEalLocation) shifts the paradigm from iterative subtraction to strategic forward selection. Instead of starting with a full model and pruning down, PEEL starts with an extremely compact backbone and grows it to meet a target resource constraint.

Overview of the PEEL one-shot pruning process.

The process consists of five primary steps:

  1. Over-Pruned Backbone Creation: The original network is uniformly pruned beyond the target constraint, creating a "resource pool" of available FLOPs.
  2. Importance Estimation: Layer importance is estimated using the L1-norm of Batch Normalization (BN) scaling factors ($\gamma$).
  3. Layer Grouping: Layers are grouped by spatial feature map size to maintain architectural consistency, particularly for residual connections.
  4. One-Shot Resource Reallocation: The resource pool is distributed among these groups. Groups with higher importance scores receive a larger share of the expansion.
  5. Knowledge Distillation: The final pruned model is trained from scratch using knowledge distillation from the original unpruned "teacher" model.

Experimental Evaluation

We evaluated PEEL on the ImageNet (ILSVRC2012) dataset across several architectures, including ResNet-50, MobileNetV2, and EfficientNet-B0.

Comparison of different resource allocation strategies across various FLOP constraints.

As shown in the experimental results, the "Importance" metric utilized by PEEL consistently outperforms other allocation strategies such as uniform, random, or winner-take-all across various FLOP budgets. On ResNet-50, PEEL achieved a 45% reduction in FLOPs with negligible accuracy loss. On MobileNetV2, it discovered an architecture with the same FLOP count as the original but with a 2.5% improvement in top-1 accuracy.

Crucially, PEEL significantly reduces search costs. Finding the optimal ResNet-50 architecture required only 37 hours and 4.3 GB of GPU memory, compared to 98 hours and 9.5 GB for competing methods like DMCP.

Key Insights

A significant finding of this work is that shallow layers often require more resources than deeper layers to preserve spatial information. PEEL's importance-based allocation naturally favors these early layers. Furthermore, because PEEL relies on deterministic BN statistics rather than stochastic sampling, the resulting architectures are highly stable across different runs.

Conclusion

PEEL provides a fast, one-shot alternative to complex, iterative pruning methods. By reallocating resources to critical layers on a compact backbone, it achieves state-of-the-art efficiency with minimal computational overhead, making it a practical choice for real-world model compression.

Summary updated

BibTeX
@article{hou2021network,
  author = {Yuenan Hou and Zheng Ma and Chunxiao Liu and Zhe Wang and Chen Change Loy},
  title = {{Network Pruning via Resource Reallocation}},
  journal = {Pattern Recognition},
  year = {2021},
  doi = {10.1016/j.patcog.2023.109886},
}
Figure