Proceedings

Decomposable-Net: Scalable Low-Rank Compression for Neural Networks

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 3249-3256.

https://doi.org/10.24963/ijcai.2021/447

Abstract

Compressing DNNs is important for the real-world applications operating on resource-constrained devices. However, we typically observe drastic performance deterioration when changing model size after training is completed. Therefore, retraining is required to resume the performance of the compressed models suitable for different devices. In this paper, we propose Decomposable-Net (the network decomposable in any size), which allows flexible changes to model size without retraining. We decompose weight matrices in the DNNs via singular value decomposition and adjust ranks according to the target model size. Unlike the existing low-rank compression methods that specialize the model to a fixed size, we propose a novel backpropagation scheme that jointly minimizes losses for both of full- and low-rank networks. This enables not only to maintain the performance of a full-rank network {\it without retraining} but also to improve low-rank networks in multiple sizes. Additionally, we introduce a simple criterion for rank selection that effectively suppresses approximation error. In experiments on the ImageNet classification task, Decomposable-Net yields superior accuracy in a wide range of model sizes. In particular, Decomposable-Net achieves the top-1 accuracy of 73.2% with 0.27xMACs with ResNet-50, compared to Tucker decomposition (67.4% / 0.30x), Trained Rank Pruning (70.6% / 0.28x), and universally slimmable networks (71.4% / 0.26x).

  1. [Alvarez and Salzmann, 2017] Jose M Alvarez and Mathieu Salzmann. Compression-aware training of deep networks. In Advances in Neural Information Processing Systems (NeurIPS), pages 856-867. 2017.
  2. [Arora et al., 2018] Sanjeev Arora, Rong Ge, Behnam Neyshabur, and Yi Zhang. Stronger generalization bounds for deep nets via a compression approach. In International Conference on Machine Learning (ICML), pages 254-263, 2018.
  3. [Cai et al., 2020] Han Cai, Chuang Gan, Tianzhe Wang, Zhekai Zhang, and Song Han. Once-for-All: Train one network and specialize it for efficient deployment. In International Conference on Learning Representations (ICLR), 2020.
  4. [De Lathauwer et al., 2000] Lieven De Lathauwer, Bart De Moor, and Joos Vandewalle. On the best rank-1 and rank-(r 1 , r 2 , . . . , r n ) approximation of higher-order ten- sors. SIAM J. Matrix Anal. Appl, 21(4):1324-1342, 2000.
  5. [Deng et al., 2009] Jia Deng, Wei Dong, Richard Socher, Li- Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 248-255, 2009.
  6. [Han et al., 2016] Song Han, Huizi Mao, and William J. Dally. Deep compression: Compressing deep neural net- works with pruning, trained quantization and Huffman coding. In International Conference on Learning Repre- sentations (ICLR), 2016.
  7. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In IEEE Conference on Computer Vision and Pat- tern Recognition (CVPR), pages 770-778, 2016.
  8. [Howard et al., 2017] Andrew G. Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. Mo- bileNets: Efficient convolutional neural networks for mo- bile vision applications. arXiv preprint arXiv:1704.04861, 2017.
  9. [Ioannou et al., 2016] Yani Ioannou, Duncan Robertson, Jamie Shotton, Roberto Cipolla, and Antonio Criminisi. Training CNNs with low-rank filters for efficient image classification. In International Conference on Learning Representations (ICLR), 2016.
  10. [Jaderberg et al., 2014] Max Jaderberg, Andrea Vedaldi, and Andrew Zisserman. Speeding up convolutional neural net- works with low rank expansions. In British Machine Vision Conference (BMVC), 2014.
  11. [Kim et al., 2016] Yong-Deok Kim, Eunhyeok Park, Sungjoo Yoo, Taelim Choi, Lu Yang, and Dongjun Shin. Compression of deep convolutional neural networks for fast and low power mobile applications. In International Conference on Learning Representations (ICLR), 2016.
  12. [Krizhevsky, 2009] Alex Krizhevsky. Learning multiple lay- ers of features from tiny images. Master's thesis, Univer- sity of Toronto, 2009.
  13. [Lebedev et al., 2015] Vadim Lebedev, Yaroslav Ganin, Maksim Rakhuba, Ivan Oseledets, and Victor Lempit- sky. Speeding-up convolutional neural networks using fine-tuned CP-decomposition. In International Confer- ence on Learning Representations (ICLR), 2015.
  14. [Liu et al., 2017] Zhuang Liu, Jianguo Li, Zhiqiang Shen, Gao Huang, Shoumeng Yan, and Changshui Zhang. Learning efficient convolutional networks through net- work slimming. In IEEE International Conference on Computer Vision (ICCV), pages 2755-2763, 2017.
  15. [Lubana and Dick, 2021] Ekdeep Singh Lubana and Robert P. Dick. A gradient flow framework for analyz- ing network pruning. In International Conference on Learning Representations (ICLR), 2021.
  16. [Nakajima et al., 2012] Shinichi Nakajima, Ryota Tomioka, Masashi Sugiyama, and S. D. Babacan. Perfect dimension- ality recovery by variational Bayesian PCA. In Advances in Neural Information Processing Systems (NeurIPS), pages 971-979. 2012.
  17. [Suzuki et al., 2020a] Taiji Suzuki, Hiroshi Abe, Tomoya Murata, Shingo Horiuchi, Kotaro Ito, Tokuma Wachi, So Hirai, Masatoshi Yukishima, and Tomoaki Nishimura. Spectral pruning: Compressing deep neural networks via spectral analysis and its generalization error. In Interna- tional Joint Conference on Artificial Intelligence (IJCAI), pages 2839-2846, 2020. IJCAI
  18. [Suzuki et al., 2020b] Taiji Suzuki, Hiroshi Abe, and To- moaki Nishimura. Compression based bound for non- compressed network: unified generalization error analy- sis of large compressible deep neural network. In Inter- national Conference on Learning Representations (ICLR), 2020.
  19. [Tai et al., 2016] Cheng Tai, Tong Xiao, Yi Zhang, Xiaogang Wang, and Weinan E. Convolutional neural networks with low-rank regularization. In International Conference on Learning Representations (ICLR), 2016.
  20. [Tan et al., 2019] Mingxing Tan, Bo Chen, Ruoming Pang, Vijay Vasudevan, Mark Sandler, Andrew Howard, and Quoc V. Le. MnasNet: Platform-aware neural architecture search for mobile. In IEEE Conference on Computer Vi- sion and Pattern Recognition (CVPR), pages 2815-2823, 2019.
  21. [Wei and Ma, 2019] Colin Wei and Tengyu Ma. Data- dependent sample complexity of deep neural networks via Lipschitz augmentation. In Advances in Neural Infor- mation Processing Systems (NeurIPS), pages 9725-9736. 2019.
  22. [Xu et al., 2020] Yuhui Xu, Yuxi Li, Shuai Zhang, Wei Wen, Botao Wang, Yingyong Qi, Yiran Chen, Weiyao Lin, and Hongkai Xiong. TRP: Trained rank pruning for efficient deep neural networks. In International Joint Conference on Artificial Intelligence (IJCAI), pages 977-983, 2020. IJCAI
  23. [Yaguchi et al., 2019] Atsushi Yaguchi, Taiji Suzuki, Shuhei Nitta, Yukinobu Sakata, and Akiyuki Tanizawa. Decomposable-Net: Scalable low-rank compression for neural networks. arXiv preprint arXiv:1910.13141, 2019.
  24. [Yang et al., 2020] Taojiannan Yang, Sijie Zhu, Chen Chen, Yan Shen, Mi Zhang, and Andrew Willis. MutualNet: Adaptive convnet via mutual learning from network width and resolution. In European Conference on Computer Vi- sion (ECCV), pages 299-315, 2020.
  25. [Yu and Huang, 2019] Jiahui Yu and Thomas Huang. Uni- versally slimmable networks and improved training tech- niques. In IEEE International Conference on Computer Vision (ICCV), pages 1803-1811, 2019.
  26. [Yu et al., 2019] Jiahui Yu, Linjie Yang, Ning Xu, Jianchao Yang, and Thomas Huang. Slimmable neural networks. In International Conference on Learning Representations (ICLR), 2019.
  27. [Yu et al., 2020] Jiahui Yu, Pengchong Jin, Hanxiao Liu, Gabriel Bender, Pieter-Jan Kindermans, Mingxing Tan, Thomas Huang, Xiaodan Song, Ruoming Pang, and Quoc Le. BigNAS: Scaling up neural architecture search with big single-stage models. In European Conference on Com- puter Vision (ECCV), pages 702-717, 2020.
  28. [Zagoruyko and Komodakis, 2016] Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In British Machine Vision Conference (BMVC), 2016. [Zagoruyko, 2015] Sergey Zagoruyko. 92.45% on CIFAR- 10 in Torch. http://torch.ch/blog/2015/07/30/cifar.html, 2015. Accessed: 2017-11-21. Link
  29. [Zhang et al., 2016] Xiangyu Zhang, Jianhua Zou, Kaim- ing He, and Jian Sun. Accelerating very deep convo- lutional networks for classification and detection. IEEE Transactions on Pattern Analysis and Machine Intelli- gence (TPAMI), 38(10):1943-1955, 2016.
  30. [Zhang et al., 2019] Linfeng Zhang, Zhanhong Tan, Jiebo Song, Jingwei Chen, Chenglong Bao, and Kaisheng Ma. SCAN: A scalable neural networks framework towards compact and efficient models. In Advances in Neural Information Processing Systems (NeurIPS), pages 4027- 4036. 2019.

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

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