Skip to main content
QUICK REVIEW

[Paper Review] A 7.663-TOPS 8.2-W Energy-efficient FPGA Accelerator for Binary Convolutional Neural Networks

Yixing Li, Zichuan Liu|arXiv (Cornell University)|Feb 20, 2017
Advanced Neural Network ApplicationsComputer Science4 references26 citations
TL;DR

This paper presents a 7.663-TOPS, 8.2-W FPGA accelerator optimized for binary convolutional neural networks (BCNNs), leveraging massive spatial parallelism and deep pipelines to achieve 8.3x higher throughput and 75x better energy efficiency than a Titan X GPU for small-batch inference. The design is insensitive to batch size, outperforming GPUs in dynamic, low-latency scenarios.

ABSTRACT

FPGA-based hardware accelerators for convolutional neural networks (CNNs) have obtained great attentions due to their higher energy efficiency than GPUs. However, it is challenging for FPGA-based solutions to achieve a higher throughput than GPU counterparts. In this paper, we demonstrate that FPGA acceleration can be a superior solution in terms of both throughput and energy efficiency when a CNN is trained with binary constraints on weights and activations. Specifically, we propose an optimized FPGA accelerator architecture tailored for bitwise convolution and normalization that features massive spatial parallelism with deep pipelines stages. A key advantage of the FPGA accelerator is that its performance is insensitive to data batch size, while the performance of GPU acceleration varies largely depending on the batch size of the data. Experiment results show that the proposed accelerator architecture for binary CNNs running on a Virtex-7 FPGA is 8.3x faster and 75x more energy-efficient than a Titan X GPU for processing online individual requests in small batch sizes. For processing static data in large batch sizes, the proposed solution is on a par with a Titan X GPU in terms of throughput while delivering 9.5x higher energy efficiency.

Motivation & Objective

  • Address the challenge of achieving high throughput and energy efficiency in CNN inference on FPGAs compared to GPUs.
  • Overcome the performance variability of GPU accelerators that heavily depends on batch size.
  • Design a specialized FPGA architecture tailored for binary convolution and normalization operations.
  • Enable high performance in real-time, low-latency applications where small batch sizes are common.

Proposed method

  • Implement a custom FPGA accelerator on a Virtex-7 FPGA with massive spatial parallelism and deep pipeline stages for bitwise convolution operations.
  • Optimize the architecture for binary neural networks by exploiting bit-level parallelism and simplified arithmetic.
  • Integrate efficient normalization units to support batch normalization in the BCNN inference pipeline.
  • Structure the design to maintain consistent performance across varying batch sizes, minimizing throughput degradation.
  • Use high-level synthesis and custom memory access patterns to maximize data throughput and minimize latency.
  • Balance resource utilization and clock frequency to achieve high throughput at low power consumption (8.2 W).

Experimental results

Research questions

  • RQ1Can FPGA-based accelerators outperform GPUs in throughput and energy efficiency for binary CNN inference?
  • RQ2How does the performance of FPGA accelerators scale with varying input batch sizes compared to GPUs?
  • RQ3To what extent can spatial parallelism and deep pipelining improve throughput in binary CNN accelerators?
  • RQ4Can an FPGA accelerator maintain high performance for small-batch inference, a common scenario in online applications?

Key findings

  • The proposed FPGA accelerator achieves 7.663 TOPS of inference throughput on a Virtex-7 FPGA.
  • For small-batch inference (e.g., online requests), the accelerator is 8.3x faster than a Titan X GPU.
  • In small-batch scenarios, the FPGA solution delivers 75x higher energy efficiency than the Titan X GPU.
  • For large-batch static data processing, the accelerator matches the Titan X GPU in throughput while achieving 9.5x better energy efficiency.
  • The accelerator’s performance is largely insensitive to batch size, unlike GPU-based solutions.
  • The design demonstrates that FPGA acceleration can be superior to GPU acceleration in both throughput and energy efficiency when applied to binary CNNs.

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.