Variational Automatic Channel Pruning Algorithm Based on Structure Optimization for Convolutional Neural Networks

Shuo Han,
Yufei Zhan,
Xingang Liu,

Abstract


Channel pruning has achieved remarkable success in solving the significant computation and memory consumption in Convolutional Neural Networks (CNN). Most existing methods measure the importance of channels with manually designed algorithms and pruning unimportant channels rely on heuristics or expertise during the processing, which are labourious and subjective. In this paper, we proposed a Variational Automatic Channel Pruning Algorithm based on structure optimization (VA-CPSO) which can automatically optimize channel numbers via channel scales in end-to-end manner through variational inference. Firstly, a weights generator controlled by channel scales is built to produce weights for various pruned structure of CNN. And then, the channel scales with truncated factorized log-uniform prior and log-normal posterior are optimized by variational inference for optimal pruning structure. Meanwhile, parameters of the weights generator are optimized synchronously. Finally, the acquired optimal structure and corresponding generated weights are deployed in the pruned CNN for further training to achieve high-performance compression. The experimental results demonstrate that our proposed VA-CPSO acquires better compression performance compared to existing pruning algorithms. The VA-CPSO achieve a compression of 34.60×, 4.28×, 1.96× and a speedup of 28.20×, 2.03×, 2.02× on LeNet-5, VGGNet, and ResNet-110 with no more than 0.5% loss of accuracy.


Citation Format:
Shuo Han, Yufei Zhan, Xingang Liu, "Variational Automatic Channel Pruning Algorithm Based on Structure Optimization for Convolutional Neural Networks," Journal of Internet Technology, vol. 22, no. 2 , pp. 339-351, Mar. 2021.

Full Text:

PDF

Refbacks

  • There are currently no refbacks.





Published by Executive Committee, Taiwan Academic Network, Ministry of Education, Taipei, Taiwan, R.O.C
JIT Editorial Office, Office of Library and Information Services, National Dong Hwa University
No. 1, Sec. 2, Da Hsueh Rd., Shoufeng, Hualien 974301, Taiwan, R.O.C.
Tel: +886-3-931-7314  E-mail: jit.editorial@gmail.com