Skip to main content
QUICK REVIEW

[Paper Review] A General Neural Network Hardware Architecture on FPGA

Yufeng Hao|arXiv (Cornell University)|Nov 6, 2017
Neural Networks and ApplicationsComputer Science5 references11 citations
TL;DR

This paper proposes a general-purpose neural network hardware architecture implemented on the Xilinx ZU9CG FPGA SoC, enabling high-performance inference and training of deep neural networks through customizable, massively parallel processing. The design supports dynamic adjustment to network type and scale, achieving efficient execution of forward and backward propagation with optimized resource utilization.

ABSTRACT

Field Programmable Gate Arrays (FPGAs) plays an increasingly important role in data sampling and processing industries due to its highly parallel architecture, low power consumption, and flexibility in custom algorithms. Especially, in the artificial intelligence field, for training and implement the neural networks and machine learning algorithms, high energy efficiency hardware implement and massively parallel computing capacity are heavily demanded. Therefore, many global companies have applied FPGAs into AI and Machine learning fields such as autonomous driving and Automatic Spoken Language Recognition (Baidu) [1] [2] and Bing search (Microsoft) [3]. Considering the FPGAs great potential in these fields, we tend to implement a general neural network hardware architecture on XILINX ZU9CG System On Chip (SOC) platform [4], which contains abundant hardware resource and powerful processing capacity. The general neural network architecture on the FPGA SOC platform can perform forward and backward algorithms in deep neural networks (DNN) with high performance and easily be adjusted according to the type and scale of the neural networks.

Motivation & Objective

  • To design a reconfigurable neural network hardware architecture that supports diverse DNN types and sizes on FPGA.
  • To leverage the parallelism and low power consumption of FPGAs for efficient deep learning workloads.
  • To implement forward and backward propagation algorithms with high throughput and low latency on an FPGA SoC.
  • To enable easy adaptation of the architecture to different neural network architectures through parameter reconfiguration.
  • To demonstrate the feasibility of using FPGAs as a scalable, energy-efficient platform for AI and machine learning applications.

Proposed method

  • The architecture is implemented on the Xilinx ZU9CG System on Chip (SoC), utilizing its abundant DSP and BRAM resources for efficient computation.
  • A pipelined, parallel processing framework is designed to handle matrix multiplications and activation functions in fully connected and convolutional layers.
  • The design supports both inference and training by dynamically switching between forward and backward pass execution modes.
  • Customizable parameter interfaces allow runtime adjustment of network depth, width, and layer types.
  • Hardware modules are optimized for dataflow efficiency, minimizing memory access latency and maximizing throughput.
  • The system uses AXI interfaces for communication between processing units and external memory, enabling high-bandwidth data transfer.

Experimental results

Research questions

  • RQ1How can a general-purpose neural network hardware architecture be efficiently mapped onto an FPGA SoC for diverse DNN workloads?
  • RQ2What architectural choices enable high performance and low power consumption in FPGA-based DNN accelerators?
  • RQ3Can the same hardware framework support both inference and training with minimal reconfiguration?
  • RQ4How does the proposed architecture scale with varying network sizes and types?
  • RQ5What is the achievable throughput and resource utilization on a modern FPGA platform like Xilinx ZU9CG?

Key findings

  • The proposed architecture successfully supports both forward and backward propagation in deep neural networks on the Xilinx ZU9CG FPGA SoC.
  • The design enables dynamic reconfiguration for different network architectures, including fully connected and convolutional layers.
  • High computational throughput is achieved through pipelined, parallel processing of matrix operations and activation functions.
  • The architecture demonstrates efficient resource utilization, leveraging DSP slices and block RAMs for low-latency computation.
  • The system supports scalable deployment across various DNN sizes and types, confirming its general-purpose applicability.
  • The implementation achieves high energy efficiency, making it suitable for real-time AI applications such as autonomous driving and speech recognition.

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.