Proceedings

Optimization based Layer-wise Magnitude-based Pruning for DNN Compression

Download BibTeX Cite

Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence. Main track. Pages 2383-2389.

https://doi.org/10.24963/ijcai.2018/330

Abstract

Layer-wise magnitude-based pruning (LMP) is a very popular method for deep neural network (DNN) compression. However, tuning the layer-specific thresholds is a difficult task, since the space of threshold candidates is exponentially large and the evaluation is very expensive. Previous methods are mainly by hand and require expertise. In this paper, we propose an automatic tuning approach based on optimization, named OLMP. The idea is to transform the threshold tuning problem into a constrained optimization problem (i.e., minimizing the size of the pruned model subject to a constraint on the accuracy loss), and then use powerful derivative-free optimization algorithms to solve it. To compress a trained DNN, OLMP is conducted within a new iterative pruning and adjusting pipeline. Empirical results show that OLMP can achieve the best pruning ratio on LeNet-style models (i.e., 114 times for LeNet-300-100 and 298 times for LeNet-5) compared with some state-of-the- art DNN pruning methods, and can reduce the size of an AlexNet-style network up to 82 times without accuracy loss.

  1. [Brochu et al., 2010] E. Brochu, V. M. Cora, and N. de Fre- itas. A tutorial on bayesian optimization of expensive cost functions, with application to active user modeling and hi- erarchical reinforcement learning. arXiv:1012.2599, 2010.
  2. [Castellano et al., 1997] G. Castellano, A. M. Fanelli, and M. Pelillo. An iterative pruning algorithm for feedforward neural networks. IEEE Transactions on Neural Networks, 8(3):519-531, 1997.
  3. [Denil et al., 2013] M. Denil, B. Shakibi, L. Dinh, M. A. Ranzato, and N. Freitas. Predicting parameters in deep learning. In Advances in Neural Information Processing Systems 26 (NIPS'13), pages 2148-2156, Lake Tahoe, NV, 2013.
  4. [Dong et al., 2017] X. Dong, S.-Y. Chen, and S. J. Pan. Learning to prune deep neural networks via layer-wise optimal brain surgeon. In Advances in Neural Informa- tion Processing Systems 30 (NIPS'17), pages 4860-4874, Long Beach, CA, 2017.
  5. [Goldberg, 1989] D. E. Goldberg. Genetic Algorithms in Search Optimization and Machine Learning. Addison- Wesley, Boston, MA, 1989.
  6. [Griffin et al., 2006] G. Griffin, AD. Holub, and P. Perona. The caltech 256. Caltech Technical Report, 2006.
  7. [Guo et al., 2016] Y.-W. Guo, A.-B. Yao, and Y.-R. Chen. Dynamic network surgery for efficient dnns. In Advances in Neural Information Processing Systems 29 (NIPS'16), pages 1379-1387, Barcelona, Spain, 2016.
  8. [Han et al., 2015] S. Han, J. Pool, J. Tran, and W. J. Dally. Learning both weights and connections for efficient neu- ral network. In Advances in Neural Information Process- ing Systems 28 (NIPS'15), pages 1135-1143, Montreal, Canada, 2015.
  9. [Hassibi and Stork, 1992] B. Hassibi and D. G. Stork. Sec- ond order derivatives for network pruning: Optimal brain surgeon. In Advances in Neural Information Processing Systems 5 (NIPS'92), pages 164-171, Denver, CO, 1992.
  10. [He et al., 2014] T.-X. He, Y.-C. Fan, Y.-M. Qian, T. Tan, and K. Yu. Reshaping deep neural network for fast de- coding by node-pruning. In Proceedings of International Conference on Acoustics, Speech and Signal Processing (ICASSP'14), pages 245-249, Florence, Italy, 2014.
  11. [Jia et al., 2014] Y.-Q. Jia, E. Shelhamer, J. Donahue, S. Karayev, J. Long, R. Girshick, S. Guadarrama, and T. Darrell. Caffe: Convolutional architecture for fast fea- ture embedding. arXiv:1408.5093, 2014.
  12. [Kim et al., 2016] Y.-D. Kim, E. Park, S.-J. Yoo, T. Choi, L. Yang, and D.-J. Shin. Compression of deep convolu- tional neural networks for fast and low power mobile ap- plications. In Proceedings of the 4th International Confer- ence on Learning Representations (ICLR'16), pages 1-16, San Juan, Puerto Rico, 2016.
  13. [Krizhevsky et al., 2012] A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolu- tional neural networks. In Advances in Neural Information Processing Systems 25 (NIPS'12), pages 1106-1114, Lake Tahoe, NV, 2012.
  14. [LeCun et al., 1989] Y. LeCun, J. S. Denker, and S. A. Solla. Optimal brain damage. In Advances in Neural Information Processing Systems 2 (NIPS'89), pages 598-605, Denver, CO, 1989.
  15. [LeCun et al., 2015] Y. LeCun, Y. Bengio, and G. E. Hinton. Deep learning. Nature, 521(7553):436-444, 2015.
  16. [Molchanov et al., 2017] D. Molchanov, A. Ashukha, and D. P. Vetrov. Variational dropout sparsifies deep neural networks. In Proceedings of the 34th International Confer- ence on Machine Learning (ICML'17), pages 2498-2507, Sydney, Australia, 2017.
  17. [Nowlan and Hinton, 1992] S. J. Nowlan and G. E. Hinton. Simplifying neural networks by soft weight-sharing. Neu- ral Computation, 4(4):473-493, 1992.
  18. [Qian et al., 2015] C. Qian, Y. Yu, and Z.-H. Zhou. Subset selection by Pareto optimization. In Advances in Neu- ral Information Processing Systems 28 (NIPS'15), pages 1774-1782, Montreal, Canada, 2015.
  19. [Real et al., 2017] E. Real, S. Moore, A. Selle, S. Saxena, Y. L. Suematsu, J. Tan, Q. V. Le, and A. Kurakin. Large- scale evolution of image classifiers. In Proceedings of the 34th International Conference on Machine Learning (ICML'17), pages 2902-2911, Sydney, Australia, 2017.
  20. [Reed, 1993] R. Reed. Pruning algorithms-a survey. IEEE Transactions on Neural Networks, 4(5):740-747, 1993.
  21. [See et al., 2016] A. See, M.-T. Luong, and C. D. Man- ning. Compression of neural machine translation models via pruning. In Proceedings of the 20th Conference on Computational Natural Language Learning (CoNLL'16), pages 291-301, Berlin, Germany, 2016.
  22. [Tang et al., 2016] K. Tang, P. Yang, and X. Yao. Nega- tively correlated search. IEEE Journal on Selected Areas in Communications, 34(3):542-550, 2016.
  23. [Ullrich et al., 2017] K. Ullrich, E. Meeds, and M. Welling. Soft weight-sharing for neural network compression. In Proceedings of the 5th International Conference on Learning Representations (ICLR'17), pages 1-16, Toulon, France, 2017.
  24. [Yao and Liu, 1997] X. Yao and Y. Liu. A new evolution- ary system for evolving artificial neural networks. IEEE Transactions on Neural Networks, 8(3):694-713, 1997.
  25. [Yu et al., 2016] Y. Yu, H. Qian, and Y.-Q. Hu. Derivative- free optimization via classification. In Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence (AAAI'16), pages 2286-2292, Phoenix, AZ, 2016.
  26. [Zeiler and Fergus, 2014] M. D. Zeiler and R. Fergus. Visu- alizing and understanding convolutional networks. In Pro- ceedings of the 13th European Conference on Computer Vision (ECCV'14), pages 818-833, Zurich, Switzerland, 2014.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards