Performance analysis of sentiment classification based on deep learning methods
Abstract
When it comes to natural language processing, the textual differentiation task is one of the classical and important research problems. Recently, the deep learning model has increasingly become one of the main methods to solve text classification problems. Common deep learning text classification models are convolutional neural networks (CNN), recurrent neural networks (RNN), the BERT model. For comparing the manifestation of various deep learning models in textual differentiation tasks horizontally, the thesis tests the classification accuracy of different deep learning models under the same experimental configuration. The experimental results show that using pre-trained word vectors helps to improve the classification accuracy of deep learning models. In addition, the reasonable design of more complex and larger deep learning models is helpful in enhancing the study capability of the specific model on text data. The experimental results indicate that the text classification model using pre-trained word vectors could gain higher accuracy than the model without pre-trained word vectors. In addition, in the comparison experiment of feedforward neural network (FNN), CNN, RNN and BERT model, BERT model performs best, and the text classification accuracy reaches 0.9232. Compared with a 1-layer FNN, the accuracy rate is increased by about 16%.
References
- Muhammad A . A Methodology for Comparison of User Reviews with Rating of Android Apps using Sentiment Analysis[D]. SWUST (Southwest University of Science and Technology).
- Kim Y . Convolutional Neural Networks for Sentence Classification[J]. Eprint Arxiv, 2014.
- Yin W , H Schütze. Multichannel Variable-Size Convolution for Sentence Classification[C]// Proceedings of the Nineteenth Conference on Computational Natural Language Learning. 2015.
- Peng Z , Wei S , Tian J , et al. Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification[C]// Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers). 2016.
- Li W , Qi F , Tang M , et al. Bidirectional LSTM with self-attention mechanism and multi-channel features for sentiment classification[J]. Neurocomputing, 2020, 387:63-77.
- Zaremba W , Sutskever I , Vinyals O . Recurrent Neural Network Regularization[J]. Eprint Arxiv, 2014.
- Ruch P , Baud R , Geissbuehler A . Evaluating and reducing the effect of data corruption when applying bag of words approaches to medical records[J]. International Journal of Medical Informatics, 2002, 67(1/3):75-83.
- olliffe I T . Principal Component Analysis[J]. Journal of Marketing Research, 2002, 87(4):513.
- Sugiyama M . Dimensionality Reduction of Multimodal Labeled Data by Local Fisher Discriminant Analysis[J]. J.mach.learn.res, 2007, 8(1):1027-1061.
- Pauca V P , Shahnaz F , Berry M W , et al. Text Mining Using Non-Negative Matrix Factorizations[C]// Siam International Conference on Data Mining. DBLP, 2004.
- Zia T , Zahid U . Long short-term memory recurrent neural network architectures for Urdu acoustic modeling[J]. International Journal of Speech Technology, 2019, 22(1):21-30.
- Devlin J , Chang M W , Lee K , et al. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding[J]. 2018.
- Vaswani A , Shazeer N , Parmar N , et al. Attention Is All You Need[C]// arXiv. arXiv, 2017.
- Mikolov T , Chen K , Corrado G , et al. Efficient Estimation of Word Representations in Vector Space[J]. Computer Science, 2013.