[Paper Review] PCAS: Pruning Channels with Attention Statistics for Deep Network Compression
This paper proposes PCAS, a channel pruning method that uses attention statistics to automatically identify and remove redundant channels in deep neural networks. By training lightweight attention modules on pre-trained models, PCAS evaluates channel importance without per-layer compression ratio tuning, achieving superior accuracy and efficiency across VGG, ResNet, MobileNet, and SegNet on CIFAR, ImageNet, and CamVid datasets with up to 60% channel reduction and under 1.5% top-1 accuracy drop.
Compression techniques for deep neural networks are important for implementing them on small embedded devices. In particular, channel-pruning is a useful technique for realizing compact networks. However, many conventional methods require manual setting of compression ratios in each layer. It is difficult to analyze the relationships between all layers, especially for deeper models. To address these issues, we propose a simple channel-pruning technique based on attention statistics that enables to evaluate the importance of channels. We improved the method by means of a criterion for automatic channel selection, using a single compression ratio for the entire model in place of per-layer model analysis. The proposed approach achieved superior performance over conventional methods with respect to accuracy and the computational costs for various models and datasets. We provide analysis results for behavior of the proposed criterion on different datasets to demonstrate its favorable properties for channel pruning.
Motivation & Objective
- To address the challenge of manual compression ratio tuning in channel pruning across layers in deep models.
- To develop an automated, model-agnostic method for channel pruning that does not require per-layer hyperparameter adjustment.
- To improve pruning efficiency and accuracy by leveraging attention statistics to assess channel importance.
- To enable effective compression of deep networks for deployment on resource-constrained embedded devices.
Proposed method
- Introduces attention modules attached before each target convolutional or fully connected layer in a pre-trained network to estimate channel importance.
- Trains these attention modules in a one-shot manner using backpropagation through the pre-trained model and the attention module’s output.
- Uses the output of the attention modules to compute attention statistics, which represent the relative importance of each channel across the batch.
- Applies a single global compression ratio to prune channels based on their attention statistics, eliminating the need for layer-specific tuning.
- Performs fine-tuning after pruning to recover accuracy, using the same training protocol across all models and datasets.
- Employs a thresholding mechanism based on the cumulative attention statistics to identify and remove the least important channels.
Experimental results
Research questions
- RQ1Can attention statistics effectively identify redundant channels in deep neural networks without per-layer compression ratio tuning?
- RQ2How does the proposed attention-based criterion compare to existing pruning criteria in terms of accuracy and computational efficiency?
- RQ3To what extent can a single global compression ratio be effective across all layers in deep models when using attention-based importance estimation?
- RQ4How does the method generalize across different architectures (e.g., VGG, ResNet, MobileNet) and datasets (e.g., CIFAR, ImageNet, CamVid)?
- RQ5What insights does attention statistics provide about channel redundancy and class-specific responses in trained models?
Key findings
- PCAS achieved up to 60% channel reduction in VGG-16 and ResNet-50 with only a 1.5% top-1 accuracy drop on ImageNet.
- The method outperformed conventional pruning techniques in terms of both accuracy and computational cost across multiple models and datasets.
- Attention statistics revealed that channels with weak responses across all classes are preferentially pruned, indicating effective redundancy detection.
- The method maintained high performance even at high compression ratios, with VGG-16 and ResNet-50 sustaining accuracy until compression ratios of 0.50 and 0.45, respectively.
- Analysis showed that deeper layers, especially in VGG, contain more redundant channels, as indicated by highly skewed attention statistics.
- The attention mechanism successfully captured class-specific response patterns, with channels showing weak responses to specific classes being identified as candidates for pruning.
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.