CWSXLNet: A Sentiment Analysis Model Based on Chinese Word Segmentation Information Enhancement
Source abstract
Abstract
This paper proposed a method for improving the XLNet model to address the shortcomings of segmentation algorithm for processing Chinese language, such as long sub-word lengths, long word lists and incomplete word list coverage. To address these issues, we proposed the CWSXLNet (Chinese Word Segmentation XLNet) model based on Chinese word segmentation information enhancement. The model first pre-processed Chinese pretrained text by Chinese word segmentation tool, and proposed a Chinese word segmentation attention mask mechanism by combining PLM (Permuted Language Model) and two-stream self-attention mechanism of XLNet. While performing natural language processing at word granularity, it can reduce the degree of masking between masked and non-masked words for two words belonging to the same word. For the Chinese sentiment analysis task, proposed the CWSXLNet-BiGRU-Attention model, which introduces bi-directional GRU as well as self-attention mechanism in the downstream task. Experiments show that CWSXLNet has achieved 89.91% precision, 91.53% recall rate and 90.71% F1-score, and CWSXLNet-BiGRU-Attention has achieved 92.61% precision, 93.19% recall rate and 92.90% F1-score on ChnSentiCorp dataset, which indicates that CWSXLNet has better performance than other models in Chinese sentiment analysis.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Sentiment Analysis and Opinion Mining · Topic Modeling · Natural Language Processing Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Computer, Electronics and Information, Guangxi University, Nanning 530004, China
Auditing Bureau of Xixiangtang, Nanning 530001, China
Funding
National Natural Science Foundation of China
References (35)
Show source-provided references
1. Design and Application of a Text Clustering Algorithm Based on Parallelized K-Means Clustering
2. Sentiment analysis of short informal texts10.1613/jair.4272 ↗
3. Current state of text sentiment analysis from opinion to emotion mining10.1145/3057270 ↗
4. An Evolving Hybrid Deep Learning Framework for Legal Document Classification10.18280/isi.240410 ↗
5. Lexicon-based sentiment analysis: Comparative evaluation of six sentiment lexicons10.1177/0165551517703514 ↗
6. Sebastiani, F., and Esuli, A. (2006, January 22–28). Sentiwordnet: A publicly available lexical resource for opinion mining. Proceedings of the 5th International Conference on Language Resources and Evaluation, Genoa, Italy.
7. SentiWordNet: A high-coverage lexical resource for opinion mining
8. Sentiwordnet 3.0: An enhanced lexical resource for sentiment analysis and opinion mining
9. Sentiment analysis for Chinese text based on emotion degree lexicon and cognitive theories10.1007/s12204-015-1579-x ↗
10. Wang, S.M., and Ku, L.W. (2016, January 23). ANTUSD: A large Chinese sentiment dictionary. Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC’16), Portorož, Slovenia.
11. Sentiment analysis for E-commerce product reviews in Chinese based on sentiment lexicon and deep learning10.1109/ACCESS.2020.2969854 ↗
12. LSTM: A search space odyssey10.1109/TNNLS.2016.2582924 ↗
13. Xiao, Z., and Liang, P. (2016, January 29–31). Chinese sentiment analysis using bidirectional LSTM with word embedding. Proceedings of the Cloud Computing and Security: Second International Conference, Nanjing, China.10.1007/978-3-319-48674-1_53 ↗
14. Scalable multi-channel dilated CNN–BiLSTM model with attention mechanism for Chinese textual sentiment analysis10.1016/j.future.2021.01.024 ↗
15. Miao, Y., Ji, Y., and Peng, E. (2019, January 20–22). Application of CNN-BiGRU Model in Chinese short text sentiment analysis. Proceedings of the 2019 2nd International Conference on Algorithms, Computing and Artificial Intelligence, Sanya, China.10.1145/3377713.3377804 ↗
16. Zhang, B., and Zhou, W. (2022). Transformer-Encoder-GRU (TE-GRU) for Chinese Sentiment Analysis on Chinese Comment Text. Neural Process. Lett., 1–21.10.1007/s11063-022-10966-8 ↗
17. Aspect-based sentiment analysis via affective knowledge enhanced graph convolutional networks10.1016/j.knosys.2021.107643 ↗
18. Cambria, E., Liu, Q., Decherchi, S., Xing, F., and Kwok, K. (2022, January 21–23). SenticNet 7: A commonsense-based neurosymbolic AI framework for explainable sentiment analysis. Proceedings of the Thirteenth Language Resources and Evaluation Conference, Marseille, France.
19. An intelligent cognitive-inspired computing with big data analytics framework for sentiment analysis and classification10.1016/j.ipm.2021.102758 ↗
20. Deep learning-based methods for sentiment analysis on Nepali COVID-19-related tweets10.1155/2021/2158184 ↗
21. Feature selection via maximizing global information gain for text classification10.1016/j.knosys.2013.09.019 ↗
22. Devlin, J., Chang, M.-W., Lee, K., and Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv.
23. Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lweis, M., Zettlemoyer, L., and Stoyanov, V. (2019). Roberta: A robustly optimized bert pretraining approach. arXiv.
24. Lan, Z., Chen, M., Goodman, S., Gimpel, K., Sharma, P., and Soricut, R. (2019). ALBERT: A Lite BERT for Self-supervised Learning of Language Representations. arXiv.
25. Clark, K., Luong, M.T., Le, Q.V., and Manning, C.D. (2020). Electra: Pre-training text encoders as discriminators rather than generators. arXiv.
26. Sentiment analysis of Chinese stock reviews based on BERT model10.1007/s10489-020-02101-8 ↗
27. Xlnet: Generalized autoregressive pretraining for language understanding
28. Salma, T.D., Saptawati, G.A.P., and Rusmawati, Y. (2021, January 29–30). Text Classification Using XLNet with Infomap Automatic Labeling Process. Proceedings of the 2021 8th International Conference on Advanced Informatics: Concepts, Theory and Applications (ICAICTA), Bandung, Indonesia,.10.1109/ICAICTA53211.2021.9640255 ↗
29. Named entity recognition by using XLNet-BiLSTM-CRF10.1007/s11063-021-10547-1 ↗
30. Gong, X.R., Jin, J.X., and Zhang, T. (2019, January 18–21). Sentiment analysis using autoregressive language modeling and broad learning system. Proceedings of the 2019 IEEE International Conference on Bioinformatics and Biomedicine (BIBM), San Diego, CA, USA.10.1109/BIBM47256.2019.8983025 ↗
31. AraXLNet: Pre-trained language model for sentiment analysis of Arabic10.1186/s40537-022-00625-z ↗
32. Cui, Y., Che, W., Liu, T., Qin, B., Wang, S., and Hu, G. (2020). Revisiting pre-trained models for Chinese natural language processing. arXiv.10.18653/v1/2020.findings-emnlp.58 ↗
33. Kudo, T., and Richardson, J. (2018). Sentencepiece: A simple and language independent subword tokenizer and detokenizer for neural text processing. arXiv.10.18653/v1/D18-2012 ↗
34. Sennrich, R., Haddow, B., and Birch, A. (2015). Neural machine translation of rare words with subword units. arXiv.10.18653/v1/P16-1162 ↗
35. Che, W., Feng, Y., Qin, L., and Liu, T. (2020). N-LTP: An open-source neural language technology platform for Chinese. arXiv.10.18653/v1/2021.emnlp-demo.6 ↗