Cross-Domain Sentiment Classification with Mere Contrastive Learning and Improved Method
Cross-domain sentiment classification refers to training a classification model using labeled data in the source domain, and migrating to the target domain to perform sentiment classification on unlabeled data and meet the performance requirements, so as to deal with the scarcity of labeled data and the time-consuming manual labeling work. However, most previous studies use cross-entropy-based methods, and the cross-entropy loss will bring problems such as poor stability and weak generalization ability. In this paper, instead of using cross-entropy, we propose a model that uses only contrastive learning on BERT and applies mutual information maximization. Past research has devoted to exploring algorithms for manually selecting common features, and traditional supervised methods cannot meet the needs of deep learning. In this regard, we use the Wasserstein distance to estimate the feature representations of the source domain and the target domain to share domain-invariant information between the both domains, and learn domain-invariant features with an unsupervised adaptive method. Due to the scarcity of labels on the target domain, we apply mutual information maximization to balance the model's predictions. Experiments on datasets show that our model has an average accuracy of 92.40% on cross-domain sentiment classification and 93.03% on multi-domain sentiment classification, both higher than CLIM and COBE on cross-domain and multi-domain tasks. The visualization results more intuitively demonstrate the advanced performance of our model, and the ablation experiments clearly reflect the effectiveness of our method.
Authors
- Fan Yang (ORCID: https://orcid.org/0000-0002-8321-4244)
- Li Zhang (ORCID: https://orcid.org/0000-0001-7914-0679)
- Xing Wei (ORCID: https://orcid.org/0000-0002-4863-9909)
- Bin Wen (ORCID: https://orcid.org/0009-0005-7496-5125)
- Yang Lu (ORCID: https://orcid.org/0000-0002-0067-7279)
- Chong Zhao (ORCID: https://orcid.org/0000-0002-5757-6508)
Institutions
- Hefei University of Technology (CN)
Publication Details
- Published
- 2024-09-20
- DOI
- https://doi.org/10.1109/aicit62434.2024.10730527
- Citations
- 1
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 0.35
Funders
- Natural Science Foundation of Anhui Province
- Fundamental Research Funds for the Central Universities