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

Tian Li, Xiang Chen, Shanghang Zhang, Zhen Dong, Kurt Keutzer
10/30/2020
cs.CLcs.LG
contrastive-ssl

Official code: CasparSwift/CLIM (22 stars, Python, last commit 2022-04-20).

Abstract

Contrastive learning (CL) has been successful as a powerful representation learning method. In this work we propose CLIM: Contrastive Learning with mutual Information Maximization, to explore the potential of CL on cross-domain sentiment classification.

Show full abstract

To the best of our knowledge, CLIM is the first to adopt contrastive learning for natural language processing (NLP) tasks across domains. Due to scarcity of labels on the target domain, we introduce mutual information maximization (MIM) apart from CL to exploit the features that best support the final prediction. Furthermore, MIM is able to maintain a relatively balanced distribution of the model's prediction, and enlarges the margin between classes on the target domain. The larger margin increases our model's robustness and enables the same classifier to be optimal across domains. Consequently, we achieve new state-of-the-art results on the Amazon-review dataset as well as the airlines dataset, showing the efficacy of our proposed method CLIM.

View on arXivView PDF

Code Implementations(1)

CasparSwift/CLIMOfficial100%

Code for "Cross-Domain Sentiment Classification with Contrastive Learning and Mutual Information Maximization" (ICASSP 2021)

223Python, ShellMay 2, 20214 years ago

Similar Papers

Cite this paper

@article{li2020crossdomain,
  title  = {Cross-Domain Sentiment Classification with Contrastive Learning and Mutual Information Maximization},
  author = {Tian Li and Xiang Chen and Shanghang Zhang and Zhen Dong and Kurt Keutzer},
  year   = {2020},
  eprint = {2010.16088},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.16088}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.16088.svg)](https://codeofpaper.com/paper/2010.16088)

Discussion