Modeling Adaptive Inter-Task Feature Interactions via Sentiment-Aware Contrastive Learning for Joint Aspect-Sentiment Prediction

Authors

  • Wei Chen Institute of Artificial Intelligence, Beihang University, Beijing 100191, China
  • Yuxuan Liu College of Computer Science, Chongqing University, Chongqing 400044, China
  • Zhao Zhang Institute of Computing Technology, Chinese Academy of Sciences, Beijing, China
  • Fuzhen Zhuang Institute of Artificial Intelligence, Beihang University, Beijing 100191, China Zhongguancun Laboratory, Beijing, China
  • Jiang Zhong College of Computer Science, Chongqing University, Chongqing 400044, China

DOI:

https://doi.org/10.1609/aaai.v38i16.29731

Keywords:

NLP: Sentiment Analysis, Stylistic Analysis, and Argument Mining, NLP: Text Classification

Abstract

Aspect prediction (AP) and sentiment prediction (SP) are representative applications in fine-grained sentiment anal- ysis. They can be considered as sequential tasks, where AP identifies mentioned aspects in a sentence, and SP infers fine-grained sentiments for these aspects. Recent models perform the aspect-sentiment prediction in a joint man-ner, but heavily rely on the feature interactions of aspect and sentiment. One drawback is that they ignore correlation strength varies between aspect features and sentiment fea- tures across different sentences, and employ a fixed feature interaction strategy may limit effective knowledge transfer across tasks. To tackle this issue, in this paper, we propose an Adaptive Inter-task Feature Interaction framework, AIFI, for joint aspect-sentiment prediction. Specifically, we introduce a novel contrast-based alignment method based on contrastive learning. Our approach considers the AP-specific and SP-specific representations of a given sentence as a positive pair, while representation of another random sentence serves as a negative example. Moreover, we propose an inter-task feature correlation network to predict the contrast strength, which is determined by the temperature coefficient in the InfoNCE loss. This dynamic correlation adjustment enhances model’s ability to capture proper feature interactions more efficiently. Experimental results on three datasets validate the effectiveness of our approach.

Published

2024-03-24

How to Cite

Chen, W., Liu, Y., Zhang, Z., Zhuang, F., & Zhong, J. (2024). Modeling Adaptive Inter-Task Feature Interactions via Sentiment-Aware Contrastive Learning for Joint Aspect-Sentiment Prediction. Proceedings of the AAAI Conference on Artificial Intelligence, 38(16), 17781-17789. https://doi.org/10.1609/aaai.v38i16.29731

Issue

Section

AAAI Technical Track on Natural Language Processing I