An Efficient Hardware Accelerator for Structured Sparse Convolutional Neural Networks on FPGAs
College of Information Science and Electronic Engineering, Zhejiang University, Hangzhou, 310058, China
arXiv:2001.01955 [eess.SY], (7 Jan 2020)
@misc{zhu2020efficient,
title={An Efficient Hardware Accelerator for Structured Sparse Convolutional Neural Networks on FPGAs},
author={Chaoyang Zhu and Kejie Huang and Shuyuan Yang and Ziqi Zhu and Hejia Zhang and Haibin Shen},
year={2020},
eprint={2001.01955},
archivePrefix={arXiv},
primaryClass={eess.SY}
}
Deep Convolutional Neural Networks (CNNs) have achieved state-of-the-art performance in a wide range of applications. However, deeper CNN models, which are usually computation consuming, are widely required for complex Artificial Intelligence (AI) tasks. Though recent research progress on network compression such as pruning has emerged as a promising direction to mitigate computational burden, existing accelerators are still prevented from completely utilizing the benefits of leveraging sparsity owing to the irregularity caused by pruning. On the other hand, Field-Programmable Gate Arrays (FPGAs) have been regarded as a promising hardware platform for CNN inference acceleration. However, most existing FPGA accelerators focus on dense CNN and cannot address the irregularity problem. In this paper, we propose a sparse wise dataflow to skip the cycles of processing Multiply-and-Accumulates (MACs) with zero weights and exploit data statistics to minimize energy through zeros gating to avoid unnecessary computations. The proposed sparse wise dataflow leads to a low bandwidth requirement and a high data sharing. Then we design an FPGA accelerator containing a Vector Generator Module (VGM) which can match the index between sparse weights and input activations according to the proposed dataflow. Experimental results demonstrate that our implementation can achieve 987 imag/s and 48 imag/s performance for AlexNet and VGG-16 on Xilinx ZCU102, respectively, which provides 1.5x to 6.7x speedup and 2.0x to 6.2x energy-efficiency over previous CNN FPGA accelerators.
January 12, 2020 by hgpu