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
相关论文
共 50 条
[41]   Energy Efficient Memory-based Inference of LSTM by Exploiting FPGA Overlay [J].
Guha, Krishnendu ;
Trivedi, Amit Ranjan ;
Bhunia, Swarup .
2023 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, IJCNN, 2023,
[42]   A low-latency LSTM accelerator using balanced sparsity based on FPGA [J].
Jiang, Jingfei ;
Xiao, Tao ;
Xu, Jinwei ;
Wen, Dong ;
Gao, Lei ;
Dou, Yong .
MICROPROCESSORS AND MICROSYSTEMS, 2022, 89
[43]   A state-of-the-art review of soft computing-based monitoring and control in the machining of hard alloys [J].
Kumar, Lokesh ;
Goyal, Ashish ;
Pathak, Vimal Kumar ;
Bhowmik, Abhijit .
DISCOVER APPLIED SCIENCES, 2025, 7 (07)
[44]   Intelligent Traffic Adaptive Resource Allocation for Edge Computing-Based 5G Networks [J].
Chen, Min ;
Miao, Yiming ;
Gharavi, Hamid ;
Hu, Long ;
Humar, Iztok .
IEEE TRANSACTIONS ON COGNITIVE COMMUNICATIONS AND NETWORKING, 2020, 6 (02) :499-508
[45]   Implementation of Artificial Neural Networks Using Magnetoresistive Random-Access Memory-Based Stochastic Computing Units [J].
Shao, Yixin ;
Sinaga, Sisilia Lamsari ;
Sunmola, Idris O. ;
Borland, Andrew S. ;
Carey, Matthew J. ;
Katine, Jordan A. ;
Lopez-Dominguez, Victor ;
Amiri, Pedram Khalili .
IEEE MAGNETICS LETTERS, 2021, 12
[46]   Low-cost stochastic number generator based on MRAM for stochastic computing [J].
Wang, You ;
Wu, Bi ;
Cai, Hao ;
Liu, Weiqiang .
PROCEEDINGS OF THE 17TH ACM INTERNATIONAL SYMPOSIUM ON NANOSCALE ARCHITECTURES, NANOARCH 2022, 2022,
[47]   Acceleration of LSTM With Structured Pruning Method on FPGA [J].
Wang, Shaorun ;
Lin, Peng ;
Hu, Ruihan ;
Wang, Hao ;
He, Jin ;
Huang, Qijun ;
Chang, Sheng .
IEEE ACCESS, 2019, 7 (62930-62937) :62930-62937
[48]   Stochastic Computing Using Droplet-Based Microfluidics [J].
Haselmayr, Werner ;
Grimmer, Andreas ;
Wille, Robert .
COMPUTER AIDED SYSTEMS THEORY - EUROCAST 2017, PT II, 2018, 10672 :204-211
[49]   Stochastic Computing based BCH Decoder for WBAN Systems [J].
Han, Kaining ;
Wang, Junchao ;
Gross, Warren J. .
2018 IEEE 61ST INTERNATIONAL MIDWEST SYMPOSIUM ON CIRCUITS AND SYSTEMS (MWSCAS), 2018, :729-732
[50]   Hardware Tripartite Synapse Architecture based on Stochastic Computing [J].
Liu, Junxiu ;
Liang, Zhewei ;
Luo, Yuling ;
Huang, Jiadong ;
Yang, Su .
2019 13TH INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING (TASE 2019), 2019, :81-85