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 条
[31]   LSTM Acceleration with FPGA and GPU Devices for Edge Computing Applications in B5G MEC [J].
Danopoulos, Dimitrios ;
Stamoulias, Ioannis ;
Lentaris, George ;
Masouros, Dimosthenis ;
Kanaropoulos, Ioannis ;
Kakolyris, Andreas Kosmas ;
Soudris, Dimitrios .
EMBEDDED COMPUTER SYSTEMS: ARCHITECTURES, MODELING, AND SIMULATION, SAMOS 2022, 2022, 13511 :406-419
[32]   An FPGA-Based LSTM Acceleration Engine for Deep Learning Frameworks [J].
He, Dazhong ;
He, Junhua ;
Liu, Jun ;
Yang, Jie ;
Yan, Qing ;
Yang, Yang .
ELECTRONICS, 2021, 10 (06) :1-15
[33]   LSTM-based Service Migration for Pervasive Cloud Computing [J].
Jing, Haifeng ;
Zhang, Yafei ;
Zhou, Jiehan ;
Zhang, Weishan ;
Liu, Xin ;
Min, Guizhi ;
Zhang, Zhanmin .
IEEE 2018 INTERNATIONAL CONGRESS ON CYBERMATICS / 2018 IEEE CONFERENCES ON INTERNET OF THINGS, GREEN COMPUTING AND COMMUNICATIONS, CYBER, PHYSICAL AND SOCIAL COMPUTING, SMART DATA, BLOCKCHAIN, COMPUTER AND INFORMATION TECHNOLOGY, 2018, :1835-1840
[34]   Q-SCALE: Quantum computing-based Sensor Calibration for Advanced Learning and Efficiency [J].
Bergadano, Lorenzo ;
Ceschini, Andrea ;
Chiavassa, Pietro ;
Giusto, Edoardo ;
Montrucchio, Bartolomeo ;
Panella, Massimo ;
Rosato, Antonello .
2024 IEEE INTERNATIONAL CONFERENCE ON QUANTUM COMPUTING AND ENGINEERING, QCE, VOL 1, 2024, :306-314
[35]   A Low Power Hardware Implementation of Izhikevich Neuron using Stochastic Computing [J].
Ismal, Aya A. ;
Shaheen, Zeinab A. ;
Rashad, Osama ;
Salama, Khaled N. ;
Mostafa, Hassan .
2018 30TH INTERNATIONAL CONFERENCE ON MICROELECTRONICS (ICM), 2018, :315-318
[36]   Stochastic Computing for Low-Power and High-Speed Deep Learning on FPGA [J].
Lammie, Corey ;
Azghadi, Mostafa Rahimi .
2019 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2019,
[37]   On the Maximum Function in Stochastic Computing [J].
Neugebauer, Florian ;
Polian, Ilia ;
Hayes, John P. .
CF '19 - PROCEEDINGS OF THE 16TH ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS, 2019, :59-66
[38]   Feature selection based on parallel stochastic computing [J].
Oliinyk, Andrii ;
Subbotin, Sergey ;
Lovkin, Valerii ;
Leoshchenko, Serhii ;
Zaiko, Tetiana .
2018 IEEE 13TH INTERNATIONAL SCIENTIFIC AND TECHNICAL CONFERENCE ON COMPUTER SCIENCES AND INFORMATION TECHNOLOGIES (CSIT), VOL 1, 2018, :347-351
[39]   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,
[40]   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