融合知识图谱与旋转位置编码的方面级情感分析

张晓琴 ,  刘湘龙 ,  陆艳军 ,  吴兴鹏 ,  石甜

重庆邮电大学学报(自然科学版) ›› 2026, Vol. 38 ›› Issue (5) : 990 -1002.

PDF (3562KB)
重庆邮电大学学报(自然科学版) ›› 2026, Vol. 38 ›› Issue (5) : 990 -1002. DOI: 10.3979/j.issn.1673-825X.202509280211

融合知识图谱与旋转位置编码的方面级情感分析

作者信息 +

Aspect-based sentiment analysis integrating knowledge graphs and rotary positional encoding

Author information +
文章历史 +
PDF (3647K)

摘要

方面级情感分析旨在识别文本中针对特定方面的情感极性。 现有方法大多依赖于上下文语义或句法结构进行特征建模,但在面对有效融合外部知识、捕捉长距离依赖以及语义与句法表示互相干扰等问题时仍存在不足。针对这些问题,提出一种融合外部知识和相对位置感知能力的图卷积网络模型(knowledge enhanced rotary positional graph convolutional network,KERPGCN)。 通过引入 WordNet 知识图谱并结合自适应门控机制,实现外部知识与上下文语义的动态融合,在隐式方面与复杂情感关系识别上表现更优;在编码阶段使用旋转位置嵌入增强长距离修饰结构的感知能力;在语义和句法双分支特征表示基础上引入 Jensen-Shannon 散度约束和跨分支交互机制,实现两类特征的互补建模,增强了模型的鲁棒性和泛化能力。 实验结果表明,提出的 KERPGCN 模型在 3 个公开数据集上有不同幅度的提升,验证了 KERPGCN 具有较强的有效性与鲁棒性。

Abstract

Aspect-based sentiment analysis (ABSA) aims to identify the sentiment polarity expressed toward specific aspects in a text. Existing methods predominantly rely on contextual semantics or syntactic structures for feature modeling, but still face challenges in effectively incorporating external knowledge, capturing long-distance dependencies, and mitigating the interference between semantic and syntactic representations. To address these issues, this paper proposes a knowledge-enhanced rotary positional graph convolutional network (KERPGCN) that integrates external knowledge and relative position awareness. By incorporating the WordNet knowledge graph and an adaptive gating mechanism, the proposed model dynamically integrates external knowledge with contextual semantics, achieving improved performance in identifying implicit aspects and complex sentiment relations. During the encoding stage, rotary positional encoding is employed to enhance the model’ s ability to capture long-distance modification structures. Furthermore, based on dual-branch semantic and syntactic feature representations, a Jensen-Shannon divergence constraint and a cross-branch interaction mechanism are introduced to achieve complementary modeling of the two types of features, thereby improving the robustness and generalization capability of the model. Experimental results demonstrate that the proposed KERPGCN model achieves varying degrees of improvement on three publicly available datasets, confirming its effectiveness and robustness.

关键词

自然语言处理 / 方面级情感分析 / 图卷积网络 / 外部知识图谱 / 旋转位置编码

Key words

natural language processing / aspect-based sentiment analysis / graph convolutional network / external knowledge graph / rotary positional encoding

引用本文

引用格式 ▾
张晓琴,刘湘龙,陆艳军,吴兴鹏,石甜. 融合知识图谱与旋转位置编码的方面级情感分析[J]. 重庆邮电大学学报(自然科学版), 2026, 38(5): 990-1002 DOI:10.3979/j.issn.1673-825X.202509280211

登录浏览全文

4963

注册一个新账户 忘记密码

参考文献

[1]

Wang Xiaodi, Tang Mingwei, Yang Tian, et al. A novel network with multiple attention mechanisms for aspect-level sentiment analysis[J].Knowledge-Based Systems, 2021, 227: 107196.

[2]

Zhao Ziguo, Tang Mingwei, Tang Wei, et al. Graph convolutional network with multiple weight mechanisms for aspect-based sentiment analysis[J].Neurocomputing, 2022, 500: 124-134.

[3]

Shang Wenqian, Chai Jiazhao, Cao Jianxiang, et al. Aspect-level sentiment analysis based on aspect-sentence graph convolution network[J].Information Fusion, 2024, 104: 102143.

[4]

Phan Huyen Trang, Nguyen Ngoc Thanh, Hwang Dosam. Convolutional attention neural network over graph structures for improving the performance of aspect-level sentiment analysis[J]. Information Sciences, 2022, 589: 416-439.

[5]

Zhang Chen, Li Qiuchi, Song Dawei. 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). Hong Kong, China: Association for Computational Linguistics, 2019: 4568-4578.

[6]

Wang Kai, Shen Weizhou, Yang Yunyi, et al. Relational Graph Attention Network for Aspect-based Sentiment Analysis[C]//Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Seattle, Washington, USA: Association for Computational Linguistics, 2020: 3229-3238.

[7]

Zhou Yuxiang, Liao Lejian, Gao Yang, et al. To be closer: Learning to link up aspects with opinions[C]//Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing. Punta Cana, Dominican Republic: Association for Computational Linguistics, 2021: 3899-3909.

[8]

Yuan Li, Wang Jin, Yu Liang-Chih, et al. Syntactic graph attention network for aspect-level sentiment analysis[J].IEEE Transactions on Artificial Intelligence, 2024, 5 (01): 140-153.

[9]

Hou Xiaochen, Qi Peng, Wang Guangtao, 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. Stroudsburg, Pennsylvania, USA: Association for Computational Linguistics, 2021: 2884-2894.

[10]

Wagner Joachim, Arora Piyush, Vaíllo Santiago Cortés, et al. Dcu: aspect-based polarity classification for semeval task 4[C]//Proceedings of the 8th International Workshop on Semantic Evaluation (SemEval 2014). Dublin, Ireland: Association for Computional Linguistics, 2014: 223-229.

[11]

Tang Duyu, Qin Bing, Feng Xiaocheng, et al. Effective LSTMs for target-dependent sentiment classification[C]//Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers. Osaka, Japan: The COLING 2016 Organizing Committee, 2016: 3298-3307.

[12]

Wang Yequan, Huang Minlie, Zhu Xiaoyan, et al. Attention-based LSTM for aspect-level sentiment classification[C]//Proceedings of the 2016 conference on empirical methods in natural language processing. Austin, Texas, USA: Association for Computational Linguistics, 2016: 606-615.

[13]

Chen Peng, Sun Zhongqian, Bing Lidong, et al. Recurrent attention network on memory for aspect sentiment analysis[C]//Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing. Copenhagen, Denmark: Association for Computational Linguistics, 2017: 452-461.

[14]

Ma Dehong, Li Sujian, Zhang Xiaodong, et al. Interactive attention networks for aspect-level sentiment classification[C]//Proceedings of the 26th International Joint Conference on Artificial Intelligence. Melbourne, Australia: AAAI Press. 2017: 4068-4074

[15]

Xue Wei, Li Tao. Aspect based sentiment analysis with gated convolutional networks[C]//Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Melbourne, Australia: Association for Computational Linguistics, 2018: 2514-2523.

[16]

Huang Bo, Guo Ruyan, Zhu Yimin, et al. Aspect-level sentiment analysis with aspect-specific context position information[J].Knowledge-Based Systems, 2022, 243: 108473.

[17]

Li Ruifan, Chen Hao, Feng Fangxiang, 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 (Volume 1: Long Papers). Stroudsburg, Pennsylvania, USA: Association for Computational Linguistics, 2021: 6319-6329.

[18]

Xiao Luwei, Xue Yun, Wang Hua, et al. Exploring fine-grained syntactic information for aspect-based sentiment classification with dual graph neural networks[J]. Neurocomputing, 2022, 471: 48-59.

[19]

Wu Haiyan, Zhang Zhiqiang, Shi Shaoyun, et al. Phrase dependency relational graph attention network for aspect-based sentiment analysis[J].Knowledge-Based Systems, 2022, 236: 107736.

[20]

夏敏捷, 师钰博, 樊银亭. 双特征增强的图卷积网络用于方面级情感分析[J].计算机工程与设计, 2025, 46(08): 2426-2433.

[21]

Xia Minjie, Shi Yubo, Fan Yinting. Dual feature enhanced graph convolutional network for aspect level sentiment analysis[J]. Computer Engineering and Design, 2025, 46(08): 2426-2433.

[22]

王一力, 陈浩文, 袁程胜. 基于句法依存增强和方面语义聚焦的方面级情感分析[J].计算机应用研究, 2025, 42(09): 2669-2675.

[23]

Wang Yili, Chen Haowen, Yuan Chengsheng. Aspect-based sentiment analysis based on syntactic dependency enhancement and aspect semantic focus[J].Application Research of Computers, 2025, 42(09): 2669-2675.

[24]

Ma Yukun, Peng Haiyun, Cambria Erik. Targeted aspect-based sentiment analysis via embedding commonsense knowledge into an attentive LSTM[C]//Proceedings of the AAAI conference on artificial intelligence. Palo Alto, California, USA: Association for the Advancement of Artificial Intelligence, 2018: 5876-5883.

[25]

Liang Bin, Su Hang, Gui Lin, et al. Aspect-based sentiment analysis via affective knowledge enhanced graph convolutional networks[J].Knowledge-Based Systems, 2022, 235: 107643.

[26]

Zheng Yongqiang, Li Xia, Nie Jianyun. Store, share and transfer: learning and updating sentiment knowledge for aspect-based sentiment analysis[J]. Information Sciences, 2023, 635: 151-168.

[27]

王一涛, 李卫疆. 融合句法、语义和情感三重增强的方面级情感分析模型[J].重庆邮电大学学报(自然科学版), 2026, 38(2): 342-352.

[28]

Wang Yitao, Li Weijiang. Triple-enhanced aspect-based sentiment analysis model fusing syntactic, semantic and affective knowledge[J].Journal of Chongqing University of Posts and Telecommunications (Natural Science Edition), 2026, 38(2): 342-352.

[29]

郑诚, 班晴晴. 知识辅助和强化句法驱动的方面级情感分析[J].计算机科学, 2026, 53(4): 406-414.

[30]

Zheng Cheng, Ban Qingqing. Knowledge-assisted and reinforced syntax-driven for aspect-based sentiment analysis[J].Computer Science, 2026, 53(4): 406-414.

[31]

Huang Chen, Li Xianyong, Zheng Xin, et al. Hierarchical and position-aware graph convolutional network with external knowledge and prompt learning for aspect-based sentiment analysis[J].Expert Systems with Applications, 2025, 278: 127290.

[32]

Su Jianlin, Ahmed Murtadha, Lu Yu, et al. Roformer: enhanced transformer with rotary position embedding[J].Neurocomputing, 2024, 568: 127063.

[33]

Tang Hao, Ji Donghong, Li Chenliang, et al. Dependency graph enhanced dual-transformer structure for aspect-based sentiment classification[C]//Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Stroudsburg, Pennsylvania, USA: Association for Computational Linguistics, 2020: 6578-6588.

[34]

Pontiki Maria, Galanis Dimitris, Pavlopoulos John, et al. SemEval-2014 Task 4: aspect based sentiment analysis[C]//Proceedings of the 8th International Workshop on Semantic Evaluation (SemEval 2014). Dublin, Ireland: Association for Computational Linguistics, 2014: 27-35.

[35]

Dong Li, Wei Furu, Tan Chuanqi, 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 (volume 2: Short papers). Baltimore, Maryland, USA: Association for Computational Linguistics, 2014: 49-54.

[36]

Xu Lvxiaowei, Pang Xiaoxuan, Wu Jianwang, et al. Learn from structural scope: improving aspect-level sentiment analysis with hybrid graph convolutional networks[J].Neurocomputing, 2023, 518: 373-383.

[37]

Chen Chenhua, Teng Zhiyang, Wang Zhongqing, et al. Discrete opinion tree induction for aspect-based sentiment analysis[C]//Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Dublin, Ireland: Association for Computational Linguistics,2022: 2051-2064.

[38]

Wu Haiyan, Zhou Di, Sun Chaoqun, et al. LSOIT: lexicon and syntax enhanced opinion induction tree for aspect-based sentiment analysis[J].Expert Systems with Applications, 2024, 235: 121137.

[39]

Xu Guangtao, Yang Zhihao, Ning Jinzhong, et al. Syntax-based residual graph attention network for aspect-level sentiment classification[J]. Knowledge-Based Systems, 2025, 315: 113279.

[40]

Wang Xinyue, Liu Long, Chen Zhuo, et al. Graph convolutional network based on self-attention variational autoencoder and capsule contrastive learning for aspect-based sentiment analysis[J]. Expert Systems with Applications, 2025, 279: 127172.

[41]

Wang Zhihao, Zhang Bo, Yang Ru, et al. DAGCN: distance-based and aspect-oriented graph convolutional network for aspect-based sentiment analysis[C]//Findings of the Association for Computational Linguistics: NAACL 2024. Mexico City, Mexico: Association for Computational Linguistics, 2024: 1863-1876.

[42]

Zheng Wenjun, Han Shoufei, Jia Xiaofen, et al. GT-AGCN: integrating global semantics and local syntax for aspect-based sentiment analysis[J].IEEE Transactions on Computational Social Systems, 2026, 13 (2): 1293-1309.

基金资助

重庆市九龙坡区科技计划项目(2024-01-008-Y)

重庆市教委科学技术研究项目(KJQN202301114)

重庆理工大学 研究生教育高质量发展项目(gzlcx20253265)

AI Summary AI Mindmap
PDF (3562KB)

0

访问

0

被引

详细

导航
相关文章

AI思维导图

/

〈 〉