Introduction
Deep Convolutional Neural Networks (CNNs) have achieved remarkable success in various computer vision tasks but are often too computationally intensive for deployment on resource-constrained edge devices. Network pruning has emerged as a key strategy to reduce model complexity by removing redundant parameters. While many channel pruning methods rely on simple heuristics like weight magnitude (norm-based pruning), these often overlook the functional relationships between filters. A filter with a large norm may still be redundant if its output can be effectively approximated by a combination of other filters in the same layer.
Methodology
Linearly Replaceable Filters (LRF)
The core innovation of this work is the concept of Linearly Replaceable Filters (LRF). Instead of evaluating a filter's importance in isolation, LRF identifies redundancy by determining if a target filter's output can be reconstructed as a linear combination of other filters' outputs. If the approximation error is sufficiently low, the filter is deemed "linearly replaceable" and can be pruned without significant loss of information. This is formulated as a linear regression problem for each layer.
Weights Compensation
To mitigate the performance degradation typically caused by pruning, the authors introduce a Weights Compensation (WC) technique. The process involves temporarily inserting $1 \times 1$ convolution layers (initially set to identity matrices) around the target $K \times K$ convolution layers. When a filter is removed, the weights of these $1 \times 1$ layers are mathematically adjusted to compensate for the missing signal, minimizing the distortion in the resulting feature maps before any fine-tuning begins.
Bottleneck Pruning
For architectures like ResNet that utilize bottleneck blocks, the authors propose a modified criterion that accounts for Batch Normalization (BN) scaling factors. This ensures that the $1 \times 1$ layers—where most FLOPs reside in deep ResNets—are also efficiently compressed.
Experimental Results
The LRF method was rigorously evaluated on standard benchmarks, including CIFAR-10 and ImageNet, using various ResNet architectures. The method consistently outperformed previous state-of-the-art (SOTA) methods like HRank and FPGM.
- ImageNet Performance: On ResNet-50, LRF-60 (pruning 60% of channels) achieved a 56.4% reduction in FLOPs and a 53.5% reduction in parameters while maintaining, and even slightly improving, Top-5 accuracy (+0.02%).
- CIFAR-10 Performance: For ResNet-110, the method reduced FLOPs by 74.1% with a 0.40% increase in accuracy over the baseline.
- Inference Speed: Real-world testing on an NVIDIA RTX 2080Ti showed that the pruned ResNet-50 model reduced inference latency from 157.9ms to 77.8ms.
Conclusion
Linearly Replaceable Filters (LRF) shift the pruning paradigm from "importance" to "replaceability." By treating pruning as a signal reconstruction problem and utilizing Weights Compensation, the authors demonstrate that deep networks can be significantly compressed with minimal to no loss in accuracy. This approach highlights that redundancy in CNNs is often relative and that mathematical compensation can effectively bridge the gap between pruned and original model performance. Future work may explore combining LRF with other techniques like Knowledge Distillation to push the boundaries of model efficiency even further.
Summary updated