Skip to main content
QUICK REVIEW

[Paper Review] A GPU-Outperforming FPGA Accelerator Architecture for Binary Convolutional Neural Networks

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

This paper presents an FPGA-based accelerator architecture optimized for binary convolutional neural networks (BNNs), 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 outperforms GPUs across both throughput and energy efficiency by exploiting bitwise computation and maintaining consistent performance regardless of batch size.

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

  • To address the challenge of achieving GPU-level throughput with FPGA-based CNN accelerators.
  • To improve energy efficiency in inference workloads by exploiting binary weights and activations.
  • To design an FPGA architecture that maintains high performance across varying batch sizes, unlike GPU workloads.
  • To demonstrate that FPGAs can surpass GPUs in both throughput and energy efficiency for BNNs.

Proposed method

  • The architecture employs massive spatial parallelism to process multiple bits simultaneously in bitwise convolution operations.
  • Deep pipeline stages are used to maximize throughput and sustain high utilization across the compute units.
  • The design is specifically tailored for binary convolution and batch normalization, minimizing redundant operations.
  • The system maintains high performance across small batch sizes by avoiding dependence on batch size for throughput.
  • Custom dataflow and memory access patterns are optimized to reduce latency and maximize bandwidth utilization.
  • The accelerator is implemented on a Virtex-7 FPGA to evaluate real-world performance and energy efficiency.

Experimental results

Research questions

  • RQ1Can an FPGA-based accelerator achieve higher throughput than a GPU for binary convolutional neural networks?
  • RQ2Does the FPGA design maintain consistent performance across different batch sizes, unlike GPU workloads?
  • RQ3Can the FPGA accelerator achieve superior energy efficiency compared to GPUs in BNN inference?
  • RQ4What architectural optimizations enable FPGA acceleration to outperform GPUs in BNN workloads?

Key findings

  • The proposed FPGA accelerator achieves 8.3x higher throughput than a Titan X GPU for small-batch inference (batch size = 1).
  • For small-batch processing, the FPGA is 75x more energy-efficient than the Titan X GPU.
  • In large-batch scenarios, the FPGA matches the Titan X GPU in throughput while achieving 9.5x higher energy efficiency.
  • The performance of the FPGA is insensitive to batch size, unlike GPU performance, which degrades significantly with smaller batches.
  • The accelerator's throughput is sustained across different workloads due to deep pipelining and spatial parallelism.
  • The results demonstrate that FPGA acceleration can outperform GPUs in both throughput and energy efficiency for BNNs.

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.