A New Sentiment-Enhanced Word Embedding Method for Sentiment Analysis
Source abstract
Abstract
Since some sentiment words have similar syntactic and semantic features in the corpus, existing pre-trained word embeddings always perform poorly in sentiment analysis tasks. This paper proposes a new sentiment-enhanced word embedding (S-EWE) method to improve the effectiveness of sentence-level sentiment classification. This sentiment enhancement method takes full advantage of the mapping relationship between word embeddings and their corresponding sentiment orientations. This method first converts words to word embeddings and assigns sentiment mapping vectors to all word embeddings. Then, word embeddings and their corresponding sentiment mapping vectors are fused to S-EWEs. After reducing the dimensions of S-EWEs through a fully connected layer, the predicted sentiment orientations are obtained. The S-EWE method adopts the cross-entropy function to calculate the loss between predicted and true sentiment orientations, and backpropagates the loss to train the sentiment mapping vectors. Experiments show that the accuracy and macro-F1 values of six sentiment classification models using Word2Vec and GloVe with the S-EWEs are on average 1.07% and 1.58% higher than those without the S-EWEs on the SemEval-2013 dataset, and on average 1.23% and 1.26% higher than those without the S-EWEs on the SST-2 dataset. In all baseline models with S-EWEs, the convergence time of the attention-based bidirectional CNN-RNN deep model (ABCDM) with S-EWEs was significantly decreased by 51.21% of ABCDM on the SemEval-2013 dataset. The convergence time of CNN-LSTM with S-EWEs was vastly reduced by 41.34% of CNN-LSTM on the SST-2 dataset. In addition, the S-EWE method is not valid for contextualized word embedding models. The main reasons are that the S-EWE method only enhances the embedding layer of the models and has no effect on the models themselves.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Sentiment Analysis and Opinion Mining · Topic Modeling · Text and Document Classification Technologies
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Computer and Software Engineering, Xihua University, Chengdu 610039, China
Funding
Sichuan Science and Technology Program · National Natural Science Foundation of China · Innovation Fund of Postgraduate, Xihua University
References (52)
Show source-provided references
1. Mikolov, T., Chen, K., Corrado, G., and Dean, J. (2013, January 2–4). Efficient estimation of word representations in vector space. Proceedings of the 1st International Conference on Learning Representations, ICLR 2013, Scottsdale, AZ, USA.
2. Pennington, J., Socher, R., and Manning, C.D. (2014, January 25–29). Glove: Global vectors for word representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, EMNLP 2014, Doha, Qatar.10.3115/v1/D14-1162 ↗
3. Devlin, J., Chang, M., Lee, K., and Toutanova, K. (2019, January 2–7). BERT: Pre-training of deep bidirectional transformers for language understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MI, USA.
4. Chen, Q., Li, C., and Li, W. (2017, January 6–10). Modeling language discrepancy for cross-lingual sentiment analysis. Proceedings of the 2017 ACM on Conference on Information and Knowledge Management, CIKM 2017, Singapore.10.1145/3132847.3132915 ↗
5. An intelligent cognitive-inspired computing with big data analytics framework for sentiment analysis and classification10.1016/j.ipm.2021.102758 ↗
6. Contextual sentiment embeddings via bi-directional GRU language model10.1016/j.knosys.2021.107663 ↗
7. Wu, J., Ye, C., and Zhou, H. (2021, January 14–16). BERT for sentiment classification in software engineering. Proceedings of the International Conference on Service Science, ICSS 2021, Xi’an, China.10.1109/ICSS53362.2021.00026 ↗
8. Knowledge-enabled BERT for aspect-based sentiment analysis10.1016/j.knosys.2021.107220 ↗
9. Reducing confusion in active learning for part-of-speech tagging10.1162/tacl_a_00350 ↗
10. Noun-based attention mechanism for fine-grained named entity recognition10.1016/j.eswa.2021.116406 ↗
11. An influence maximization method based on crowd emotion under an emotion-based attribute social network10.1016/j.ipm.2021.102818 ↗
12. Wang, Y., Du, Y., and Xie, C. (2020, January 12–15). Emotion role identification in social network. Proceedings of the Knowledge Graph and Semantic Computing: Knowledge Graph and Cognitive Intelligence—5th China Conference, CCKS 2020, Nanchang, China.
13. Deep Learning-Based Methods for Sentiment Analysis on Nepali COVID-19-Related Tweets10.1155/2021/2158184 ↗
14. Sentiment aware word embeddings using refinement and senti-contextualized learning approach10.1016/j.neucom.2020.03.094 ↗
15. Refining word embeddings using intensity scores for sentiment analysis10.1109/TASLP.2017.2788182 ↗
16. An argument for basic emotions10.1080/02699939208411068 ↗
17. Constructing the affective lexicon ontology
18. Demszky, D., Movshovitz-Attias, D., Ko, J., Cowen, A.S., Nemade, G., and Ravi, S. (2020, January 5–10). Goemotions: A dataset of fine-grained emotions. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online.10.18653/v1/2020.acl-main.372 ↗
19. Bordes, A., Usunier, N., García-Durán, A., Weston, J., and Yakhnenko, O. (2013, January 5–10). Translating embeddings for modeling multi-relational data. Proceedings of the Advances in Neural Information Processing Systems 26: 27th Annual Conference on Neural Information Processing Systems 2013, NIPS 2013, Lake Tahoe, NV, USA.
20. Grill, J.-B., Strub, F., Altché, F., Tallec, C., Richemond, P.H., Buchatskaya, E., Doersch, C., Pires, B.A., Guo, Z.D., and Azar, M.G. (2020, January 6–10). Bootstrap your own latent-a new approach to self-supervised learning. Proceedings of the Advances in Neural Information Processing Systems 2020, NIPS 2020, Virtual.
21. Li, Z., Zou, Y., Zhang, C., and Wei, Z. (2021, January 7–11). Learning implicit sentiment in aspect-based sentiment analysis with supervised contrastive pre-training. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, EMNLP 2021, Virtual Event.10.18653/v1/2021.emnlp-main.22 ↗
22. Kim, Y. (2014, January 26–28). Convolutional neural networks for sentence classification. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, EMNLP 2014, Doha, Qatar.10.3115/v1/D14-1181 ↗
23. Liu, P., Qiu, X., and Huang, X. (2016, January 9–15). Recurrent neural network for text classification with multi-task learning. Proceedings of the 25th International Joint Conference on Artificial Intelligence, IJCAI 2016, New York, NY, USA.
24. Lai, S., Xu, L., Liu, K., and Zhao, J. (2015, January 25–30). Recurrent convolutional neural networks for text classification. Proceedings of the 29th AAAI Conference on Artificial Intelligence, AAAI 2015, Austin, TX, USA.10.1609/aaai.v29i1.9513 ↗
25. ABCDM: An attention-based bidirectional CNN-RNN deep model for sentiment analysis10.1016/j.future.2020.08.005 ↗
26. An efficient CNN-LSTM model for sentiment detection in #BlackLivesMatter10.1016/j.eswa.2021.116256 ↗
27. Nakov, P., Rosenthal, S., Kozareva, Z., Stoyanov, V., Ritter, A., and Wilson, T. (2013, January 14–15). Semeval-2013 task 2: Sentiment analysis in twitter. Proceedings of the 7th International Workshop on Semantic Evaluation, SemEval@NAACL-HLT 2013, Atlanta, GA, USA.
28. Socher, R., Perelygin, A., Wu, J., Chuang, J., Manning, C.D., Ng, A.Y., and Potts, C. (2013, January 18–21). Recursive deep models for semantic compositionality over a sentiment treebank. Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, EMNLP 2013, Seattle, WA, USA.
29. Peters, M.E., Ammar, W., Bhagavatula, C., and Power, R. (August, January 30). Semi-supervised sequence tagging with bidirectional language models. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, ACL 2017, Vancouver, BC, Canada.10.18653/v1/P17-1161 ↗
30. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2017, January 4–9). Attention is all you need. Proceedings of the Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems, NIPS 2017, Long Beach, CA, USA.
31. Liu, C., Hsu, T., Chuang, Y., Li, C., and Lee, H. (2021). Language representation in multilingual BERT and its applications to improve cross-lingual generalization. arXiv.
32. Singh, L.G., Mitra, A., and Singh, S.R. (2020, January 16–18). Sentiment analysis of tweets using heterogeneous multi-layer network representation and embedding. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Honolulu, HI, USA.
33. Moghadasi, M.N., and Zhuang, Y. (2020, January 10–13). Sent2vec: A new sentence embedding representation with sentimental semantic. Proceedings of the IEEE International Conference on Big Data, Xi’an, China.10.1109/BigData50022.2020.9378337 ↗
34. Arora, S., Liang, Y., and Ma, T. (2017, January 24–26). A simple but tough-to-beat baseline for sentence embeddings. Proceedings of the 5th International Conference on Learning Representations, ICLR 2017, Toulon, France.
35. A latent variable model approach to PMI-based word embeddings10.1162/tacl_a_00106 ↗
36. Two-stage three-way enhanced technique for ensemble learning in inclusive policy text classification10.1016/j.ins.2020.08.051 ↗
37. Deep multi-view document clustering with enhanced semantic embedding10.1016/j.ins.2021.02.027 ↗
38. Zhang, Z., Han, X., Liu, Z., Jiang, X., Sun, M., and Liu, Q. (August, January 28). ERNIE: Enhanced language representation with informative entities. Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy.10.18653/v1/P19-1139 ↗
39. KEPLER: A unified model for knowledge embedding and pre-trained language representation10.1162/tacl_a_00360 ↗
40. Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., and Stoyanov, V. (2019). Roberta: A robustly optimized BERT pretraining approach. arXiv.
41. Saxena, A., Chakrabarti, S., and Talukdar, P.P. (2021, January 1–6). Question answering over temporal knowledge graphs. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, ACL/IJCNLP 2021, Virtual Event.10.18653/v1/2021.acl-long.520 ↗
42. Mihaylov, T., and Frank, A. (2018, January 15–20). Knowledgeable reader: Enhancing cloze-style reading comprehension with external commonsense knowledge. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, ACL 2018, Melbourne, Australia.10.18653/v1/P18-1076 ↗
43. Zhong, W., Tang, D., Duan, N., Zhou, M., Wang, J., and Yin, J. (2019, January 9–14). Improving question answering by commonsense-based pre-trainin. Proceedings of the 8th CCF International Conference Natural Language Processing and Chinese Computing NLPCC 2019, Dunhuang, China.10.1007/978-3-030-32233-5_2 ↗
44. SENGR: Sentiment-Enhanced neural graph recommender10.1016/j.ins.2021.12.120 ↗
45. Hamilton, W.L., Ying, Z., and Leskovec, J. (2017, January 4–9). Inductive representation learning on large graphs. Proceedings of the Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems, NIPS 2017, Long Beach, CA, USA.
46. Evaluation of online emoji description resources for sentiment analysis purposes10.1016/j.eswa.2021.115279 ↗
47. Creating emoji lexica from unsupervised sentiment analysis of their descriptions10.1016/j.eswa.2018.02.043 ↗
48. Unsupervised method for sentiment analysis in online texts10.1016/j.eswa.2016.03.031 ↗
49. Bilstm with multi-polarity orthogonal attention for implicit sentiment analysis10.1016/j.neucom.2019.11.054 ↗
50. Norms of valence, arousal, and dominance for 13,915 English lemmas10.3758/s13428-012-0314-x ↗
51. Wilson, T., Wiebe, J., and Hoffmann, P. (2005, January 6–8). Recognizing contextual polarity in phrase-level sentiment analysis. Proceedings of the Human Language Technology Conference and Conference on Empirical Methods in Natural Language Processing, HLT/EMNLP 2005, Vancouver, BC, Canada.10.3115/1220575.1220619 ↗
52. Kingma, D.P., and Ba, J. (2015, January 7–9). Adam: A method for stochastic optimization. Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA.