Model compression aims to reduce the redundancy of deep networks to obtain compact models. Recently, channel pruning has become one of the predominant compression methods to deploy deep models on resource-constrained devices. Most channel pruning methods often use a fixed compression rate for all the layers of the model, which, however, may not be optimal. To address this issue, given a target compression rate for the whole model, one can search for the optimal compression rate for each layer. Nevertheless, these methods perform channel pruning for a specific target compression rate. When we consider multiple compression rates, they have to repeat the channel pruning process multiple times, which is very inefficient yet unnecessary. To address this issue, we propose a Conditional Automated Channel Pruning(CACP) method to obtain the compressed models with different compression rates through single channel pruning process. To this end, we develop a conditional model that takes an arbitrary compression rate as input and outputs the corresponding compressed model. In the experiments, the resultant models with different compression rates consistently outperform the models compressed by existing methods with a channel pruning process for each target compression rate.
[1]
Ping Liu,et al.
Filter Pruning via Geometric Median for Deep Convolutional Neural Networks Acceleration
,
2018,
2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
[2]
Song Han,et al.
AMC: AutoML for Model Compression and Acceleration on Mobile Devices
,
2018,
ECCV.
[3]
Yi Yang,et al.
Soft Filter Pruning for Accelerating Deep Convolutional Neural Networks
,
2018,
IJCAI.
[4]
Song Han,et al.
Learning both Weights and Connections for Efficient Neural Network
,
2015,
NIPS.
[5]
Mingkui Tan,et al.
NAT: Neural Architecture Transformer for Accurate and Compact Architectures
,
2019,
NeurIPS.
[6]
Jing Liu,et al.
Discrimination-aware Channel Pruning for Deep Neural Networks
,
2018,
NeurIPS.