Sentiment Analysis of Review Text Based on BiGRU-Attention and Hybrid CNN
Authors:
Open Access
- 6 October 2021
- journal article
- review article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 9, 149077-149088
Abstract
Convolutional neural networks (CNN), recurrent neural networks (RNN), attention, and their variants are extensively applied in the sentiment analysis, and the effect of fusion model is expected to be better. However, fusion model is confronted with some problems such as complicated structure, excessive trainable parameters, and long training time. The classification effect of traditional model with cross entropy loss as loss function is undesirable since sample category imbalance as well as ease and difficulty of sample classification is not taken into account. In order to solve these problems, the model BiGRU-Att-HCNN is proposed on the basis of bidirectional gated recurrent unit (BiGRU), attention, and hybrid convolutional neural networks. In this model, BiGRU and self-attention are combined to acquire global information, and key information weight is supplemented. Two parallel convolutions (dilated convolution and standard convolution) are used to obtain multi-scale characteristic information with relatively less parameters, and the standard convolution is replaced with depthwise separable convolution with two-step calculations. Traditional max-pooling and average-pooling are discarded, and global average pooling is applied to substitute the pooling layer and the fully-connected layer simultaneously, making it possible to substantially decrease the number of model parameters and reduce over-fitting. In our model, focal loss is used as the loss function to tackle the problems of unbalanced sample categories and hard samples. Experimental results illustrate that in terms of multiple indicators, our model outperforms the 15 benchmark models, even with intermediate number of trainable parameters.Keywords
Funding Information
- National Natural Science Foundation of China (61772223)
- industry-University Cooperation Project of the Ministry of Education (403296710)
This publication has 31 references indexed in Scilit:
- Deep Pyramid Convolutional Neural Networks for Text Categorization2017
- Hierarchical Attention Networks for Document Classification2016
- Document Modeling with Gated Recurrent Neural Network for Sentiment Classification2015
- Jointly modeling aspects, ratings and sentiments for movie recommendation (JMARS)2014
- A survey on server-side approaches to securing web applicationsACM Computing Surveys, 2014
- Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation2014
- Glove: Global Vectors for Word Representation2014
- Convolutional Neural Networks for Sentence Classification2014
- Opinion Mining and Sentiment AnalysisFoundations and Trends® in Information Retrieval, 2008
- An empirical study of sentiment analysis for chinese documentsExpert Systems with Applications, 2008