Abstract
Channel Pruning Guided by Classification Loss and Feature Importance (CPLI) is a novel layer-by-layer pruning framework that addresses the limitations of traditional "loss-blind" reconstruction methods. By integrating global classification loss gradients and predicting future feature importance, CPLI ensures that pruned models retain the most task-relevant information. Experimental results on CIFAR-10, ImageNet, and UCF-101 demonstrate that CPLI achieves superior compression ratios with minimal accuracy loss, and in some cases, even accuracy improvements.
Introduction
The deployment of deep neural networks on mobile and edge devices is often hindered by their high computational and memory requirements. Channel pruning has emerged as an effective technique to compress these models by removing redundant channels. However, existing methods typically fall into two categories: global loss minimization, which is accurate but computationally expensive, and layer-by-layer reconstruction, which is efficient but often ignores the final task objective. Furthermore, standard layer-by-layer methods suffer from the "next-layer feature removal" problem, where they expend resources reconstructing features that are subsequently pruned.
Methodology
CPLI combines the speed of local pruning with the "global intelligence" of loss-aware methods through three key innovations:
- Loss-Aware Selection: Instead of relying solely on reconstruction error, CPLI incorporates the partial derivative of the classification loss with respect to each feature. This gradient-based weighting ensures that the pruning process prioritizes features that contribute most significantly to the final classification performance.
- Feature Importance Guidance: To mitigate the "next-layer feature removal" problem, CPLI includes a term in its objective function that suppresses the reconstruction of features likely to be pruned in the following layer. This "look-ahead" strategy prevents the model from wasting its pruning budget on doomed features.
- Efficient Optimization: The pruning process is formulated as a two-step optimization. First, channel selection is performed using LASSO optimization. Second, the remaining weights are adjusted using a closed-form least-squares solution, providing a fast and stable alternative to iterative fine-tuning.
Experimental Results
The effectiveness of CPLI was evaluated across several benchmarks, including CIFAR-10, ImageNet (ILSVRC-12), and UCF-101.
CIFAR-10 Performance
On the CIFAR-10 dataset, CPLI demonstrated significant improvements over state-of-the-art methods like ThiNet and Channel Pruning (CP). For VGGNet, CPLI achieved a 2.86× compression ratio while actually increasing accuracy by 0.96%. It also showed robustness on compact architectures like MobileNetV2, achieving a 1.36× compression with a 0.35% accuracy gain.
ImageNet Performance
On the large-scale ImageNet dataset, CPLI maintained high accuracy even at significant compression levels. For ResNet-50, CPLI achieved a 2.25× compression ratio with only a 0.38% drop in Top-5 accuracy, outperforming ThiNet (1.12% drop) and CP (1.40% drop).
Video Action Recognition
CPLI also generalizes well to 3D convolutional networks. On the UCF-101 dataset using the C3D model, CPLI reduced the accuracy drop to 2.18%, compared to the 11.5% drop observed with Taylor Pruning at the same compression ratio.
Conclusion
CPLI offers a principled approach to channel pruning that balances efficiency and accuracy. By leveraging classification loss and anticipating future pruning steps, it avoids the pitfalls of purely local reconstruction methods. While future work could explore deeper look-ahead strategies and hardware-specific latency metrics, CPLI currently stands as a highly effective method for compressing deep learning models for real-world deployment.
Summary updated