Optimizing Bayesian Recurrent Neural Networks on an FPGA-based Accelerator
Authors:
- 6 December 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-10
Abstract
Neural networks have demonstrated their outstanding performance in a wide range of tasks. Specifically recurrent architectures based on long-short term memory (LSTM) cells have manifested excellent capability to model time dependencies in real-world data. However, standard recurrent architectures cannot estimate their uncertainty which is essential for safety-critical applications such as in medicine. In contrast, Bayesian recurrent neural networks (RNNs) are able to provide uncertainty estimation with improved accuracy. Nonetheless, Bayesian RNNs are computationally and memory demanding, which limits their practicality despite their advantages. To address this issue, we propose an FPGA-based hardware design to accelerate Bayesian LSTM-based RNNs. To further improve the overall algorithmic-hardware performance, a co-design framework is proposed to explore the most fitting algorithmic-hardware configurations for Bayesian RNNs. We conduct extensive experiments on healthcare applications to demonstrate the improvement of our design and the effectiveness of our framework. Compared with GPU implementation, our FPGA-based design can achieve up to 10 times speedup with nearly 106 times higher energy efficiency. To the best of our knowledge, this is the first work targeting acceleration of Bayesian RNNs on FPGAs.Keywords
This publication has 26 references indexed in Scilit:
- Bayesian Recurrent Neural Network Models for Forecasting and Quantifying Uncertainty in Spatial-Temporal DataEntropy, 2019
- A survey of FPGA-based accelerators for convolutional neural networksNeural Computing and Applications, 2018
- FINN-L: Library Extensions and Design Trade-Off Analysis for Variable Precision LSTM Networks on FPGAs2018
- Fast inference of deep neural networks in FPGAs for particle physicsJournal of Instrumentation, 2018
- VIBNNACM SIGPLAN Notices, 2018
- ESE2017
- FPGA-based accelerator for long short-term memory recurrent neural networks2017
- Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation2014
- PhysioBank, PhysioToolkit, and PhysioNetCirculation, 2000
- Long Short-Term MemoryNeural Computation, 1997