An Efficient FPGA-based Depthwise Separable Convolutional Neural Network Accelerator with Hardware Pruning

被引:4
作者
Liu, Zhengyan [1 ]
Liu, Qiang [1 ]
Yan, Shun [1 ]
Cheung, Ray C. C. [2 ]
机构
[1] Tianjin Univ, Sch Microelect, 92nd Rd, Tianjin 300072, Nankai, Peoples R China
[2] City Univ Hong Kong, Dept Elect Engn, Hong Kong, Peoples R China
基金
中国国家自然科学基金;
关键词
CNN accelerator; depthwise-seperable convolution; bottleneck; model compression;
D O I
10.1145/3615661
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Convolutional neural networks (CNNs) have been widely deployed in computer vision tasks. However, the computation and resource intensive characteristics of CNN bring obstacles to its application on embedded systems. This article proposes an efficient inference accelerator on Field Programmable Gate Array (FPGA) for CNNs with depthwise separable convolutions. To improve the accelerator efficiency, we make four contributions: (1) an efficient convolution engine with multiple strategies for exploiting parallelism and a configurable adder tree are designed to support three types of convolution operations; (2) a dedicated architecture combined with input buffers is designed for the bottleneck network structure to reduce data transmission time; (3) a hardware padding scheme to eliminate invalid padding operations is proposed; and (4) a hardware-assisted pruning method is developed to support online tradeoff between model accuracy and power consumption. Experimental results show that for MobileNetV2 the accelerator achieves 10x and 6x energy efficiency improvement over the CPU and GPU implementation, and 302.3 frames per second and 181.8 GOPS performance that is the best among several existing single-engine accelerators on FPGAs. The proposed hardware-assisted pruning method can effectively reduce 59.7% power consumption at the accuracy loss within 5%.
引用
收藏
页数:20
相关论文
共 44 条
  • [1] DLA: Compiler and FPGA Overlay for Neural Network Inference Acceleration
    Abdelfattah, Mohamed S.
    Han, David
    Bitar, Andrew
    DiCecco, Roberto
    O'Connell, Shane
    Shanker, Nitika
    Chu, Joseph
    Prins, Ian
    Fender, Joshua
    Ling, Andrew C.
    Chiu, Gordon R.
    [J]. 2018 28TH INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS (FPL), 2018, : 411 - 418
  • [2] [Anonymous], Description of Qualcomm Snapdragon 821 MSM8996 Pro
  • [3] A CNN Accelerator on FPGA Using Depthwise Separable Convolution
    Bai, Lin
    Zhao, Yiming
    Huang, Xinming
    [J]. IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-EXPRESS BRIEFS, 2018, 65 (10) : 1415 - 1419
  • [4] Chen Xiaobo., 2011, P IEEE INT C IMAGE P
  • [5] Model Compression and Hardware Acceleration for Neural Networks: A Comprehensive Survey
    Deng, Lei
    Li, Guoqi
    Han, Song
    Shi, Luping
    Xie, Yuan
    [J]. PROCEEDINGS OF THE IEEE, 2020, 108 (04) : 485 - 532
  • [6] A Real-Time Object Detection Accelerator with Compressed SSDLite on FPGA
    Fan, Hongxiang
    Liu, Shuanglong
    Ferianc, Martin
    Ng, Ho-Cheung
    Que, Zhiqiang
    Liu, Shen
    Niu, Xinyu
    Luk, Wayne
    [J]. 2018 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (FPT 2018), 2018, : 17 - 24
  • [7] Howard AG, 2017, Arxiv, DOI [arXiv:1704.04861, DOI 10.48550/ARXIV.1704.04861]
  • [8] Gale T, 2019, Arxiv, DOI arXiv:1902.09574
  • [9] Gong YC, 2014, Arxiv, DOI arXiv:1412.6115
  • [10] Guangju Wei, 2018, 2018 24th Asia-Pacific Conference on Communications (APCC), P7, DOI 10.1109/APCC.2018.8633447