Multi-layer LSTM Parallel Optimization Based on Hardware and Software Cooperation

被引:0
|
作者
Chen, Qingfeng [1 ]
Wu, Jing [1 ]
Huang, Feihu [1 ]
Han, Yu [1 ]
Zhao, Qiming [1 ]
机构
[1] Wuhan Univ Sci & Technol, Sch Comp Sci & Technol, Wuhan 430065, Peoples R China
关键词
LSTM; Software and hardware cooperation; Parallelism; RNN; NLP; COMPRESSION; PREDICTION; SYSTEMS;
D O I
10.1007/978-3-031-10986-7_55
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
LSTM's special gate structure and memory unit make it suitable for solving problems that are related to time series. It has excellent performance in the fields of machine translation and reasoning. However, LSTM also has some shortcomings, such as low parallelism, which leads to insufficient computing speed. Some existing optimization ideas only focus on one of the software and hardware. The former mostly focuses on model accuracy, and CPU accelerated LSTM doesn't dynamically adjust to network characteristics; While the latter can be based on the LSTM model structure. Customized accelerators are often limited by the structure of LSTM and cannot fully utilize the advantages of the hardware. This paper proposed a multi-layer LSTM optimization scheme based on the idea of software and hardware collaboration. We used the pruning by row scheme to greatly reduce the number of parameters while ensuring accuracy, making it adapt to the parallel structure of the hardware. From the perspective of software, the multi-layer LSTM module was analyzed. It was concluded that some neurons in different layers could be calculated in parallel. Therefore, this paper redesigned the computational order of the multilayer LSTM so that the model guaranteed its own timing properly and it was hardware friendly at the same time. Experiments showed that our throughput increased by 10x compared with the CPU implementation. Compared with other hardware accelerators, the throughput increased by 1.2x-1.4x, and the latency and resource utilization had also been improved.
引用
收藏
页码:681 / 693
页数:13
相关论文
共 50 条
  • [41] Multi-layer Software Configuration: Empirical Study on Wordpress
    Sayagh, Mohammed
    Adams, Bram
    2015 IEEE 15TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2015, : 31 - 40
  • [42] Research on electricity consumption forecasting model based on wavelet transform and multi-layer LSTM model
    Chi Dianwei
    ENERGY REPORTS, 2022, 8 : 220 - 228
  • [43] Parallel Multi-Layer Monte Carlo Optimization Algorithm for Doubly Fed Induction Generator Controller Parameters Optimization
    Tao, Xinghua
    Mo, Nan
    Qin, Jianbo
    Yang, Xiaozhe
    Yin, Linfei
    Hu, Likun
    ENERGIES, 2023, 16 (19)
  • [44] Semantic Improvement of Question-Answering System with Multi-Layer LSTM
    Bhuiyan, Hanif
    Karim, Md Abdul
    Karim, Faria Benta
    Ara, Jinat
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS, ICCSA 2021, PT III, 2021, 12951 : 338 - 352
  • [45] Traffic Prediction: A Comparison between the LSTM and Multi-Layer Perceptron Algorithm
    Winata, Federic
    Jovanka, Ignatius
    Laurent, Andre
    Nurhasanah
    Nabiilah, Ghinaa Zain
    Irwansyah, Edy
    2022 2ND INTERNATIONAL CONFERENCE ON INTELLIGENT CYBERNETICS TECHNOLOGY & APPLICATIONS (ICICYTA), 2022, : 12 - 16
  • [46] A multi-layer multi-view architecture for software engineering environments
    Kempkens, R
    Rösch, P
    Scott, L
    Zettel, J
    INFORMATION AND SOFTWARE TECHNOLOGY, 2000, 42 (02) : 141 - 149
  • [47] VulTR: Software vulnerability detection model based on multi-layer key feature enhancement
    Wang, Sheng (wangshengzz@stumail.ysu.edu.cn), 2025, 148
  • [48] Application of COM/DCOM Based Multi-layer Software Architecture in Measurement & Control Program
    Wei, Xianmin
    MATERIALS SCIENCE AND ENGINEERING, PTS 1-2, 2011, 179-180 : 824 - 829
  • [49] Multi-layer nanopaper based composites
    Mautner, Andreas
    Lucenius, Jessica
    Osterberg, Monika
    Bismarck, Alexander
    CELLULOSE, 2017, 24 (04) : 1759 - 1773
  • [50] Aerodynamic optimization of rotor airfoil based on multi-layer hierarchical constraint method
    Zhao Ke
    Gao Zhenghong
    Huang Jiangtao
    Li Quan
    Chinese Journal of Aeronautics, 2016, 29 (06) : 1541 - 1552