《计算机应用》唯一官方网站 ›› 2026, Vol. 46 ›› Issue (8): 2440-2446.DOI: 10.11772/j.issn.1001-9081.2025070843

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

融合互信息最大化与对比学习的句法增强型方面级情感分析

吕慧慧1, 仲兆满1,2(), 张渝1, 樊继冬1   

  1. 1.江苏海洋大学 计算机工程学院,江苏 连云港 222005
    2.江苏省海洋资源开发研究院,江苏 连云港 222005
  • 收稿日期:2025-07-28 修回日期:2025-09-25 接受日期:2025-09-25 发布日期:2025-11-05 出版日期:2026-08-10
  • 通讯作者: 仲兆满
  • 作者简介:吕慧慧(2002—),女,安徽阜阳人,硕士,主要研究方向:自然语言处理、方面级情感分析
    仲兆满(1977—),男,江苏连云港人,教授,博士,主要研究方向:互联网舆情大数据分析及管控
    张渝(1999—),男,江苏连云港人,硕士,主要研究方向:网络舆情分析、方面级情感分析
    樊继冬(1999—),男,江苏连云港人,硕士,主要研究方向:多模态情感分析、大数据采集与分析。
  • 基金资助:
    国家自然科学基金资助项目(72174079);江苏省“青蓝工程”大数据优秀教学团队(2022-29);连云港市重点研发计划(产业前瞻与关键核心技术)项目(CG2323)

Syntactically enhanced aspect-based sentiment analysis via mutual information maximization and contrastive learning

Huihui LYU1, Zhaoman ZHONG1,2(), Yu ZHANG1, Jidong FAN1   

  1. 1.School of Computer Engineering,Jiangsu Ocean University,Lianyungang Jiangsu 222005,China
    2.Jiangsu Institute of Marine Resources Development,Lianyungang Jiangsu 222005,China
  • Received:2025-07-28 Revised:2025-09-25 Accepted:2025-09-25 Online:2025-11-05 Published:2026-08-10
  • Contact: Zhaoman ZHONG
  • About author:LYU Huihui, born in 2002, M. S. Her research interests include natural language processing, aspect-based sentiment analysis.
    ZHANG Yu, born in 1999, M. S. His research interests include online public opinion analysis, aspect-based sentiment analysis.
    FAN Jidong, born in 1999, M. S. His research interests include multimodal sentiment analysis, big data collection and analysis.
  • Supported by:
    National Natural Science Foundation of China(72174079);“Qinglan Project” Big Data Excellent Teaching Team of Jiangsu Province(2022-29);Key Research and Development Program of Lianyungang City (Industrial Foresight and Key Core Technologies)(CG2323)

摘要:

方面级情感分析(ABSA)旨在针对特定方面推断情感极性。现有的方法在聚合邻居节点信息时多采用等权重策略,而未能充分区分节点重要性的差异,导致语义-句法的协同不足;图注意力网络(GAT)依赖间接句法关联捕捉方面词与情感词的关系,造成全局特征缺失和情感表示空间区分度低,进而引发情感空间模糊问题。针对上述问题,提出一种融合互信息(MI)对齐与监督对比学习的图卷积网络模型MIC-GCN (Mutual Information and Contrastive learning-based Graph Convolutional Network)。首先,通过嵌入层将文本词汇转换为向量表示;其次,设计双注意力动态路由模块,以结合自注意力与方面感知注意力的动态交互生成注意力分数矩阵,并基于句法距离构建动态掩码矩阵优化结构信息的利用;再次,利用MIC-GCN模块构建原图及伪图,而经卷积提取局部特征后,借助MI最大化实现局部与全局的特征对齐;最后,引入监督对比学习来优化情感表示空间,并增强情感极性区分能力,从而通过池化与分类层完成情感极性判断。实验结果表明,在Twitter、Lap和Rest 3个公开数据集上,MIC-GCN模型的准确率比最优基线模型SSEGCN (Syntactic and Semantic Enhanced Graph Convolutional Network)、T-GCN (Type-aware Graph Convolutional Network)和DGEDT (Dependency Graph Enhanced Dual-Transformer network)分别提高了0.10、1.71和0.30个百分点。可见,所提模型能有效增强语义-句法协同,提升全局特征捕捉效能与情感极性区分度,在ABSA任务中表现优异。

关键词: 方面级情感分析, 互信息最大化, 双注意力动态路由, 对比学习, 图卷积网络

Abstract:

Aspect-Based Sentiment Analysis (ABSA) aims to infer the sentiment polarity towards specific aspects. The existing methods often adopt an equal-weight strategy when aggregating neighbor node information, failing to distinguish the differences in node importance, which leads to insufficient semantic-syntactic coordination. Graph ATtention network (GAT) relies on indirect syntactic associations to capture the relationships between aspect words and sentiment words, resulting in a lack of global features and low distinguishability in the sentiment representation space, thereby causing ambiguous sentiment space. To address the above issues, a graph convolutional network model integrating Mutual Information (MI) alignment and supervised contrastive learning, MIC-GCN (Mutual Information and Contrastive learning-based Graph Convolutional Network), was proposed. First, text words were converted into vector representations through an embedding layer. Second, a dual-attention dynamic routing module was designed to combine the dynamic interaction of self-attention and aspect-aware attention, so as to generate an attention score matrix, and a dynamic masking matrix was constructed on the basis of syntactic distance, so as to optimize the utilization of structural information. Third, the MIC-GCN module was used to construct the original graph and pseudo-graph. After extracting local features through convolution, local and global features were aligned by MI maximization. Finally, the supervised contrastive learning was introduced to optimize the sentiment representation space and enhance the ability to distinguish sentiment polarity, so as to complete sentiment polarity judgment through pooling and classification layers. Experimental results demonstrate that on three public datasets — Twitter, Lap, and Rest, the proposed model has the accuracy 0.10, 1.71, 0.30 percentage points higher than the best baseline models SSEGCN (Syntactic and Semantic Enhanced Graph Convolutional Network), T-GCN(Type-aware Graph Convolutional Network), and DGEDT (Dependency Graph Enhanced Dual-Transformer network), respectively. It can be seen that the proposed model enhances semantic-syntactic coordination effectively, improves the efficiency of capturing global features and the distinguishability of sentiment polarity, demonstrating excellent performance in ABSA tasks.

Key words: Aspect-Based Sentiment Analysis (ABSA), Mutual Information (MI) maximization, dual-attention dynamic routing, contrastive learning, Graph Convolutional Network (GCN)

中图分类号: