计算机科学 ›› 2026, Vol. 53 ›› Issue (4): 406-414.doi: 10.11896/jsjkx.250600117

• 人工智能 • 上一篇    下一篇

知识辅助和强化句法驱动的方面级情感分析

郑诚, 班晴晴   

  1. 安徽大学计算机科学与技术学院 合肥 230601
    计算智能与信号处理教育部重点实验室 合肥 230601
  • 收稿日期:2025-06-18 修回日期:2025-09-19 出版日期:2026-04-15 发布日期:2026-04-08
  • 通讯作者: 郑诚(csahu@126.com)
  • 基金资助:
    安徽省重点研究与开发计划(202004d07020009)

Knowledge-assisted and Reinforced Syntax-driven for Aspect-based Sentiment Analysis

ZHENG Cheng, BAN Qingqing   

  1. School of Computer Science and Technology, Anhui University, Hefei 230601, China
    Key Laboratory of Intelligent Computing and Signal Processing, Ministry of Education, Hefei 230601, China
  • Received:2025-06-18 Revised:2025-09-19 Published:2026-04-15 Online:2026-04-08
  • About author:ZHENG Cheng,born in 1964,Ph.D,associate professor.His main research interests include data mining,text analysis, and natural language processing.
  • Supported by:
    Key Research and Development Program of Anhui Province(202004d07020009).

摘要: 方面级情感分析旨在对齐方面和其相应的意见表达,以识别特定方面的情感极性。现有的基于依赖树的图神经网络模型在方面级情感分析中取得了显著的性能提升,但大多数研究未充分利用句法依赖树的完整信息,通常忽略了句法依赖距离信息或依赖标签信息。这种忽视可能导致在含有多个方面的句子中,意见词与相应的方面词无法有效对齐。针对上述问题,构造一种知识辅助和强化句法驱动的网络模型。具体来说,首先通过引入外部知识库设计一个意见词感知模块,以增强模型对句子中意见表达的识别能力。然后,利用强化学习指导句法距离图的构建,并将其与基于单词关系和依赖标签构建的动态句法标签图进行启发式集成,从而提高对给定方面捕获相关意见表达的准确性和全面性。此外,采用方面关注注意力机制来更好地处理句法结构不明确的句子。在3个公共数据集上进行广泛的实验,结果验证了该模型的有效性。

关键词: 方面级情感分析, 情感词典, 句法依赖树, 强化学习, 图卷积网络, 注意力机制, 深度学习

Abstract: Aspect-based sentiment analysis aims to align aspects with their corresponding opinion expressions to identify the sentiment polarity of specific aspects.Existing dependency tree-based graph neural network models have achieved significant performance improvements in aspect-based sentiment analysis.However,most studies fail to fully exploit the complete information of the syntactic dependency tree,often overlooking syntactic dependency distance or dependency label information.This limitation may prevent effective alignment between opinion words and their corresponding aspect terms,particularly in sentences containing multiple aspects.To address these issues,a knowledge-assisted and reinforced syntax-driven network model is constructed.Specifically,an opinion word perception module is designed by incorporating external knowledge information to enhance the model’s ability to recognize opinion expressions in sentences.Then,reinforcement learning is employed to guide the construction of the syntactic distance graph.This graph is then heuristically integrated with the dynamic syntactic label graph,which is built based on word relations and dependency labels,thereby improving the accuracy and comprehensiveness of capturing relevant opinion expressions for a given aspect.Additionally,an aspect-focused attention mechanism is employed to better handle sentences with ambiguous syntactic structures.Extensive experiments conducted on three public datasets validate the effectiveness of the proposed model.

Key words: Aspect-based sentiment analysis, Sentiment lexicon, Syntax dependency tree, Reinforcement learning, Graph convolution networks, Attention mechanism, Deep learning

中图分类号: 

  • TP391
[1]HUA Y C,DENNY P,WICKER J,et al.A systematic review of aspect-based sentiment analysis:domains,methods,and trends[J].Artificial Intelligence Review,2024,57(11):296.
[2]WANKHADE M,KULKARNI C,RAO A C S.A survey on aspect base sentiment analysis methods and challenges[J].Applied Soft Computing,2024,167:112249.
[3]WANG Y,HUANG M,ZHU X,et al.Attention-based LSTMfor aspect-level sentiment classification[C]//Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing.2016:606-615.
[4]FAN F,FENG Y,ZHAO D.Multi-grained attention network for aspect-level sentiment classification[C]//Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing.2018:3433-3442.
[5]HUANG B,OU Y,CARLEY K M.Aspect level sentiment classification with attention-over-attention neural networks[C]//International Conference on Social Computing,Behavioral-Cultural Modeling and Prediction and Behavior Representation in Modeling and Simulation.Cham:Springer,2018:197-206.
[6]DAI J,YAN H,SUN T,et al.Does syntax matter? a strong baseline for aspect-based sentiment analysis with roberta[J].arXiv:2104.04986,2021.
[7]HUANG B,CARLEY K M.Syntax-Aware Aspect Level Senti-ment Classification with Graph Attention Networks[C]//Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Confe-rence on Natural Language Processing(EMNLP-IJCNLP).2019:5469-5477.
[8]ZHONG Q,DING L,LIU J,et al.Knowledge graph augmentednetwork towards multiview representation learning for aspect-based sentiment analysis[J].IEEE Transactions on Knowledge and Data Engineering,2023,35(10):10098-10111.
[9]ZHOU Y,LIAO L,GAO Y,et al.To be Closer:Learning toLink up Aspects with Opinions[C]//2021 Conference on Empi-rical Methods in Natural Language Processing,EMNLP 2021.ACL,2021:3899-3909.
[10]CHEN C,TENG Z,WANG Z,et al.Discrete opinion tree induction for aspect-based sentiment analysis[C]//Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics.2022:2051-2064.
[11]CHEN B,OUYANG Q,LUO Y,et al.S2GSL:IncorporatingSegment to Syntactic Enhanced Graph Structure Learning for Aspect-based Sentiment Analysis[C]//Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics.2024:13366-13379.
[12]HUTTO C,GILBERT E.Vader:A parsimonious rule-basedmodel for sentiment analysis of social media text[C]//Procee-dings of the International AAAI Conference on Web and Social Media.2014:216-225.
[13]KIRITCHENKO S,ZHU X,CHERRY C,et al.NRC-Canada-2014:Detecting aspects and sentiment in customer reviews[C]//Proceedings of the 8th International Workshop on Semantic Evaluation(SemEval 2014).2014:437-442.
[14]KALBHOR S,GOYAL D.Survey on ABSA based on machine learning,deep learning and transfer learning approach[C]//AIP Conference Proceedings.AIP Publishing,2023.
[15]ZHANG Y,XU B,ZHAO T.Convolutional multi-head self-attention on memory for aspect sentiment classification[J].IEEE/CAA Journal of Automatica Sinica,2020,7(4):1038-1044.
[16]HUANG B,GUO R,ZHU Y,et al.Aspect-level sentiment analysis with aspect-specific context position information[J].Knowledge-Based Systems,2022,243:108473.
[17]ZHANG C,LI Q,SONG D.Aspect-based Sentiment Classification with Aspect-specific Graph Convolutional Networks[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).2019:4568-4578.
[18]HOU X,QI P,WANG G,et al.Graph Ensemble Learning over Multiple Dependency Trees for Aspect-level Sentiment Classification[C]//Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies.2021:2884-2894.
[19]KONG M,FENG L,ZHANG C,et al.Distance-reconstructeddependency enhanced aspect-based sentiment analysis with sentiment strength[J].Neurocomputing,2024,608:128459.
[20]TANG S,CHAI H,YAO Z,et al.Affective knowledge enhanced multiple-graph fusion networks for aspect-based sentiment analysis[C]//Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.2022:5352-5362.
[21]GU T,ZHAO H,HE Z,et al.Integrating external knowledge into aspect-based sentiment analysis using graph neural network[J].Knowledge-based Systems,2023,259:110025.
[22]GU T,HE Z,LI Z,et al.Information-assisted and sentiment relation-driven for aspect-based sentiment analysis[J].Expert Systems with Applications,2025,278:127308.
[23]CAO Y,TANG Y,DU H,et al.Heterogeneous reinforcement learning network for aspect-based sentiment classification with external knowledge[J].IEEE Transactions on Affective Computing,2023,14(4):3362-3375.
[24]WU H,ZHOU D,SUN C,et al.LSOIT:Lexicon and syntax enhanced opinion induction tree for aspect-based sentiment analysis[J].Expert Systems with Applications,2024,235:121137.
[25]DEVLIN J,CHANG M W,LEE K,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.2019:4171-4186.
[26]SONG Y,WANG J,JIANG T,et al.Attentional encoder network for targeted sentiment classification[J].arXiv:1902.09314,2019.
[27]CHEN M,LI X.Swafn:Sentimental words aware fusion net-work for multimodal sentiment analysis[C]//Proceedings of the 28th International Conference on Computational Linguistics.2020:1067-1077.
[28]HU M,LIU B.Mining and summarizing customer reviews[C]//Proceedings of the Tenth ACM SIGKDD International Confe-rence on Knowledge Discovery and Data Mining.2004:168-177.
[29]ZHAO X,PENG H,DAI Q,et al.Rdgcn:Reinforced dependency graph convolutional network for aspect-based sentiment analysis[C]//Proceedings of the 17th ACM International Conference on Web Search and Data Mining.2024:976-984.
[30]VERMOREL J,MOHRI M.Multi-armed bandit algorithms and empirical evaluation[C]//European Conference on Machine Learning.Berlin:Springer,2005:437-448.
[31]ZHAO X,DAI Q,WU J,et al.Multi-view tensor graph neural networks through reinforced aggregation[J].IEEE Transactions on Knowledge and Data Engineering,2022,35(4):4077-4091.
[32]ZHAO X,WU J,PENG H,et al.Deep reinforcement learningguided graph neural networks for brain network analysis[J].Neural Networks,2022,154:56-67.
[33]PONTIKI M,GALANIS D,PAPAGEORGIOU H,et al.Semeval-2014 task 4:Aspect based sentiment analysis[C]//International Workshop on Semantic Evaluation.2014:27-35.
[34]DONG L,WEI F,TAN C,et al.Adaptive recursive neural network for target-dependent twitter sentiment classification[C]//Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics.2014:49-54.
[35]MANNING C D,SURDEANU M,BAUER J,et al.The StanfordCoreNLP natural language processing toolkit[C]//Procee-dings of 52nd Annual Meeting of the Association for Computational Linguistics:System Demonstrations.2014:55-60.
[36]CHEN C,TENG Z,ZHANG Y.Inducing target-specific latentstructures for aspect sentiment classification[C]//Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing(EMNLP).2020:5596-5607.
[37]XIAO Z,WU J,CHEN Q,et al.Bert4gcn:Using bert intermediate layers to augment gcn for aspect-based sentiment classification[J].arXiv:2110.00171,2021.
[38]LI R,CHEN H,FENG F,et al.Dual graph convolutional networks for aspect-based sentiment analysis[C]//Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing.2021:6319-6329.
[39]ZHAO M,YANG J,ZHANG J,et al.Aggregated graph convolutional networks for aspect-based sentiment classification[J].Information Sciences,2022,600:73-93.
[40]ZHANG Z,ZHOU Z,WANG Y.SSEGCN:Syntactic and se-mantic enhanced graph convolutional network for aspect-based sentiment analysis[C]//Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies.2022:4916-4925.
[41]XU L,PANG X,WU J,et al.Learn from structural scope:Improving aspect-level sentiment analysis with hybrid graph convolutional networks[J].Neurocomputing,2023,518:373-383.
[42]YIN W,LIU C,XU Y,et al.SynPrompt:Syntax-aware En-hanced Prompt Engineering for Aspect-based Sentiment Analysis[C]//Proceedings of the 2024 Joint International Conference on Computational Linguistics,Language Resources and Evaluation(LREC-COLING 2024).2024:15469-15479.
[43]ZHOU T,SHEN Y,LI Y.Gcnet:Global-and-context collaborative learning for aspect-based sentiment analysis[C]//Procee-dings of the 2024 Joint International Conference on Computa-tional Linguistics,Language Resources and Evaluation(LREC-COLING 2024).2024:7570-7580.
[1] 潘嘉豪, 冯翔, 虞慧群.
基于多任务强化学习的优先级加权软模块化方法:SM-PHT
SM-PHT:Robust,Scalable,and Efficient Method for Multi-task Reinforcement Learning
计算机科学, 2026, 53(4): 366-376. https://doi.org/10.11896/jsjkx.250700198
[2] 彭菊红, 张正悦, 丁子胥, 范馨予, 胡长玉, 赵明俊.
融合局部多视角语言特征和全局特征的对话情感四元组抽取
Multi-view Local Language Feature and Global Feature Fusion for Conversational Aspect-based Sentiment Quadruple Analysis
计算机科学, 2026, 53(4): 384-392. https://doi.org/10.11896/jsjkx.250900032
[3] 尹创, 刘建毅, 张茹.
跨模态融合的少样本勒索软件分类器:基于预训练模型的多模态编码
Cross-modal Fusion Few-sample Ransomware Classifier:Multimodal Encoding Based on Pre-trained Models
计算机科学, 2026, 53(4): 435-444. https://doi.org/10.11896/jsjkx.250500078
[4] 宫婧, 杨玉发, 郑一帆, 孙知信.
基于无冲突路径算法的多目标智能仓储路径规划
Multi-objective Intelligent Warehousing Path Planning Based on Conflict Free Path Algorithm
计算机科学, 2026, 53(4): 88-100. https://doi.org/10.11896/jsjkx.250200035
[5] 高泰, 任艳璋, 王会青, 李颖, 王彬.
KGMamba:基于Kolmogorov-Arnold网络优化图卷积网络和Mamba的基因调控网络预测模型
KGMamba:Gene Regulatory Network Prediction Model Based on Kolmogorov-Arnold Network Optimizing Graph Convolutional Network and Mamba
计算机科学, 2026, 53(4): 101-111. https://doi.org/10.11896/jsjkx.250500097
[6] 张雪芹, 王智能, 李晋生, 陆一松, 罗飞.
基于深度学习和多特征融合的时序社交网络关键节点识别
Key Node Identification in Temporal Social Networks Based on Deep Learning and Multi-feature Fusion
计算机科学, 2026, 53(4): 143-154. https://doi.org/10.11896/jsjkx.250300147
[7] 刘德华, 喻赛萱, 乔金兰, 黄河清, 程文辉.
基于去噪扩散模型增强的换电需求数据生成算法
Denoising Diffusion Model-enhanced Algorithm for Battery Swap Demand Data Generation
计算机科学, 2026, 53(4): 163-172. https://doi.org/10.11896/jsjkx.250600205
[8] 辜波凯, 刘盾, 孙扬.
STWD-DLFRD:基于序贯三支决策与深度学习的多粒度虚假评论检测方法
STWD-DLFRD:Multi-granularity Fake Review Detection via Sequential Three-way Decisions and Deep Learning
计算机科学, 2026, 53(4): 188-196. https://doi.org/10.11896/jsjkx.250500088
[9] 柳家起, 汪玉杰, 相国督, 俞奎, 曹付元.
基于深度强化学习的长期因果效应估计
Long-term Causal Effect Estimation Based on Deep Reinforcement Learning
计算机科学, 2026, 53(4): 235-244. https://doi.org/10.11896/jsjkx.250600043
[10] 李泽群, 丁飞.
基于双分支融合与分段域适应迁移学习的疲劳驾驶检测
Fatigue Driving Detection Based on Dual-branch Fusion and Segmented Domain AdaptationTransfer Learning
计算机科学, 2026, 53(3): 78-87. https://doi.org/10.11896/jsjkx.250500025
[11] 葛泽庆, 黄圣君.
针对多标记表格数据的半监督学习方法
Semi-supervised Learning Method for Multi-label Tabular Data
计算机科学, 2026, 53(3): 151-157. https://doi.org/10.11896/jsjkx.250600149
[12] 王鑫钰, 高东怀, 宁玉文, 许浩, 齐浩楠.
基于改进YOLO算法的学生行为检测方法
Student Behavior Detection Method Based on Improved YOLO Algorithm
计算机科学, 2026, 53(3): 246-256. https://doi.org/10.11896/jsjkx.241100165
[13] 张伟, 梁敦英, 周婉婷, 程祥.
CA-SFTNet:基于空间特征变换和浓缩注意力机制的皮肤病灶分割模型
CA-SFTNet:Skin Lesion Segmentation Model Based on Spatial Feature Transformation and Concentrated Attention Mechanism
计算机科学, 2026, 53(3): 277-286. https://doi.org/10.11896/jsjkx.250200049
[14] 付昱凯, 李庆珍, 董志学, 师冬丽, 赵鹏.
基于少量目标数据和深度学习的行人重识别方法
Pedestrian Re-identification Methods Based on Limited Target Data and Deep Learning
计算机科学, 2026, 53(3): 287-294. https://doi.org/10.11896/jsjkx.260100073
[15] 喻定, 李章维.
基于Transformer架构的RNA二级结构预测方法
Prediction Method of RNA Secondary Structure Based on Transformer Architecture
计算机科学, 2026, 53(3): 375-382. https://doi.org/10.11896/jsjkx.250100005
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!