Cross-domain Sentiment Classification with Prompt Pre-training and Tuning

Sentiment classification, as an essential task for understanding the sentiment content of texts, has garnered extensive attention. However, existing methods face numerous challenges, such as the mismatch between training and testing data in specific domains, which results in insufficient adaptability of models to new domains. Prompt learning is a parameter-efficient strategy that effectively enables pre-trained models to adapt to downstream tasks. In this paper, we propose a novel two-stage method called PT<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup>, which consists of two key components: prompt pre-training and prompt fine-tuning. During the prompt pre-training phase, we employ masked language modeling and cross-domain prompt learning, aiming to uncover latent sentiments and acquire cross-domain knowledge. In the prompt fine-tuning phase, we apply the pre-trained model to specific cross-domain sentiment classification tasks, adjusting the model parameters through additional sentiment prompt templates to improve its performance on these specific tasks. We conducted experiments on publicly available datasets and established nine different cross-domain settings. The results indicate that the model, employing our proposed $\mathrm{PT}^{2}$, significantly outperforms previous state-of-the-art approaches in cross-domain sentiment classification tasks.

Authors

Institutions

Publication Details

Published
2024-12-20
DOI
https://doi.org/10.1109/aiim64537.2024.10934642
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Cross-domain Sentiment Classification with Prompt Pre-training and Tuning

S. X. Du
Sentiment Analysis and Opinion Mining
article

Cross-domain Sentiment Classification with Prompt Pre-training and Tuning

S. X. Du
article en

Abstract

Sentiment classification, as an essential task for understanding the sentiment content of texts, has garnered extensive attention. However, existing methods face numerous challenges, such as the mismatch between training and testing data in specific domains, which results in insufficient adaptability of models to new domains. Prompt learning is a parameter-efficient strategy that effectively enables pre-trained models to adapt to downstream tasks. In this paper, we propose a novel two-stage method called PT<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup>, which consists of two key components: prompt pre-training and prompt fine-tuning. During the prompt pre-training phase, we employ masked language modeling and cross-domain prompt learning, aiming to uncover latent sentiments and acquire cross-domain knowledge. In the prompt fine-tuning phase, we apply the pre-trained model to specific cross-domain sentiment classification tasks, adjusting the model parameters through additional sentiment prompt templates to improve its performance on these specific tasks. We conducted experiments on publicly available datasets and established nine different cross-domain settings. The results indicate that the model, employing our proposed $\mathrm{PT}^{2}$, significantly outperforms previous state-of-the-art approaches in cross-domain sentiment classification tasks.

McGill University (CA)
Openalex Percentile: Top 74%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.