Skip to main content
QUICK REVIEW

[Paper Review] An Efficient Hardware Accelerator for Structured Sparse Convolutional Neural Networks on FPGAs

Chaoyang Zhu, Kejie Huang|arXiv (Cornell University)|Jan 7, 2020
Advanced Neural Network ApplicationsComputer Science36 references8 citations
TL;DR

This paper proposes a hardware accelerator for structured sparse convolutional neural networks on FPGAs using a sparse-wise dataflow that skips zero-weight MAC operations and employs zero-gating to reduce energy. The design achieves 987 images/second for AlexNet and 48 images/second for VGG-16 on Xilinx ZCU102, delivering 1.5× to 6.7× speedup and 2.0× to 6.2× higher energy efficiency than prior FPGA accelerators.

ABSTRACT

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.

Motivation & Objective

  • Address the inefficiency of existing FPGA accelerators in handling irregular sparsity from pruned CNNs.
  • Overcome the limitations of dense CNN accelerators in sparse inference by exploiting structured sparsity.
  • Minimize energy consumption through zero-gating and reduce bandwidth via data sharing in sparse computation.
  • Design a flexible, high-resource-utilization accelerator that adapts to varying CNN model sizes and sparsity patterns.
  • Achieve high performance and energy efficiency on FPGAs by leveraging dataflow optimization and hardware-aware sparsity.

Proposed method

  • Propose a sparse-wise dataflow that skips MAC operations with zero weights, eliminating the need for coordinate reconstruction.
  • Introduce a Vector Generator Module (VGM) to map sparse weights and input activations efficiently using the proposed dataflow.
  • Implement zero-gating logic to disable unused PEs when input activations are zero, reducing dynamic power.
  • Use 8-bit fixed-point quantization to double data throughput per DDR access, improving resource utilization.
  • Design a PE array with configurable size (e.g., 48×28 PEs) to balance compute intensity and on-chip memory constraints.
  • Apply roofline modeling to identify optimal configurations for peak performance and energy efficiency.

Experimental results

Research questions

  • RQ1How can a dataflow be designed to efficiently handle structured sparsity in CNNs without incurring irregularity-related overhead?
  • RQ2What architectural techniques can minimize energy consumption in sparse CNN inference on FPGAs?
  • RQ3How does the proposed dataflow compare in performance and energy efficiency to existing FPGA accelerators for sparse and dense CNNs?
  • RQ4To what extent can resource utilization and throughput be improved through dataflow and quantization optimization?
  • RQ5What is the optimal configuration of PE array size and bitwidth for achieving high performance and energy efficiency on FPGAs?

Key findings

  • The proposed accelerator achieves 987 images/second for structured sparse AlexNet on Xilinx ZCU102, outperforming prior FPGA accelerators by 1.5× to 6.7× in speedup.
  • For VGG-16, the implementation attains 48 images/second, demonstrating 2.2× to 2.3× speedup and 3.4× to 6.2× higher energy efficiency than prior works.
  • With 8-bit quantization, the accelerator achieves 96 images/second, resulting in 4.4× to 4.6× speedup and 6.1× to 11.2× energy efficiency gains over dense and sparse FPGA accelerators.
  • The peak throughput reaches 1075.2 GOP/s when using 8-bit operations, enabled by two 8×8 multiplications per PE using two DSPs.
  • The design achieves 1344 PEs in a 48×28 configuration, with performance plateauing beyond 8 PEs in AlexNet and 16 in VGG-16 due to bandwidth and resource limits.
  • The logic cell efficiency improves nearly 100× when using 8-bit data compared to prior designs, due to reduced LUT and MUX usage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.