Skip to main navigation Skip to search Skip to main content

Adaptive Prompt Learning-Based Few-Shot Sentiment Analysis

  • Pengfei Zhang
  • , Tingting Chai
  • , Yongdong Xu*
  • *Corresponding author for this work
  • School of Computer Science and Technology (School of Software), Harbin Institute of Technology Weihai

Research output: Contribution to journalArticlepeer-review

Abstract

In the field of natural language processing, sentiment analysis via deep learning has a excellent performance by using large labeled datasets. Meanwhile, labeled data are insufficient in many sentiment analysis tasks, and obtaining these data is time-consuming and laborious. Prompt learning devotes to resolving the data deficiency by reformulating downstream tasks with the help of prompt. The model performance of this method depends on the quality of the prompt. This paper proposes an adaptive prompting (AP) construction strategy using seq2seq-attention structure to acquire the semantic information of the input sequence. Our method of dynamically constructing adaptive prompts can not only improve the quality of prompt, but also can effectively generalize to other fields by constructing a pre-trained prompt with existing public labeled data. The experimental results on FewCLUE datasets demonstrate that the proposed method AP can effectively construct appropriate adaptive prompt regardless of the quality of hand-crafted prompt and outperform the state-of-the-art baselines.

Original languageEnglish
Pages (from-to)7259-7272
Number of pages14
JournalNeural Processing Letters
Volume55
Issue number6
DOIs
StatePublished - Dec 2023
Externally publishedYes

Keywords

  • Adaptive prompt learning
  • Natural language processing
  • Sentiment analysis
  • Seq2seq-attention

Fingerprint

Dive into the research topics of 'Adaptive Prompt Learning-Based Few-Shot Sentiment Analysis'. Together they form a unique fingerprint.

Cite this