Back to Search Start Over

基于prompt tuning的中文文本多领域情感分析研究.

Authors :
赵文辉
吴晓鸰
凌 捷
HOON Heo
Source :
Computer Engineering & Science / Jisuanji Gongcheng yu Kexue. Jan2024, Vol. 46 Issue 1, p179-190. 12p.
Publication Year :
2024

Abstract

The expression of sentiment texts in different domains are different, so it is usually necessary to train the corresponding sentiment analysis model for each domain. In order to solve the problem that one model cannot be used for multi-domain sentiment analysis, this paper proposes a multi-domain text sentiment analysis method based on prompt tuning, called MSAPT. With the help of hard prompts, indicating the domain of the emotional text and the selected emotional labels, the model is prompted to draw on its knowledge of different domain sentiment analysis. Then, a unified "generalized model" is pretrained for sentimental analysis. In downstream learning of various domain texts, the model is frozen and prompt tuning is used to make the model learn the characteristics of emotional text in each downstream domain. MSAPT only requires saving a model and some prompts with far fewer parameters than the model for multi-domain sentiment analysis. Experiments were conducted using multiple datasets of emotional text in different fields, and the results show that MSAPT outperforms model fine-tuning when only prompted tuning is applied. Finally, the length of prompt tuning, hard prompt adapted to specific domains, soft prompt and the size of intermediate training dataset are ablated respectively, to prove their impact on the effectiveness of sentiment analysis. [ABSTRACT FROM AUTHOR]

Details

Language :
Chinese
ISSN :
1007130X
Volume :
46
Issue :
1
Database :
Academic Search Index
Journal :
Computer Engineering & Science / Jisuanji Gongcheng yu Kexue
Publication Type :
Academic Journal
Accession number :
174924605
Full Text :
https://doi.org/10.3969/j.issn.1007-130X.2024.01.019