[Paper Review] Efficient Inference of CNNs via Channel Pruning
This paper proposes a pivoted QR factorization-based channel pruning method that efficiently reduces FLOPs in CNNs by identifying and removing redundant input channels in convolutional layers. The technique achieves up to 4.29× computation reduction on VGG-16 and 2.84× on ResNet-50 with only ~1.4% top-5 accuracy drop, outperforming prior methods in both efficiency and accuracy trade-offs.
The deployment of Convolutional Neural Networks (CNNs) on resource constrained platforms such as mobile devices and embedded systems has been greatly hindered by their high implementation cost, and thus motivated a lot research interest in compressing and accelerating trained CNN models. Among various techniques proposed in literature, structured pruning, especially channel pruning, has gain a lot focus due to 1) its superior performance in memory, computation, and energy reduction; and 2) it is friendly to existing hardware and software libraries. In this paper, we investigate the intermediate results of convolutional layers and present a novel pivoted QR factorization based channel pruning technique that can prune any specified number of input channels of any layer. We also explore more pruning opportunities in ResNet-like architectures by applying two tweaks to our technique. Experiment results on VGG-16 and ResNet-50 models with ImageNet ILSVRC 2012 dataset are very impressive with 4.29X and 2.84X computation reduction while only sacrificing about 1.40\% top-5 accuracy. Compared to many prior works, the pruned models produced by our technique require up to 47.7\% less computation while still achieve higher accuracies.
Motivation & Objective
- To address the high computational, memory, and energy costs of deploying large CNNs on resource-constrained devices such as mobile and embedded systems.
- To develop a structured pruning method that enables efficient hardware and software acceleration by removing entire channels rather than individual weights.
- To explore deeper pruning opportunities in residual networks through architectural-aware modifications to the channel pruning process.
- To achieve superior trade-offs between model efficiency (FLOPs) and accuracy compared to prior pruning techniques.
- To provide a flexible, orthogonal technique that can be combined with other compression methods like quantization and low-rank approximation.
Proposed method
- The method formulates channel pruning as a subset selection problem: selecting a subset of input channels that best preserve the layer’s output, using pivoted QR factorization to efficiently approximate the optimal channel set.
- Pivoted QR factorization enables efficient, greedy selection of the most informative input channels by ranking columns based on their contribution to the column space of the activation matrix.
- The algorithm is applied layer-by-layer, with sensitivity analysis guiding pruning limits—up to 40% of channels pruned for sensitive layers to preserve accuracy.
- Two architectural tweaks are introduced to exploit skip connections in ResNet-like networks, allowing more aggressive pruning by considering residual path interactions.
- After pruning, models are fine-tuned to recover accuracy, and the method is compatible with existing deep learning frameworks and hardware accelerators.
- The approach is orthogonal to other compression techniques, enabling combination with quantization, low-rank approximation, and weight pruning for further efficiency gains.
Experimental results
Research questions
- RQ1Can pivoted QR factorization be effectively used to identify and remove redundant input channels in CNN layers while preserving model performance?
- RQ2How does the proposed pruning method compare to prior structured pruning techniques in terms of FLOP reduction and accuracy retention?
- RQ3To what extent can pruning opportunities be enhanced in residual networks through architectural-aware modifications?
- RQ4What is the actual speedup gap between theoretical FLOP reduction and real-world inference performance on GPU and embedded platforms?
- RQ5How do the trade-offs between computation cost and accuracy compare across multiple pruning techniques, and can the proposed method offer a better point in the design space?
Key findings
- The proposed method achieved 4.29× reduction in FLOPs for VGG-16 while incurring only a 1.40% drop in top-5 accuracy, significantly outperforming prior methods in efficiency-accuracy trade-off.
- For ResNet-50, the method achieved 2.84× FLOP reduction with a 2.50% top-1 accuracy drop, requiring up to 47.7% less computation than ThiNet and other prior works while maintaining higher accuracy.
- Compared to Soft Filter Pruning (SFP) and Pruning Filters (PF), the pruned models required 11.7% to 39.6% fewer FLOPs, albeit with a slight 0.17% to 1.18% top-5 accuracy loss.
- The actual speedup on a GTX 1080Ti GPU was 1.87× for VGG-16 and 1.57× for ResNet-50, indicating a gap between theoretical and practical performance due to GPU cache and memory access effects.
- The method demonstrated superior performance across multiple benchmarks: it required less computation than all other methods except CP, while achieving higher top-1/5 accuracies in most cases.
- The technique is highly flexible and can be combined with other compression techniques such as quantization and low-rank approximation, enabling further efficiency gains in model deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.