Research Article

Systematic analysis of FPGA-based hardware accelerators for convolutional neural networks

Fangrong Zhang*
Southwest Petroleum University

* Corresponding author: [email protected]

Abstract

In the modern era, machine learning stands as a pivotal component of artificial intelligence, exerting a profound impact on various domains. This article delineates a methodology for designing and applying Field Programmable Gate Array (FPGA) based hardware accelerators for convolutional neural networks (CNNs). Initially, this paper introduces CNNs, a subset of deep learning techniques, and underscore their pivotal role in artificial intelligence, spanning domains such as image recognition, speech processing, and natural language understanding. Subsequently, we delve into the intricacies of FPGA, an adaptable logic device characterized by high integration and versatility, elucidating our approach to creating a hardware accelerator tailored for CNNs on the FPGA platform. To enhance computational efficiency, we employ technical strategies like dual cache structures, loop unrolling, and loop tiling for accelerating the convolutional layers. Finally, through empirical experiments employing YOLOv2, and validate the efficacy and superiority of our designed hardware accelerator model. This paper anticipates that in the forthcoming years, the methodology and research into FPGA-based CNN hardware accelerators will yield even more substantial contributions, propelling the advancement and widespread adoption of deep learning technology.

Keywords: Hardware Accelerator; CNN; FPGA; YOLOv2
Published: March 28, 2024
DOI: 10.54254/2755-2721/53/20241258
Volume: ACE Vol.53
pp. 64-72
Download PDF

References

  1. Li Z, Liu F, Yang W, et al. A survey of convolutional neural networks: analysis, applications, and prospects. IEEE transactions on neural networks and learning systems, 2021.
  2. Goodfellow I, Bengio Y, Courville A. Deep learning. MIT press, 2016.
  3. Gu J, Wang Z, Kuen J, et al. Recent advances in convolutional neural networks. Pattern recognition, 2018, 77: 354-377.
  4. Farabet C, Couprie C, Najman L, et al. Learning hierarchical features for scene labeling. IEEE transactions on pattern analysis and machine intelligence, 2012, 35(8): 1915-1929.
  5. Bao Jun, Dong Yachao, Liu Hongzhe. A Survey on the Development of Convolutional Neural Networks. Network Application Branch of China Computer Users Association. China computer users association network application branch 2020 24th session of new technology of network and application essays, 2020: 16-21.
  6. Wu Yanxia, Liang Kai, Liu Ying et al. Progress and trend of FPGA Accelerators for Deep Learning . Chinese Journal of Computers, 2019, 42(11): 2461-2480.
  7. Zhao Min. Research on Controller Based on FPGA. Northwestern Polytechnical University, 2004.
  8. Wang C, Luo Z. A Review of the Optimal Design of Neural Networks Based on FPGA. Applied Sciences, 2022, 12(21): 10771.
  9. Parnell K, Bryner R. Comparing and contrasting FPGA and microprocessor system design and development. WP213, 2004, 1(1): 1-32.
  10. Mencer O, Allison D, Blatt E, et al. The History, Status, and Future of FPGAs: Hitting a nerve with field-programmable gate arrays. Queue, 2020, 18(3): 71-82.
  11. Huang Peiyu, Zhao Qiang, Li Yulong. Design of Hardware Accelerator for Convolutional Neural Network based on FPGA. Computer Application & Software, 2023, 40(03): 38-44.