FiC-RNN: A multi-FPGA acceleration framework for deep recurrent neural networks

Yuxi Sun, Hideharu Amano

Research output: Contribution to journalArticlepeer-review

Abstract

Recurrent neural networks (RNNs) have been proven effective for sequence-based tasks thanks to their capability to process temporal information. In real-world systems, deep RNNs are more widely used to solve complicated tasks such as large-scale speech recognition and machine translation. However, the implementation of deep RNNs on traditional hardware platforms is inefficient due to long-range temporal dependence and irregular computation patterns within RNNs. This inefficiency manifests itself in the proportional increase in the latency of RNN inference with respect to the number of layers of deep RNNs on CPUs and GPUs. Previous work has focused mostly on optimizing and accelerating individual RNN cells. To make deep RNN inference fast and efficient, we propose an accelerator based on a multi-FPGA platform called Flow-in-Cloud (FiC). In this work, we show that the parallelism provided by the multi-FPGA system can be taken advantage of to scale up the inference of deep RNNs, by partitioning a large model onto several FPGAs, so that the latency stays close to constant with respect to increasing number of RNN layers. For single-layer and four-layer RNNs, our implementation achieves 31x and 61x speedup compared with an Intel CPU.

Original languageEnglish
Pages (from-to)2457-2462
Number of pages6
JournalIEICE Transactions on Information and Systems
VolumeE103D
Issue number12
DOIs
Publication statusPublished - 2020 Dec 1

Keywords

  • LSTM
  • Multi-FPGA
  • Recurrent neural networks

ASJC Scopus subject areas

  • Software
  • Hardware and Architecture
  • Computer Vision and Pattern Recognition
  • Electrical and Electronic Engineering
  • Artificial Intelligence

Fingerprint Dive into the research topics of 'FiC-RNN: A multi-FPGA acceleration framework for deep recurrent neural networks'. Together they form a unique fingerprint.

Cite this