Recurrent Neural Networks Hardware Implementation on FPGA

Autor: Chang, Andre Xian Ming, Martini, Berin, Culurciello, Eugenio
Rok vydání: 2015
Předmět:
Druh dokumentu: Working Paper
Popis: Recurrent Neural Networks (RNNs) have the ability to retain memory and learn data sequences. Due to the recurrent nature of RNNs, it is sometimes hard to parallelize all its computations on conventional hardware. CPUs do not currently offer large parallelism, while GPUs offer limited parallelism due to sequential components of RNN models. In this paper we present a hardware implementation of Long-Short Term Memory (LSTM) recurrent network on the programmable logic Zynq 7020 FPGA from Xilinx. We implemented a RNN with $2$ layers and $128$ hidden units in hardware and it has been tested using a character level language model. The implementation is more than $21\times$ faster than the ARM CPU embedded on the Zynq 7020 FPGA. This work can potentially evolve to a RNN co-processor for future mobile devices.
Comment: 7 pages, 8 figures, changed format, added figures, added references, modified introduction
Databáze: arXiv