Accelerating Convolutional Networks via Global & Dynamic Filter Pruning

Shaohui Lin, Rongrong Ji, Yuchao Li, Yongjian Wu, Feiyue Huang, Baochang Zhang

Introduction

Deep Convolutional Neural Networks (CNNs) have achieved state-of-the-art performance in various computer vision tasks but are often too computationally expensive for deployment on resource-constrained devices. Filter pruning has emerged as a viable solution to reduce model size and inference time by removing redundant 3D filters. However, traditional pruning methods often suffer from layer-wise rigidity—pruning one layer at a time—and irretrievability, where mistakenly pruned filters cannot be recovered.

The GDP Framework

To address these limitations, the authors propose Global & Dynamic Filter Pruning (GDP). This framework introduces two primary innovations: global pruning and dynamic updating.

The GDP framework: from a pre-trained model to a pruned, optimized network through global pruning and dynamic updating.

Global Pruning and Dynamic Updating

Unlike layer-wise methods, GDP evaluates the importance of every filter across the entire network simultaneously. It utilizes a Global Mask ($m$) that acts as a set of binary switches for each filter. During training, the algorithm doesn't just fine-tune remaining weights; it periodically re-evaluates all filters. If a previously pruned filter's importance score—calculated using a first-order Taylor Expansion (TE) saliency criterion—rises above a threshold, it is "recalled" into the network. This dynamic mechanism prevents the permanent loss of salient information early in the pruning process.

Experimental Results

The GDP method was evaluated on the ImageNet (ILSVRC 2012) dataset using AlexNet, VGG-16, and ResNet-50 architectures.

Comparison of Top-1 accuracy vs. GPU speedup ratio for AlexNet and VGG-16 across various pruning methods.

As shown in the figure above, GDP consistently achieves a superior trade-off between accuracy and speedup compared to baselines such as $l_1$-norm pruning, APoZ, and SSL.

  • AlexNet: Achieved a 2.12× GPU speedup with a minimal 1.15% drop in Top-5 accuracy.
  • VGG-16: Reached a 2.17× CPU speedup with a 1.45% drop in Top-5 accuracy.
  • ResNet-50: Obtained a 1.93× CPU speedup with a 2.16% Top-5 accuracy loss.

Furthermore, GDP is significantly more efficient to train. For VGG-16, it required approximately 6.5 times fewer training epochs than traditional iterative pruning methods, highlighting its practical utility for large-scale model compression.

Conclusion

GDP offers a robust approach to CNN acceleration by treating pruning as a global, reversible optimization problem. By allowing the network to "re-grow" important filters and optimizing across all layers at once, it maintains high accuracy while delivering substantial speedups on standard hardware. Future work may explore combining GDP with other techniques like parameter quantization to further enhance model efficiency.

Summary updated

BibTeX
@inproceedings{lin2018accelerating,
  author = {Shaohui Lin and Rongrong Ji and Yuchao Li and Yongjian Wu and Feiyue Huang and Baochang Zhang},
  title = {{Accelerating Convolutional Networks via Global \& Dynamic Filter Pruning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/336},
}
Figure