Skip to main content

Memristive LSTM Network for Sentiment Analysis

Publication ,  Journal Article
Wen, S; Wei, H; Yang, Y; Guo, Z; Zeng, Z; Huang, T; Chen, Y
Published in: IEEE Transactions on Systems, Man, and Cybernetics: Systems
March 1, 2021

This paper presents a complete solution for the hardware design of a memristor-based long short-term memory (MLSTM) network. Throughout the design process, we fully consider the external and internal structures of the long short-term memory (LSTM), both of which are efficiently implemented by memristor crossbars. In the specific design of the internal structure, the parameter sharing mechanism is used between the LSTM cells to minimize the hardware design scale. In particular, we designed a circuit that requires only one memristor crossbar for each unit in the LSTM cell. The activation function, including sigmoid and tanh (hyperbolic tangent function), involved in each unit is approximated by a piecewise function, which is designed with the corresponding hardware. To verify the effectiveness of the system we designed, we test it on IMDB and SemEval datasets. Considering the huge impact of the dimensions of the input data on the scale of the hardware design, we use word2vector instead of one-hot encoding for the input data encoding. With the parameter sharing mechanism, the transformed vectors are input in different periods, so only 65 memristive crossbars are needed in the entire system to complete the sentiment analysis of the input text. The experimental results verify the effectiveness of our proposed MLSTM system.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

IEEE Transactions on Systems, Man, and Cybernetics: Systems

DOI

EISSN

2168-2232

ISSN

2168-2216

Publication Date

March 1, 2021

Volume

51

Issue

3

Start / End Page

1794 / 1804
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Wen, S., Wei, H., Yang, Y., Guo, Z., Zeng, Z., Huang, T., & Chen, Y. (2021). Memristive LSTM Network for Sentiment Analysis. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 51(3), 1794–1804. https://doi.org/10.1109/TSMC.2019.2906098
Wen, S., H. Wei, Y. Yang, Z. Guo, Z. Zeng, T. Huang, and Y. Chen. “Memristive LSTM Network for Sentiment Analysis.” IEEE Transactions on Systems, Man, and Cybernetics: Systems 51, no. 3 (March 1, 2021): 1794–1804. https://doi.org/10.1109/TSMC.2019.2906098.
Wen S, Wei H, Yang Y, Guo Z, Zeng Z, Huang T, et al. Memristive LSTM Network for Sentiment Analysis. IEEE Transactions on Systems, Man, and Cybernetics: Systems. 2021 Mar 1;51(3):1794–804.
Wen, S., et al. “Memristive LSTM Network for Sentiment Analysis.” IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 51, no. 3, Mar. 2021, pp. 1794–804. Scopus, doi:10.1109/TSMC.2019.2906098.
Wen S, Wei H, Yang Y, Guo Z, Zeng Z, Huang T, Chen Y. Memristive LSTM Network for Sentiment Analysis. IEEE Transactions on Systems, Man, and Cybernetics: Systems. 2021 Mar 1;51(3):1794–1804.

Published In

IEEE Transactions on Systems, Man, and Cybernetics: Systems

DOI

EISSN

2168-2232

ISSN

2168-2216

Publication Date

March 1, 2021

Volume

51

Issue

3

Start / End Page

1794 / 1804