Bi-LSTM model to increase accuracy in text classification: Combining Word2vec CNN and attention mechanism

B Jang, M Kim, G Harerimana, S Kang, JW Kim - Applied Sciences, 2020 - mdpi.com
Applied Sciences, 2020mdpi.com
There is a need to extract meaningful information from big data, classify it into different
categories, and predict end-user behavior or emotions. Large amounts of data are
generated from various sources such as social media and websites. Text classification is a
representative research topic in the field of natural-language processing that categorizes
unstructured text data into meaningful categorical classes. The long short-term memory
(LSTM) model and the convolutional neural network for sentence classification produce …
There is a need to extract meaningful information from big data, classify it into different categories, and predict end-user behavior or emotions. Large amounts of data are generated from various sources such as social media and websites. Text classification is a representative research topic in the field of natural-language processing that categorizes unstructured text data into meaningful categorical classes. The long short-term memory (LSTM) model and the convolutional neural network for sentence classification produce accurate results and have been recently used in various natural-language processing (NLP) tasks. Convolutional neural network (CNN) models use convolutional layers and maximum pooling or max-overtime pooling layers to extract higher-level features, while LSTM models can capture long-term dependencies between word sequences hence are better used for text classification. However, even with the hybrid approach that leverages the powers of these two deep-learning models, the number of features to remember for classification remains huge, hence hindering the training process. In this study, we propose an attention-based Bi-LSTM+CNN hybrid model that capitalize on the advantages of LSTM and CNN with an additional attention mechanism. We trained the model using the Internet Movie Database (IMDB) movie review data to evaluate the performance of the proposed model, and the test results showed that the proposed hybrid attention Bi-LSTM+CNN model produces more accurate classification results, as well as higher recall and F1 scores, than individual multi-layer perceptron (MLP), CNN or LSTM models as well as the hybrid models.
MDPI