[Paper Review] 2PFPCE: Two-Phase Filter Pruning Based on Conditional Entropy
Proposes a two-phase filter pruning framework (global then layer-wise) using conditional entropy to select filters, achieving substantial FLOPs reduction with small accuracy loss on VGG-16 and CIFAR-10, and better compression than prior criteria.
Deep Convolutional Neural Networks~(CNNs) offer remarkable performance of classifications and regressions in many high-dimensional problems and have been widely utilized in real-word cognitive applications. However, high computational cost of CNNs greatly hinder their deployment in resource-constrained applications, real-time systems and edge computing platforms. To overcome this challenge, we propose a novel filter-pruning framework, two-phase filter pruning based on conditional entropy, namely extit{2PFPCE}, to compress the CNN models and reduce the inference time with marginal performance degradation. In our proposed method, we formulate filter pruning process as an optimization problem and propose a novel filter selection criteria measured by conditional entropy. Based on the assumption that the representation of neurons shall be evenly distributed, we also develop a maximum-entropy filter freeze technique that can reduce over fitting. Two filter pruning strategies -- global and layer-wise strategies, are compared. Our experiment result shows that combining these two strategies can achieve a higher neural network compression ratio than applying only one of them under the same accuracy drop threshold. Two-phase pruning, that is, combining both global and layer-wise strategies, achieves 10 X FLOPs reduction and 46% inference time reduction on VGG-16, with 2% accuracy drop.
Motivation & Objective
- Motivate reducing CNN inference cost while maintaining accuracy in resource-constrained deployments.
- Introduce a filter pruning criterion based on conditional entropy to quantify each filter’s contribution to accuracy.
- Develop a two-phase pruning framework that combines global and layer-wise strategies for higher compression.
- Propose a maximum-entropy filter freezing technique to mitigate overfitting during fine-tuning.
- Demonstrate effectiveness on CNNs like VGG-16 with CIFAR-10, measuring FLOPs, data volume, and real inference time.
Proposed method
- Define conditional entropy of filters within a convolutional layer as a criterion for pruning.
- Phase I: global pruning by removing filters with minimum conditional entropy, followed by iterative fine-tuning with an accuracy-drop threshold.
- Phase II: layer-wise greedy pruning using conditional entropy, with fine-tuning constrained by an accuracy-loss threshold.
- Enforce a maximum-entropy freeze mechanism where weights corresponding to the neuron with maximum entropy are kept fixed during backpropagation to reduce over-fitting.
- Update bias terms based on the activation of the maximum conditional entropy filter to preserve information after pruning.
- Compare global vs. layer-wise strategies and show that a two-phase combination yields higher compression under the same accuracy constraint.
- Provide algorithmic details for calculating con_ent by aggregating layer-wise entropies conditioned on loss and selecting top-pruned filters.
Experimental results
Research questions
- RQ1Can conditional entropy serve as an effective criterion to identify filters whose removal minimally impacts model accuracy?
- RQ2Does combining global and layer-wise pruning strategies yield higher compression than using either strategy alone under a fixed accuracy degradation threshold?
- RQ3What is the impact of maximum-entropy-based weight freezing on overfitting and final accuracy during pruning and fine-tuning?
- RQ4How do 2PFPCE’s pruning decisions translate to actual FLOPs, model size, and real-world inference time on standard CNNs?
- RQ5Is the proposed pruning approach robust across architectures (e.g., VGG-16, ResNet-18) and datasets (e.g., CIFAR-10)?
Key findings
- 2PFPCE achieves substantial pruning with small accuracy loss (e.g., ~2% on VGG-16 with CIFAR-10 under certain settings).
- Global pruning followed by layer-wise pruning (two-phase) yields higher compression than either phase alone.
- Phase I pruning plus max-entropy-based freezing helps mitigate over-fitting during fine-tuning.
- Phase II layer-wise pruning with conditional entropy further reduces filters while maintaining accuracy within the specified threshold.
- Empirical results show significant reductions in data volume and real inference time, with notable FLOPs reductions (e.g., ~10x FLOPs and ~46% inference-time reduction on VGG-16 in reported scenarios).
- Conditional entropy-based criterion outperforms L1-norm, APoZ, and activation-entropy criteria in layer-wise pruning experiments.
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.