Proceedings

Accelerated Inference Framework of Sparse Neural Network Based on Nested Bitmask Structure

Download BibTeX Cite

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. Main track. Pages 4355-4361.

https://doi.org/10.24963/ijcai.2019/605

Abstract

In order to satisfy the ever-growing demand for high-performance processors for neural networks, the state-of-the-art processing units tend to use application-oriented circuits to replace Processing Engine (PE) on the GPU under circumstances where low-power solutions are required. The application-oriented PE is fully optimized in terms of the circuit architecture and eliminates incorrect data dependency and instructional redundancy. In this paper, we propose a novel encoding approach on a sparse neural network after pruning. We partition the weight matrix into numerous blocks and use a low-rank binary map to represent the validation of these blocks. Furthermore, the elements in each nonzero block are also encoded into two submatrices: one is the binary stream discriminating the zero/nonzero position, while the other is the pure nonzero elements stored in the FIFO. In the experimental part, we implement a well pre-trained sparse neural network on the Xilinx FPGA VC707. Experimental results show that our algorithm outperforms the other benchmarks. Our approach has successfully optimized the throughput and the energy efficiency to deal with a single frame. Accordingly, we contend that Nested Bitmask Neural Network (NBNN), is an efficient neural network structure with only minor accuracy loss on the SoC system.

  1. [Fujii et al., 2018] Tomoya Fujii, Shimpei Sato, and Hiroki Nakahara. A threshold neuron pruning for a binarized deep neural network on an fpga. IEICE Transactions on Information and Systems, 101(2):376-386, 2018.
  2. [Guo et al., 2016] Kaiyuan Guo, Lingzhi Sui, Jiantao Qiu, Song Yao, Song Han, Yu Wang, and Huazhong Yang. From model to fpga: Software-hardware co-design for efficient neural network acceleration. In Hot Chips 28 Symposium (HCS), 2016 IEEE, pages 1-27. IEEE, 2016.
  3. [Han et al., 2015] Song Han, Huizi Mao, and William J Dally. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. arXiv preprint arXiv:1510.00149, 2015.
  4. [Han et al., 2016a] Song Han, Xingyu Liu, Huizi Mao, Jing Pu, Ardavan Pedram, Mark A Horowitz, and William J Dally. Eie: efficient inference engine on compressed deep neural network. In Computer Architecture (ISCA), 2016 ACM/IEEE 43rd Annual International Symposium on, pages 243-254. IEEE, 2016.
  5. [Han et al., 2016b] Song Han, Jeff Pool, Sharan Narang, Huizi Mao, Enhao Gong, Shijian Tang, Erich Elsen, Peter Vajda, Manohar Paluri, John Tran, et al. Dsd: Dense-sparse- dense training for deep neural networks. arXiv preprint arXiv:1607.04381, 2016.
  6. [Jain et al., 2018] Animesh Jain, Amar Phanishayee, Jason Mars, Lingjia Tang, and Gennady Pekhimenko. Gist: Ef- ficient data encoding for deep neural network training. In 2018 ACM/IEEE 45th Annual International Symposium on Computer Architecture (ISCA), pages 776-789. IEEE, 2018.
  7. [Krizhevsky et al., 2012] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural in- formation processing systems, pages 1097-1105, 2012.
  8. [LeCun et al., 1990] Yann LeCun, Bernhard E Boser, John S Denker, Donnie Henderson, Richard E Howard, Wayne E Hubbard, and Lawrence D Jackel. Handwritten digit recog- nition with a back-propagation network. In Advances in neural information processing systems, pages 396-404, 1990.
  9. [Liu and Tsang, 2017] Weiwei Liu and Ivor W. Tsang. Mak- ing decision trees feasible in ultrahigh feature and label di- mensions. Journal of Machine Learning Research, 18:81:1- 81:36, 2017.
  10. [Liu et al., 2019] Weiwei Liu, Donna Xu, Ivor W. Tsang, and Wenjie Zhang. Metric learning for multi-output tasks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 41(2):408-422, 2019.
  11. [Lu and Liang, 2018] Liqiang Lu and Yun Liang. Spwa: an efficient sparse winograd convolutional neural networks ac- celerator on fpgas. In 2018 55th ACM/ESDA/IEEE Design Automation Conference (DAC), pages 1-6. IEEE, 2018.
  12. [Mathieu et al., 2013] Michael Mathieu, Mikael Henaff, and Yann LeCun. Fast training of convolutional networks through ffts. arXiv preprint arXiv:1312.5851, 2013.
  13. [Posewsky and Ziener, 2018] Thorbjörn Posewsky and Daniel Ziener. Throughput optimizations for fpga-based deep neural network inference. Microprocessors and Microsystems, 60:151-161, 2018.
  14. [Sharma et al., 2016a] Hardik Sharma, Jongse Park, Em- manuel Amaro, Bradley Thwaites, Praneetha Kotha, An- mol Gupta, Joon Kyung Kim, Asit Mishra, and Hadi Es- maeilzadeh. Dnnweaver: From high-level deep network models to fpga acceleration. In the Workshop on Cognitive Architectures, 2016.
  15. [Sharma et al., 2016b] Hardik Sharma, Jongse Park, Divya Mahajan, Emmanuel Amaro, Joon Kyung Kim, Chenkai Shao, Asit Mishra, and Hadi Esmaeilzadeh. From high- level deep neural models to fpgas. In The 49th Annual IEEE/ACM International Symposium on Microarchitecture, page 17. IEEE Press, 2016.
  16. [Wang et al., 2017] Chao Wang, Lei Gong, Qi Yu, Xi Li, Yuan Xie, and Xuehai Zhou. Dlau: A scalable deep learning accelerator unit on fpga. IEEE Transactions on Computer- Aided Design of Integrated Circuits and Systems, 36(3):513- 517, 2017.
  17. [Yu et al., 2017] Jincheng Yu, Yiming Hu, Xuefei Ning, Jiantao Qiu, Kaiyuan Guo, Yu Wang, and Huazhong Yang. Instruction driven cross-layer cnn accelerator with wino- grad transformation on fpga. In Field Programmable Tech- nology (ICFPT), 2017 International Conference on, pages 227-230. IEEE, 2017.
  18. [Zhang et al., 2015] Chen Zhang, Peng Li, Guangyu Sun, Yi- jin Guan, Bingjun Xiao, and Jason Cong. Optimizing fpga-based accelerator design for deep convolutional neu- ral networks. In Proceedings of the 2015 ACM/SIGDA International Symposium on Field-Programmable Gate Ar- rays, pages 161-170. ACM, 2015.
  19. [Zhang et al., 2016] Shijin Zhang, Zidong Du, Lei Zhang, Huiying Lan, Shaoli Liu, Ling Li, Qi Guo, Tianshi Chen, and Yunji Chen. Cambricon-x: An accelerator for sparse neural networks. In The 49th Annual IEEE/ACM Inter- national Symposium on Microarchitecture, page 20. IEEE Press, 2016.
  20. [Zhang et al., 2018] Tianyun Zhang, Shaokai Ye, Yipeng Zhang, Yanzhi Wang, and Makan Fardad. Systematic weight pruning of dnns using alternating direction method of multipliers. arXiv preprint arXiv:1802.05747, 2018.
  21. [Zhao et al., 2017] Ritchie Zhao, Weinan Song, Wentao Zhang, Tianwei Xing, Jeng-Hau Lin, Mani Srivastava, Ra- jesh Gupta, and Zhiru Zhang. Accelerating binarized con- volutional neural networks with software-programmable fpgas. In Proceedings of the 2017 ACM/SIGDA Interna- tional Symposium on Field-Programmable Gate Arrays, pages 15-24. ACM, 2017.

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

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