Research Article

Convolutional neural network model compression method

Likai Chu*
Sichuan University-Pittsburgh Institute

* Corresponding author: [email protected]

Abstract

In the field of deep learning, Convolutional Neural Networks (CNN) has become a focal point due to its multi-layered structure and wide application. The success of deep learning is due to the model has more layers and more parameters, which gives it a stronger nonlinear fitting ability. Traditionally, CNNs are primarily run on Central Processing Units (CPUs) and Graphics Processing Units (GPUs). However, CPUs have lower computational power, and GPUs consume a lot of energy. In contrast, Field-Programmable Gate Arrays (FPGAs) offer high parallelism, low power consumption, flexible programming, and rapid development cycles. These combined advantages make FPGAs more suitable for the forward inference processes of deep learning compared to other platforms. However, CNNs has the characteristics of parameter redundancy, the storage cost of deploying it on FPGA is too high. In order to apply CNNs to FPGA, we need to optimize CNNs for compression. Because after compression, This paper analyzes several specific cases of model compression for convolutional neural networks, and summarizes and compares the efficient methods of model compression. The results show that the model compression methods are mainly divided into the structure change of convolutional neural network and the quantization of parameters. The two compression methods can be cascaded at the same time to achieve a better optimization effect.

Keywords: Convolutional Neural Networks; model compression; finer network model; network pruning; model quantization
Published: July 26, 2024
DOI: 10.54254/2755-2721/70/20241029
Volume: ACE Vol.70
pp. 167-172
Download PDF

References

  1. Seojin J ,Wei L ,Yongbeom C . Convolutional Neural Network Model Compression Method for Software—Hardware Co-Design [J]. Information, 2022, 13 (10): 451-451. (10): 451-451.
  2. Zhang S ,Gao Y . Hybrid multi-objective evolutionary model compression with convolutional neural networks [J]. Results in Engineering, 2024, 21 101751-.
  3. Xie, J., Lin, S., Zhang, Y., & Luo, L. (2023). Compressing convolutional neural networks with cheap convolutions and online distillation. Displays, 78, 102428–102428. https://doi.org/10.1016/j.displa.2023.102428
  4. Chen Sian, Research on Model Compression and Hardware Acceleration of Convolutional Neural Networks [D]. Zhejiang University, 2021. DOI:10.27461/d.cnki.gzjdx.2021.001680.
  5. Guo Qingbei, Research on Compression and Acceleration Techniques of Deep Convolutional Neural Networks [D]. Jiangnan University, 2021. DOI:10.27169/d.cnki.gwqgu.2021.001906.
  6. Mei Qichang, Research and Application of FPGA-based Convolutional Neural Network Accelerator [D]. Nanjing University of Posts and Telecommunications, 2023. DOI:10.27251/d.cnki.gnjdc.2023.000260.
  7. Chen Guilin, Wang Guanwu, Wang Kang, et al. KCNN: A Lightweight Neural Network Method and Hardware Implementation Architecture [J/OL]. Journal of Computer Research and Development, 1-10[2024-05-23]. http://kns.cnki.net/kcms/detail/11.1777.tp.20240219.1308.002.html.
  8. Ghanbari, A., & Modarressi, M. (2022). Energy-efficient acceleration of convolutional neural networks using computation reuse. Journal of Systems Architecture, 126, 102490. https://doi.org/10.1016/j.sysarc.2022.102490
  9. Wang Jiong, Research on Model Compression Methods of Deep Neural Networks Based on Structured Pruning [D]. Nanjing University of Posts and Telecommunications, 2022. DOI:10.27251/d.cnki.gnjdc.2022.001412.
  10. Sun Jianhui, Research on Key Technologies for Hardware Implementation of Convolutional Neural Networks [D]. Shanghai Jiao Tong University, 2020. DOI:10.27307/d.cnki.gsjtu.2020.003022.
  11. Zhao Jiacheng, Research on Model Acceleration for Convolutional Neural Networks [D]. Nanjing University, 2021. DOI:10.27235/d.cnki.gnjiu.2021.002191.
  12. Zheng, Y., Sun, P., Ren, Q., Xu, W., & Zhu, D. (2024). A novel and efficient model pruning method for deep convolutional neural networks by evaluating the direct and indirect effects of filters. Neurocomputing, 569, 127124–127124. https://doi.org/10.1016/j.neucom.2023.127124
  13. Luo Deyu, Guo Qianxi, Zhang Huaicheng, et al. FPGA Deployment of Quantized Convolutional Neural Networks Based on Knowledge Distillation [J]. Electronics Technology Application, 2024, 50(04): 97-101. DOI:10.16157/j.issn.0258-7998.234479.
  14. Wang Dongwei, Liu Baichen, Han Zhi, et al. Deep Network Compression Method Based on Low-Rank Decomposition and Vector Quantization [J/OL]. Computer Application, 1-9[2024-05-23]. http://kns.cnki.net/kcms/detail/51.1307.TP.20230927.1508.006.html.st numbered section of the paper.