Gate Decorator: Global Filter Pruning Method for Accelerating Deep Convolutional Neural Networks
arXiv:1909.08174
Abstract
Filter pruning is one of the most effective ways to accelerate and compress convolutional neural networks (CNNs). In this work, we propose a global filter pruning algorithm called Gate Decorator, which transforms a vanilla CNN module by multiplying its output by the channel-wise scaling factors, i.e. gate. When the scaling factor is set to zero, it is equivalent to removing the corresponding filter. We use Taylor expansion to estimate the change in the loss function caused by setting the scaling factor to zero and use the estimation for the global filter importance ranking. Then we prune the network by removing those unimportant filters. After pruning, we merge all the scaling factors into its original module, so no special operations or structures are introduced. Moreover, we propose an iterative pruning framework called Tick-Tock to improve pruning accuracy. The extensive experiments demonstrate the effectiveness of our approaches. For example, we achieve the state-of-the-art pruning ratio on ResNet-56 by reducing 70% FLOPs without noticeable loss in accuracy. For ResNet-50 on ImageNet, our pruned model with 40% FLOPs reduction outperforms the baseline model by 0.31% in top-1 accuracy. Various datasets are used, including CIFAR-10, CIFAR-100, CUB-200, ImageNet ILSVRC-12 and PASCAL VOC 2011. Code is available at github.com/youzhonghui/gate-decorator-pruning
Accepted by NeurIPS'19
Cited by in corpus (37)
- Bringing AI To Edge: From Deep Learning's Perspective
- Discrimination-aware Network Pruning for Deep Model Compression
- Edge Intelligence: Architectures, Challenges, and Applications
- Dynamic Model Pruning with Feedback
- DAIS: Automatic Channel Pruning via Differentiable Annealing Indicator Search
- Only Train Once: A One-Shot Neural Network Training And Pruning Framework
- Pruning Algorithms to Accelerate Convolutional Neural Networks for Edge Applications: A Survey
- Gradual Channel Pruning while Training using Feature Relevance Scores for Convolutional Neural Networks
- Locally Free Weight Sharing for Network Width Search
- Network Pruning That Matters: A Case Study on Retraining Variants
- Pruning via Iterative Ranking of Sensitivity Statistics
- Learning Dynamic Routing for Semantic Segmentation
- EagleEye: Fast Sub-net Evaluation for Efficient Neural Network Pruning
- Neuron Merging: Compensating for Pruned Neurons
- Taxonomy of Saliency Metrics for Channel Pruning
- F3-Pruning: A Training-Free and Generalized Pruning Strategy towards Faster and Finer Text-to-Video Synthesis
- Composition of Saliency Metrics for Channel Pruning with a Myopic Oracle
- An Image Enhancing Pattern-based Sparsity for Real-time Inference on Mobile Devices
- TransTailor: Pruning the Pre-trained Model for Improved Transfer Learning
- Data-Independent Structured Pruning of Neural Networks via Coresets
- REPrune: Filter Pruning via Representative Election
- Pruning Filter in Filter
- HALP: Hardware-Aware Latency Pruning
- ADMP: An Adversarial Double Masks Based Pruning Framework For Unsupervised Cross-Domain Compression
- AdaptCL: Efficient Collaborative Learning with Dynamic and Adaptive Pruning
- Towards Efficient Convolutional Network Models with Filter Distribution Templates
- Channel Pruning via Optimal Thresholding
- BCNet: Searching for Network Width with Bilaterally Coupled Network
- A Feature-map Discriminant Perspective for Pruning Deep Neural Networks
- Paying more attention to snapshots of Iterative Pruning: Improving Model Compression via Ensemble Distillation
- Dynamic Graph: Learning Instance-aware Connectivity for Neural Networks
- Automatic Neural Network Pruning that Efficiently Preserves the Model Accuracy
- Adjoined Networks: A Training Paradigm with Applications to Network Compression
- Dep-: Improving -based Network Sparsification via Dependency Modeling
- AIP: Adversarial Iterative Pruning Based on Knowledge Transfer for Convolutional Neural Networks
- Filter Pre-Pruning for Improved Fine-tuning of Quantized Deep Neural Networks
- Channel selection using Gumbel Softmax