1.School of Computer Science and Technology,Wuhan University of Science and Technology,Wuhan 430065,Hubei,China
2.Hubei Province Key Laboratory of Intelligent Information Processing and Real-Time Industrial System,Wuhan 430065,Hubei,China
3.Big Data Science and Engineering Research Institute,Wuhan University of Science and Technology,Wuhan 430065,Hubei,China
4.The First Affiliated Hospital of Guizhou University of Traditional Chinese Medicine,Guiyang 550002,Guizhou,China
Show less
文章历史+
Received
Published
2021-12-29
2023-06-24
Issue Date
2026-07-23
PDF (2323K)
摘要
现有细粒度分析方法未能充分利用细粒度情绪信息来增强上下文与评价目标间的语义关联性,且对多词构成的评价目标仅平均化处理,损失了词间内容与关系信息,导致分类不精准。针对上述问题,本文提出了一种基于细粒度信息交互注意力(interactive attention with fine-grained information,FGIA)的情绪分类方法,通过采用更加细粒度的注意力机制来实现评价目标与上下文之间的充分交互,同时得到目标对上下文以及上下文对目标的交互注意力表示,进而辅助完成情绪分类。在本文构建的COVID-19网络舆情中文数据集上进行了实验验证,结果表明,FGIA能够有效地提升网络舆情数据情绪分类的准确性,相比于主流的分类方法,在各项评价指标上均取得了较高的提升。
Abstract
The fine-grained information in the text cannot be fully used by the existing fine-grained emotion analysis methods, leading to the weak relevance of the contextual semantic representation of the target. Moreover, the target is generally composed of multiple words, and average pooling will lose the content and relationship information inside, resulting in inaccurate classification. This paper proposes a novel classification method based on an interactive attention mechanism with fine-grained information(FGIA). Our FGIA method can ensure that the interaction between target and context can be effectively completed, and simultaneously calculate the attention vectors of context and target. Finally, emotion classification can be obtained with its guidance. Extensive experimental results on the Chinese Dataset of COVID-19 Online Public Opinion demonstrate that our FGIA can effectively complete emotion classification. Compared with several state-of-the-art methods, our FGIA can yield superior performance according to the evaluation metrics.
此外,从表4中可以发现基于BERT的方法在各项指标上均优于基于LSTM的方法。这是由于BERT不同于以往采用传统的单向语言或者浅层拼接两个单向语言模型,而是采用全新的掩码语言模型(masked language model,MLM)对双向Transformers进行预训练以生成深层的双向语言表征,更充分地利用上下文文本信息,因此效果更具优势。
CHENH, YANGY, DUS D. Research on aspect-level sentiment analysis of user reviews[J]. Journal of Frontiers of Computer Science and Technology, 2021, 15(3):478-485. DOI:10.3778/j.issn.1673-9418.2007011(Ch ).
[3]
NASUKAWAT, YIJ. Sentiment analysis: Capturing favorability using natural language processing[C]//Proceedings of the 2nd International Conference on Knowledge Capture. New York: ACM, 2003: 70-77. DOI: 10.1145/945645.945658 .
[4]
NGUYENT H, SHIRAIK. Aspect-based sentiment analysis using tree kernel based relation extraction[C]//Computational Linguistics and Intelligent Text Processing. Cham: Springer International Publishing, 2015: 114-125. DOI: 10.1007/978-3-319-18117-2_9 .
[5]
RAOD, RAVICHANDRAND. Semi-supervised polarity lexicon induction[C]//Proceedings of the 12th Conference of the European Chapter of the Association for Computational Linguistics. Stroudsburg: Association for Computational Linguistics, 2009: 675-682. DOI: 10.3115/1609067.1609142 .
[6]
ZHANGS X, WEIZ L, WANGY, et al. Sentiment analysis of Chinese micro-blog text based on extended sentiment dictionary[J]. Future Generation Computer Systems, 2018, 81(C): 395-403. DOI: 10.1016/j.future.2017.09.048 .
[7]
LIUM Z, ZHOUF Y, CHENK, et al. Co-attention networks based on aspect and context for aspect-level sentiment analysis[J]. Knowledge⁃Based Systems, 2021, 217: 106810. DOI: 10.1016/j.knosys.2021.106810 .
WANGY Q, HUANGM L, ZHUX Y, et al. Attention-based LSTM for aspect-level sentiment classification[C]//Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing. Stroudsburg: Association for Computational Linguistics, 2016: 606-615. DOI: 10.18653/v1/d16-1058 .
[10]
SONGY W, WANGJ H, JIANGT, et al. Targeted sentiment classification with attentional encoder network[C]//International Conference on Artificial Neural Networks. Cham: Springer International Publishing, 2019: 93-103. DOI: 10.1007/978-3-030-30490-4_9 .
[11]
JIANGQ N, CHENL, XUR F, et al. A challenge dataset and effective models for aspect-based sentiment analysis[C]// Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP). Stroudsburg: Association for Computational Linguistics, 2019: 6280-6285. DOI: 10.18653/v1/d19-1654 .
[12]
DEVLINJ, CHANGM W, LEEK, et al. BERT: Pre-training of deep bidirectional transformers for language understanding[C]// Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. Stroudsburg: Association for Computational Linguistics, 2019: 4171-4186. DOI: 10.18653/v1/N19-1423 .
[13]
WUZ H, YINGC C, ZHAOF, et al. Grid tagging scheme for end-to-end fine-grained opinion extraction[C]// Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: Findings. Stroudsburg: Association for Computational Linguistics, 2020: 2576-2585. DOI: 10.18653/v1/2020.findings-emnlp.234 .
[14]
VASWANIA, SHAZEERN, PARMARN, et al. Attention is all You need[C]//Proceedings of the 31st International Conference on Neural Information Processing Systems. New York: ACM, 2017: 6000-6010. DOI: 10.5555/3295222.3295349 .
ZHANGZ L, LIUM F, HUH J. Emotion prediction of English-Chinese bilingual texts based on joint features and Bi-LSTM model[J]. Journal of Wuhan University (Natural Science Edition), 2019, 65(3): 269-275. DOI: 10.14188/j.1671-8836.2019.03.006 (Ch ).
[17]
LIS H, ZHAOZ H, HUR F, et al. Analogical reasoning on Chinese morphological and semantic relations[C]// Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics. Stroudsburg: Association for Computational Linguistics, 2018: 138-143. DOI: 10.18653/v1/p18-2023 .