计算机科学 ›› 2024, Vol. 51 ›› Issue (6): 309-316.doi: 10.11896/jsjkx.230400001
张昊妍1, 段利国1,2, 王钦晨1, 郜浩1
ZHANG Haoyan1, DUAN Liguo1,2, WANG Qinchen1, GAO Hao1
摘要: 多实体情感分析旨在识别文中的核心实体并判断其对应的情感,是目前细粒度情感分析领域的研究热点,对长文本多实体情感分析的研究目前还处于起步阶段。文中提出了一种基于多任务联合训练的长文本多实体情感分析模型(PAM),首先采用TF-IDF算法提取文章中与标题相似的句子,剔除冗余信息以缩短文本长度,通过两个BiLSTM分别进行核心实体识别和情感分析任务的学习,获取各自需要的特征,然后利用融入相对位置信息的多头注意力机制将实体识别任务学习到的知识向情感分析任务传递,实现两个任务的联合学习,最后利用提出的Entity_Extract算法根据实体词在文本中出现的次数和先后位置从模型预测的候选实体中确定核心实体并获取其对应的情感。在搜狐新闻数据集上的实验结果证明了PAM模型的有效性。
中图分类号:
[1]WANG H Y,TAO W,YU L Y,et al.Review of fine-grainedsentiment analysis[J].Journal of Henan Institute of Science and Technology(Natural Science Edition),2021,49(4):67-76. [2]PHAN M H,OGUNBONA P.Modelling Context and Syntactical Features for Aspect-based Sentiment Analysis[C]//Annual Meeting of the Association for Computational Linguistics.2020:3211-3220. [3]PUNITHA A,PRABU R,DEVANATHAN P,et al.Aspect-Based Sentiment Analysis[J/OL].https://www.ijfmr.com/research-paper.php?id=3237. [4]WANG F,LAN M,WANG W.Towards a One-stop Solution to Both Aspect Extraction and Sentiment Analysis Tasks with Neural Multi-task Learning[C]//International Joint Conference on Neural Network.2018:1-8. [5]LECUN Y,BOTTOU L,BENGIO Y,et al.Gradient-BasedLearning Applied to Document Recognition[J].Proceedings of the IEEE,1998,86(11):2278-2324. [6]HOCHREITER S,SCHMIDHUBER J.Long Short-Term Me-mory[J].Neural Computation,1997,9(8):1735-1780. [7]GAN C,WANG L,ZHANG Z.Multi-entity sentiment analysis using self-attention based hierarchical dilated convolutional neural network[J].Future Generation Computer Systems,2020,112:116-125. [8]LI X,BING L,LI P,et al.A Unified Model for Opinion Target Extraction and Target Sentiment Prediction[C]//AAAI Confe-rence on Artificial Intelligence.2019:6714-6721. [9]CHEN M S,HUA Q R,MAO Y J,et al.An Interactive Lear-ning Network That Maintains Sentiment Consistency in End-to-End Aspect-Based Sentiment Analysis[J].Applied Sciences-Basel,2023,13(16):9327. [10]LUO H,JI L,LI T,et al.GRACE - Gradient Harmonized and Cascaded Labeling for Aspect-based Sentiment Analysis[C]//Conference on Empirical Methods in Natural Language Proces-sing.2020:54-64. [11]LI B,LIU Y,WANG X.Gradient Harmonized Single-stage Detector[C]//AAAI Conference on Artificial Intelligence.2019:8577-8584. [12]HUANG J,CUI Y P,WANG S.Adaptive Local Context andSyntactic Feature Modeling for Aspect-Based Sentiment Analysis[J].Applied Sciences-Basel,2023,13(1):603-603. [13]HU M,PENG Y,HUANG Z,et al.Open-Domain Targeted Sentiment Analysis via Span-Based Extraction and Classification[C]//Annual Meeting of the Association for Computational Linguistics.2019:537-546. [14]LIN P,YANG M.A Shared-Private Representation Model with Coarse-to-Fine Extraction for Target Sentiment Analysis[C]//Empirical Methods in Natural Language Processing.2020:4280-4289. [15]LIANG Y,MENG F,ZHANG J,et al.A dependency syntactic knowledge augmented interactive architecture for end-to-end aspect-based sentiment analysis[J].Neurocomputing,2021,454:291-302. [16]LUO H,LI T,LIU B,et al.DOER:Dual Cross-Shared RNN For Aspect Term-Polarity Co-Extraction[C]//Annual Meeting of the Association for Computational Linguistics.2019:591-601. [17]LV Y,WEI F,ZHENG Y,et al.A span-based model for aspect terms extraction and aspect sentiment classification[J].Neural Computing and Applications,2021,33(8):3769-3779. [18]CHEN W,DU J,ZHANG Z,et al.A Hierarchical Interactive Network for Joint Span-based Aspect-Sentiment Analysis[C]//International Conference on Computational Linguistics.2022:7013-7019. [19]MISRA I,SHRIVASTAVA A,GUPTA A,et al.Cross-stitch Networks for Multi-task Learning[C]//Computer Vision and Pattern Recognition.2016:3994-400. [20]CHEN Z,QIAN T.Relation-Aware Collaborative Learning for Unified Aspect-Based Sentiment Analysis[C]//Annual Meeting of the Association for Computational Linguistics.2020:3685-3694. [21]LIANG Y,MENG F,ZHANG J,et al.An Iterative Multi-Knowledge Transfer Network for Aspect-Based Sentiment Analysis[C]//Empirical Methods in Natural Language Proces-sing.2021:1768-1780. [22]DEVLIN J,CHANG M,LEE K,et al.BERT:Pre-training ofDeep Bidirectional Transformers for Language Understanding[C]//North American Chapter of the Association for Computational Linguistics.2019. [23]ZHANG C,REN L,MA F,et al.Structural Bias for Aspect Sentiment Triplet Extraction[C]//International Conference on Computational Linguistics.2022:6736-6745. [24]ZHANG J,DUAN L G,LI A P,et al.Fine-grained SentimentAnalysis Based on Combination of Attention and Gated Mechanism[J].Computer Science,2021,48(8):226-233. [25]LI X,BING L,ZHANG W,et al.Exploiting BERT for End-to-End Aspect-based Sentiment Analysis[J].arXiv:1910.00883,2019. |
|