journal article·2024-11-12Open access

Fusion Text Representations to Enhance Contextual Meaning in Sentiment Classification

Komang Wahyu Trisna, Jinjie Huang, Hengyu Liang, Eddy Muntina Dharma

Applied Sciences· Volume 14· Issue 22

Abstract

Sentiment classification plays a crucial role in evaluating user feedback. Today, online media users can freely provide their reviews with few restrictions. User reviews on social media are often disorganized and challenging to classify as positive or negative comments. This task becomes even more difficult when dealing with large amounts of data, making sentiment classification necessary. Automating sentiment classification involves text classification processes, commonly performed using deep learning methods. The classification process using deep learning models is closely tied to text representation. This step is critical as it affects the quality of the data being processed by the deep learning model. Traditional text representation methods often overlook the contextual meaning of sentences, leading to potential misclassification by the model. In this study, we propose a novel fusion text representation model, GloWord_biGRU, designed to enhance the contextual understanding of sentences for sentiment classification. Firstly, we combine the advantages of GloVe and Word2Vec to obtain richer and more meaningful word representations. GloVe provides word representations based on global frequency statistics within a large corpus, while Word2Vec generates word vectors that capture local contextual relationships. By integrating these two approaches, we enhance the quality of word representations used in our model. During the classification stage, we employ biGRU, considering the use of fewer parameters, which consequently reduces computational requirements. We evaluate the proposed model using the IMDB dataset. Several scenarios demonstrate that our proposed model achieves superior performance, with an F1 score of 90.21%.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Sentiment Analysis and Opinion Mining · Advanced Text Analysis Techniques · Text and Document Classification Technologies

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Computer Science and Technology, Harbin University of Science and Technology, Harbin 150080, China

Department of Informatic Engineering, Faculty of Information Technology and Desain, Primakara University, Denpasar 80226, Bali, Indonesia

Key Laboratory of Advanced Manufacturing and Intelligence Technology, Harbin University of Science and Technology, Harbin 150080, China

References (41)

Show source-provided references
1. A Systematic Literature Review on Machine Learning Applications for Consumer Sentiment Analysis Using Online Reviews10.1016/j.cosrev.2021.100413 ↗
2. E-Commerce Product Review Sentiment Classification Based on a Naïve Bayes Continuous Learning Framework10.1016/j.ipm.2020.102221 ↗
3. Using VADER Sentiment and SVM for Predicting Customer Response Sentiment10.1016/j.eswa.2020.113746 ↗
4. AlBadani, B., Shi, R., and Dong, J. (2022). A Novel Machine Learning Approach for Sentiment Analysis on Twitter Incorporating the Universal Language Model Fine-Tuning and SVM. Appl. Syst. Innov., 5.10.3390/asi5010013 ↗
5. A Gradient Boosted Decision Tree-Based Sentiment Classification of Twitter Data10.1142/S0219691320500277 ↗
6. A Filter Based Improved Decision Tree Sentiment Classification Model for Real-Time Amazon Product Review Data
7. A Survey on Deep Learning and Its Applications10.1016/j.cosrev.2021.100379 ↗
8. Evaluation of Sentiment Analysis via Word Embedding and RNN Variants for Amazon Online Reviews10.1155/2021/5536560 ↗
9. Attention-Based Long Short-Term Memory Network Using Sentiment Lexicon Embedding for Aspect-Level Sentiment Analysis in Korean10.1016/j.ipm.2018.12.005 ↗
10. Bidirectional Convolutional Recurrent Neural Network Architecture with Group-Wise Enhancement Mechanism for Text Sentiment Classification
11. Sentiment Analysis on Product Reviews Based on Weighted Word Embeddings and Deep Neural Networks10.1002/cpe.5909 ↗
12. Sentiment Analysis Using Word2vec and Long Short-Term Memory (LSTM) For Indonesian Hotel Reviews10.1016/j.procs.2021.01.061 ↗
13. Kamyab, M., Liu, G., and Adjeisah, M. (2021). Attention-Based CNN and Bi-LSTM Model Based on TF-IDF and GloVe Word Embedding for Sentiment Analysis. Appl. Sci., 11.10.3390/app112311255 ↗
14. Sentiment Analysis and Opinion Mining on Educational Data: A Survey10.1016/j.nlp.2022.100003 ↗
15. A Deep Learning-Based Model Using Hybrid Feature Extraction Approach for Consumer Sentiment Analysis10.1186/s40537-022-00680-6 ↗
16. The Emergence of Social Media Data and Sentiment Analysis in Election Prediction10.1007/s12652-020-02423-y ↗
17. Evaluation of Sentiment Analysis in Finance: From Lexicons to Transformers10.1109/ACCESS.2020.3009626 ↗
18. Semary, N.A., Ahmed, W., Amin, K., Pławiak, P., and Hammad, M. (2023). Improving Sentiment Classification Using a RoBERTa-Based Hybrid Model. Front. Hum. Neurosci., 17.10.3389/fnhum.2023.1292010 ↗
19. Kim, Y. (2014, January 25–29). Convolutional Neural Networks for Sentence Classification 2014. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1181 ↗
20. Wang, X., Jiang, W., and Luo, Z. (2016, January 11–17). Combination of Convolutional and Recurrent Neural Network for Sentiment Analysis of Short Texts. Proceedings of the COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers, Osaka, Japan.
21. Sentiment Analysis for E-Commerce Product Reviews in Chinese Based on Sentiment Lexicon and Deep Learning10.1109/ACCESS.2020.2969854 ↗
22. A Hybrid CNN-LSTM Model for Improving Accuracy of Movie Reviews Sentiment Analysis10.1007/s11042-019-07788-7 ↗
23. Sentiment Analysis from Textual Data Using Multiple Channels Deep Learning Models10.1186/s43067-023-00125-x ↗
24. A Novel Hybrid Deep Learning Model for Sentiment Classification10.1109/ACCESS.2020.2982538 ↗
25. MuCon: Multi-Channel Convolution for Targeted Sentiment Classification10.1007/s11042-023-16586-1 ↗
26. Scalable Multi-Channel Dilated CNN–BiLSTM Model with Attention Mechanism for Chinese Textual Sentiment Analysis10.1016/j.future.2021.01.024 ↗
27. Text Sentiment Orientation Analysis Based on Multi-Channel CNN and Bidirectional GRU With Attention Mechanism10.1109/ACCESS.2020.3005823 ↗
28. Sentiment Classification Using a Single-Layered BiLSTM Model10.1109/ACCESS.2020.2988550 ↗
29. Liu, Z., Huang, H., Lu, C., and Lyu, S. (2020). Multichannel CNN with Attention for Text Classification 2020. arXiv.
30. Mikolov, T., Sutskever, I., Chen, K., Corrado, G., and Dean, J. (2024, August 30). Distributed Representations of Words and Phrases and Their Compositionality. Available online: https://proceedings.neurips.cc/paper_files/paper/2013/file/9aa42b31882ec039965f3c4923ce901b-Paper.pdf.
31. Pennington, J., Socher, R., and Manning, C. (2014, January 25–29). Glove: Global Vectors for Word Representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1162 ↗
32. Jacovi, A., Sar Shalom, O., and Goldberg, Y. (2018, January 1). Understanding Convolutional Neural Networks for Text Classification. Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, Brussels, Belgium.10.18653/v1/W18-5408 ↗
33. Lin, D., Matsumoto, Y., and Mihalcea, R. (2011, January 19–24). Learning Word Vectors for Sentiment Analysis. Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, Portland, OR, USA.
34. Deep Learning Approach for Aspect-Based Sentiment Classification: A Comparative Review10.1080/08839514.2021.2014186 ↗
35. Connor, R., Dearle, A., Claydon, B., and Vadicamo, L. (2024). Correlations of Cross-Entropy Loss in Machine Learning. Entropy, 26.10.3390/e26060491 ↗
36. Co-LSTM: Convolutional LSTM Model for Sentiment Analysis in Social Big Data10.1016/j.ipm.2020.102435 ↗
37. SentiMI: Introducing Point-Wise Mutual Information with SentiWordNet to Improve Sentiment Polarity Detection10.1016/j.asoc.2015.11.016 ↗
38. Sentiment Analysis from Movie Reviews Using LSTMs10.18280/isi.240119 ↗
39. Feature-Based Fusion Adversarial Recurrent Neural Networks for Text Sentiment Classification10.1109/ACCESS.2019.2940506 ↗
40. Lexicon-Enhanced LSTM With Attention for General Sentiment Analysis10.1109/ACCESS.2018.2878425 ↗
41. From Context-Independent Embedding to Transformer: Exploring Sentiment Classification in Online Reviews with Deep Learning Approaches