Introduction
Deep learning models are notoriously resource-hungry, making them difficult to deploy on mobile or IoT devices with limited memory and processing power. While "filter pruning" (removing entire neurons/filters) is a popular solution because it doesn't require specialized hardware, most existing techniques use heuristics like the $L_1$ norm to decide which filters to keep. These "importance-based" metrics often ignore redundancy: two filters might both have high importance scores, but if they perform identical functions, one is redundant.
This paper introduces Correlated Filter Pruning (CFP), a novel model compression strategy that identifies and eliminates redundant filters in Convolutional Neural Networks (CNNs). Unlike traditional methods, CFP identifies pairs of highly correlated filters and re-optimizes the network to concentrate their shared information into a single filter before pruning the other, leading to state-of-the-art compression with minimal accuracy loss.
Methodology
The authors propose an iterative pipeline designed to minimize information loss during the pruning process. The core innovation lies in a regularization term that encourages redundancy to consolidate into fewer filters before removal.
The CFP process follows these steps:
- Correlation Analysis: For every layer, the algorithm calculates the Pearson correlation coefficient between all pairs of filters.
- Episode Selection: It identifies the most highly correlated filter pairs (the redundant ones).
- Optimization: Instead of immediate deletion, a new regularization term is introduced to the loss function. This encourages selected pairs to become even more correlated, effectively "transferring" unique information from the filter-to-be-pruned into its partner.
- Pruning: Once filters are maximally correlated, one filter from each pair is discarded.
- Finetuning: A brief retraining period recovers any minor drops in accuracy. This cycle repeats until a user-defined error tolerance is reached.
Experimental Results
The researchers evaluated CFP across standard benchmarks including MNIST (LeNet-5), CIFAR-10 (VGG-16, ResNet-56), and ImageNet (ResNet-50), as well as object detection tasks (GTSDB, MS-COCO).
As shown in the table above, CFP achieves significant FLOPs reduction with minimal impact on accuracy. For example, on LeNet-5, the CFP-4 variant achieved a 97.98% reduction in FLOPs with an error increase of only ~0.9%. Other notable results include:
- VGG-16 (CIFAR-10): Pruned 81.93% of FLOPs while only increasing the error rate from 6.51% to 7.02%.
- ResNet-50 (ImageNet): Reduced FLOPs by ~50% with only a 0.8% drop in Top-5 accuracy.
- Object Detection: On the GTSDB dataset, the method achieved 25× compression in parameters while actually improving Mean Average Precision (mAP) from 90.27 to 91.94.
Key Insights and Discussion
The core advantage of CFP is its focus on uniqueness rather than magnitude. By forcing filters to become more correlated before pruning, the network "prepares" for the loss, which is more effective than cutting a filter and relying solely on finetuning to recover. Furthermore, removing redundant filters was found to reduce overfitting; in VGG-16 experiments, the maximum correlation between filters dropped from 0.7 to 0.1, resulting in a leaner, more diverse feature set.
While highly effective, the method does involve computational overhead during the training phase due to pairwise correlation calculations. However, because it prunes entire filters, the resulting model is hardware-agnostic and delivers immediate speedups on standard CPUs and GPUs without requiring specialized sparse-matrix software.
Summary updated