《计算机应用》唯一官方网站

• •    下一篇

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

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

  1. 1. 江苏海洋大学
    2. 江苏海洋大学计算机工程学院
  • 收稿日期:2025-07-28 修回日期:2025-09-17 发布日期:2025-11-05 出版日期:2025-11-05
  • 通讯作者: 吕慧慧

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

  • Received:2025-07-28 Revised:2025-09-17 Online:2025-11-05 Published:2025-11-05

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

Abstract: Aspect-based sentiment analysis aims to infer the sentiment polarity of specific aspects. 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 networks rely on indirect syntactic associations to capture the relationship 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, this paper proposes a graph convolutional network model inte-grating mutual information alignment and supervised contrastive learning, denoted as MIC-GCN (Mutual Information and Con-trastive Learning-based Graph Convolutional Network Model).. The model first converts text words into vector representations through an embedding layer. Then, a dual-attention dynamic routing module is designed to combine the dynamic interaction of self-attention and aspect-aware attention to generate an attention score matrix, and a dynamic masking matrix is constructed based on syntactic distance to optimize the utilization of structural information. Next, the MIC-GCN module constructs the original graph and pseudo-graph. After ex-tracting local features through convolution, local and global features are aligned by maximizing mutual information. Finally, supervised contrastive learning is introduced to optimize the sentiment representation space and enhance the ability to distinguish sentiment polarity, with sentiment polarity judgment completed through pooling and classification layers. Experimental results demonstrate that on three public datasets—Twitter, Lap, and Rest—the accuracy of the proposed model is 0.1% percentage point, 1.71%, 0.3% higher than that of the best baseline models such as SSEGCN(Self-Supervised and Aspect-aware Graph Convolutional Network)、T-GCN(Type-aware Graph Convolutional Network) and DGEDT(Dependency Graph Enhanced Dual-Transformer network), respectively. The proposed model ef-fectively enhances semantic-syntactic coordination, improves the efficiency of capturing global features and the distinguishability of senti-ment polarity, demonstrating excellent performance in ABSA tasks.

中图分类号: