[Paper Review] Structural Compression of Convolutional Neural Networks
This paper proposes CAR, a greedy structural compression method that prunes convolutional filters based on their contribution to classification accuracy, significantly reducing model size while preserving performance. The approach yields more interpretable CNNs by removing functionally redundant filters—such as color-based ones—demonstrating that compressed networks retain filter diversity and enable human interpretability through visual and class-based analysis.
Deep convolutional neural networks (CNNs) have been successful in many tasks in machine vision, however, millions of weights in the form of thousands of convolutional filters in CNNs makes them difficult for human intepretation or understanding in science. In this article, we introduce CAR, a greedy structural compression scheme to obtain smaller and more interpretable CNNs, while achieving close to original accuracy. The compression is based on pruning filters with the least contribution to the classification accuracy. We demonstrate the interpretability of CAR-compressed CNNs by showing that our algorithm prunes filters with visually redundant functionalities such as color filters. These compressed networks are easier to interpret because they retain the filter diversity of uncompressed networks with order of magnitude less filters. Finally, a variant of CAR is introduced to quantify the importance of each image category to each CNN filter. Specifically, the most and the least important class labels are shown to be meaningful interpretations of each filter.
Motivation & Objective
- To develop a structural compression scheme that reduces the number of filters in CNNs while maintaining high classification accuracy.
- To improve interpretability of CNNs by removing functionally redundant filters, such as color-based or visually redundant ones.
- To enable human understanding of model decisions by preserving filter diversity and enabling visualization of filter selectivity.
- To quantify filter importance per image category using a variant of the CAR index, providing interpretable insights into filter behavior.
- To demonstrate that filter pruning is more interpretable than activation or weight pruning, especially for scientific and medical applications.
Proposed method
- Proposes CAR (Classification Accuracy Reduction), a greedy filter pruning algorithm that ranks filters by their contribution to classification accuracy.
- Uses a forward pass to compute the drop in top-1 accuracy when each filter is removed, selecting filters with the least impact for pruning.
- Applies a two-stage compression: first CAR pruning to reduce filter count, then Deep Compression for quantization and weight pruning.
- Introduces $CAR^{c}$, a variant index that measures the change in classification accuracy for each image class when a filter is removed, enabling class-specific filter importance analysis.
- Visualizes filter selectivity using top-activating image patches and correlates them with high/low $CAR^{c}$ classes to validate interpretability.
- Employs a systematic pruning pipeline that avoids retraining from scratch, leveraging pre-trained models for efficient compression.
Experimental results
Research questions
- RQ1Can a greedy filter pruning method based on accuracy contribution yield compact and interpretable CNNs?
- RQ2Do pruned filters in compressed CNNs retain meaningful, diverse functionalities, or are they redundant?
- RQ3Can the importance of each filter be meaningfully interpreted through its impact on specific image categories?
- RQ4How does the structural compression via filter pruning compare to weight-level compression in terms of interpretability and performance?
- RQ5Can the $CAR^{c}$ index provide consistent and interpretable insights into filter behavior across different image classes?
Key findings
- CAR pruning achieved compression ratios of 8 to 21 times on AlexNet with minimal accuracy loss, demonstrating high efficiency in structural compression.
- The pruned filters were found to be visually redundant, particularly color-based filters, indicating that shape-based features are more critical for ImageNet categories.
- Filters in the compressed network retained diverse functionalities, preserving the interpretability of the original model despite a significant reduction in filter count.
- The $CAR^{c}$ index showed strong consistency with visual pattern selectivity: filters with high $CAR^{c}$ for certain classes activated on patches with similar patterns, such as elliptical shapes or bird heads.
- In some cases, the pruned network outperformed the original, with negative CAR values indicating improved accuracy after pruning, suggesting removal of noisy or redundant filters.
- The method enables post-hoc interpretability by linking filter behavior to specific image categories, offering a meaningful way to understand filter roles in classification.
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.