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 条
  • [21] An FPGA Implementation of a Time Delay Reservoir Using Stochastic Logic
    Loomis, Lisa
    McDonald, Nathan
    Merkel, Cory
    ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2018, 14 (04)
  • [22] Memory-Efficient FPGA Implementation of Stochastic Simulated Annealing
    Shin, Duckgyu
    Onizawa, Naoya
    Gross, Warren J.
    Hanyu, Takahiro
    IEEE JOURNAL ON EMERGING AND SELECTED TOPICS IN CIRCUITS AND SYSTEMS, 2023, 13 (01) : 108 - 118
  • [23] Stochastic computing in convolutional neural network implementation: a review
    Lee, Yang Yang
    Halim, Zaini Abdul
    PEERJ COMPUTER SCIENCE, 2020, 6
  • [24] Stochastic Computing for Hardware Implementation of Binarized Neural Networks
    Hirtzlin, Tifenn
    Penkovsky, Bogdan
    Bocquet, Marc
    Klein, Jacques-Olivier
    Portal, Jean-Michel
    Querlioz, Damien
    IEEE ACCESS, 2019, 7 : 76394 - 76403
  • [25] Optimization of Stochastic Computing Based Deep Learning Systems with Parallel Finite State Machine Implementation
    Liu, Jinjie
    4TH INTERNATIONAL CONFERENCE ON ALGORITHMS, COMPUTING AND SYSTEMS, ICACS 2020, 2020, : 22 - 26
  • [26] Stochastic Computing Design and Implementation of a Sound Source Localization System
    Schober, Peter
    Estiri, Seyedeh Newsha
    Aygun, Sercan
    Jalilvand, Amir Hossein
    Najafi, M. Hassan
    TaheriNejad, Nima
    IEEE JOURNAL ON EMERGING AND SELECTED TOPICS IN CIRCUITS AND SYSTEMS, 2023, 13 (01) : 295 - 311
  • [27] Memristive combinational logic circuits and stochastic computing implementation scheme
    Li, Tianshu
    Duan, Shukai
    Liu, Jun
    Wang, Lidan
    CIRCUIT WORLD, 2022, 48 (03) : 354 - 365
  • [28] Edge computing-based ensemble learning model for health care decision systems
    Vincent, Asir Chandra Shinoo Robert
    Sengan, Sudhakar
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [29] Implementation of Low-Energy LSTM with Parallel and Pipelined Algorithm in Small-Scale FPGA
    Yoshimura, Ukyo
    Inoue, Toshiyuki
    Tsuchiya, Akira
    Kishine, Keiji
    2021 INTERNATIONAL CONFERENCE ON ELECTRONICS, INFORMATION, AND COMMUNICATION (ICEIC), 2021,
  • [30] An FPGA-Based LSTM Acceleration Engine for Deep Learning Frameworks
    He, Dazhong
    He, Junhua
    Liu, Jun
    Yang, Jie
    Yan, Qing
    Yang, Yang
    ELECTRONICS, 2021, 10 (06) : 1 - 15