Mere Contrastive Learning for Cross-Domain Sentiment Analysis

08/18/2022
by   Yun Luo, et al.
0

Cross-domain sentiment analysis aims to predict the sentiment of texts in the target domain using the model trained on the source domain to cope with the scarcity of labeled data. Previous studies are mostly cross-entropy-based methods for the task, which suffer from instability and poor generalization. In this paper, we explore contrastive learning on the cross-domain sentiment analysis task. We propose a modified contrastive objective with in-batch negative samples so that the sentence representations from the same class will be pushed close while those from the different classes become further apart in the latent space. Experiments on two widely used datasets show that our model can achieve state-of-the-art performance in both cross-domain and multi-domain sentiment analysis tasks. Meanwhile, visualizations demonstrate the effectiveness of transferring knowledge learned in the source domain to the target domain and the adversarial test verifies the robustness of our model.

READ FULL TEXT
research
05/16/2023

Bidirectional Generative Framework for Cross-domain Aspect-based Sentiment Analysis

Cross-domain aspect-based sentiment analysis (ABSA) aims to perform vari...
research
04/09/2020

Recommendation Chart of Domains for Cross-Domain Sentiment Analysis:Findings of A 20 Domain Study

Cross-domain sentiment analysis (CDSA) helps to address the problem of d...
research
03/20/2023

Unsupervised Cross-Domain Rumor Detection with Contrastive Learning and Cross-Attention

Massive rumors usually appear along with breaking news or trending topic...
research
12/02/2021

Emotions are Subtle: Learning Sentiment Based Text Representations Using Contrastive Learning

Contrastive learning techniques have been widely used in the field of co...
research
09/18/2019

Weighed Domain-Invariant Representation Learning for Cross-domain Sentiment Analysis

Cross-domain sentiment analysis is currently a hot topic in the research...
research
06/22/2018

Combination of Domain Knowledge and Deep Learning for Sentiment Analysis

The emerging technique of deep learning has been widely applied in many ...
research
10/30/2020

Cross-Domain Sentiment Classification With Contrastive Learning and Mutual Information Maximization

Contrastive learning (CL) has been successful as a powerful representati...

Please sign up or login with your details

Forgot password? Click here to reset