High accuracy offering attention mechanisms based deep learning approach using CNN/bi-LSTM for sentiment analysis
International Journal of Intelligent Computing and Cybernetics
ISSN: 1756-378X
Article publication date: 5 October 2021
Issue publication date: 2 February 2022
Abstract
Purpose
Neural network (NN)-based deep learning (DL) approach is considered for sentiment analysis (SA) by incorporating convolutional neural network (CNN), bi-directional long short-term memory (Bi-LSTM) and attention methods. Unlike the conventional supervised machine learning natural language processing algorithms, the authors have used unsupervised deep learning algorithms.
Design/methodology/approach
The method presented for sentiment analysis is designed using CNN, Bi-LSTM and the attention mechanism. Word2vec word embedding is used for natural language processing (NLP). The discussed approach is designed for sentence-level SA which consists of one embedding layer, two convolutional layers with max-pooling, one LSTM layer and two fully connected (FC) layers. Overall the system training time is 30 min.
Findings
The method performance is analyzed using metrics like precision, recall, F1 score, and accuracy. CNN is helped to reduce the complexity and Bi-LSTM is helped to process the long sequence input text.
Originality/value
The attention mechanism is adopted to decide the significance of every hidden state and give a weighted sum of all the features fed as input.
Keywords
Citation
Kota, V.R. and Munisamy, S.D. (2022), "High accuracy offering attention mechanisms based deep learning approach using CNN/bi-LSTM for sentiment analysis", International Journal of Intelligent Computing and Cybernetics, Vol. 15 No. 1, pp. 61-74. https://doi.org/10.1108/IJICC-06-2021-0109
Publisher
:Emerald Publishing Limited
Copyright © 2021, Emerald Publishing Limited