An FPGA Implementation of Stochastic Computing-based LSTM

被引:23
作者
Maor, Guy [1 ]
Zeng, Xiaoming [1 ]
Wang, Zhendong [1 ]
Hu, Yang [1 ]
机构
[1] Univ Texas Dallas, ECE Dept, Richardson, TX 75083 USA
来源
2019 IEEE 37TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD 2019) | 2019年
关键词
LSTM; stochastic computing; mobile and edge devices; hardware resources and power efficiency; accuracy;
D O I
10.1109/ICCD46524.2019.00014
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
As a special type of recurrent neural networks (RNN), Long Short Term Memory (LSTM) is capable of processing sequential data with a great improvement in accuracy and is widely applied in image/video recognition and speech recognition. However, LSTM typically possesses high computational complexity and may cause high hardware cost and power consumption when being implemented. With the development of Internet of Things (IoT) and mobile/edge computation, lots of mobile and edge devices with limited resources are widely deployed, which further exacerbates the situation. Recently, Stochastic Computing (SC) has been applied into neural networks (NN) (e.g., convolution neural networks, CNN) structure to improve the power efficiency. Essentially, SC can effectively simplify the fundamental arithmetic circuits (e.g., multiplication), and reduce the hardware cost and power consumption. Therefore, this paper introduces SC into LSTM and creatively proposes an SC-based LSTM architecture design to save the hardware cost and power consumption. More importantly, the paper successfully implements the design on a Field Programmable Gate Array (FPGA) and evaluates its performance on the MNIST dataset. The evaluation results show that the SC-LSTM design works smoothly and can significantly reduce power consumption by 73.24% compared to the baseline binary LSTM implementation without much accuracy loss. In the future, SC can potentially save hardware cost and reduce power consumption in a wide range of IoT and mobile/edge applications.
引用
收藏
页码:38 / 46
页数:9
相关论文
共 32 条
[1]   Survey of Stochastic Computing [J].
Alaghi, Armin ;
Hayes, John P. .
ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2013, 12
[2]  
[Anonymous], P AS C SIGN SYST COM
[3]  
[Anonymous], 2018, IEEE T COMPUTER AIDE
[4]  
[Anonymous], 2015, Understanding LSTM Networks
[5]   Stochastic neural computation I: Computational elements [J].
Brown, BD ;
Card, HC .
IEEE TRANSACTIONS ON COMPUTERS, 2001, 50 (09) :891-905
[6]  
Christopher J.C. Burges Yann LeCun., THE MNIST DATABASE of handwritten digits
[7]  
Chu Pong P, 1999, MILITARY AEROSPACE A, V1, P28
[8]  
Daruwalla Kyle., 2019, Proceedings of the 20th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, P177, DOI DOI 10.1145/3316482.3326355
[9]  
Gaines B.R., 1969, ADV INFORM SYSTEMS S, V2, P37, DOI [DOI 10.1007/978-1-4899-5841-9_2, 10.1007/978-1-4899-5841-9_2]
[10]  
Gers FA, 1999, IEE CONF PUBL, P850, DOI [10.1162/089976600300015015, 10.1049/cp:19991218]