Skip to main navigation Skip to search Skip to main content

StablePT: Towards Stable Prompting for Few-shot Learning via Input Separation

  • Xiaoming Liu
  • , Chen Liu
  • , Zhaohan Zhang
  • , Chengzhengxu Li
  • , Longtian Wang
  • , Yu Lan
  • , Chao Shen
  • Xi'an Jiaotong University
  • Queen Mary University of London

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

3 Scopus citations

Abstract

Large language models have shown their ability to become effective few-shot learners with prompting, revolutionizing the paradigm of learning with data scarcity.However, this approach largely depends on the quality of prompt initialization, and always exhibits large variability among different runs.Such property makes prompt tuning highly unreliable and vulnerable to poorly constructed prompts, which limits its extension to more real-world applications.To tackle this issue, we propose to treat the hard prompt and soft prompt as separate inputs to mitigate noise brought by the prompt initialization.Furthermore, we optimize soft prompts with contrastive learning for utilizing class-aware information in the training process to maintain model performance.Experimental results demonstrate that StablePT outperforms state-of-the-art methods by 6.97% in accuracy and reduces the standard deviation by 1.92 on average.Furthermore, extensive experiments underscore its robustness and stability across 8 datasets covering various tasks.

Original languageEnglish
Title of host publicationEMNLP 2024 - 2024 Conference on Empirical Methods in Natural Language Processing, Findings of EMNLP 2024
EditorsYaser Al-Onaizan, Mohit Bansal, Yun-Nung Chen
PublisherAssociation for Computational Linguistics (ACL)
Pages9259-9273
Number of pages15
ISBN (Electronic)9798891761681
DOIs
StatePublished - 2024
Event2024 Findings of the Association for Computational Linguistics, EMNLP 2024 - Hybrid, Miami, United States
Duration: 12 Nov 2024 → 16 Nov 2024

Publication series

NameEMNLP 2024 - 2024 Conference on Empirical Methods in Natural Language Processing, Findings of EMNLP 2024

Conference

Conference2024 Findings of the Association for Computational Linguistics, EMNLP 2024
Country/TerritoryUnited States
CityHybrid, Miami
Period12/11/24 → 16/11/24

Fingerprint

Dive into the research topics of 'StablePT: Towards Stable Prompting for Few-shot Learning via Input Separation'. Together they form a unique fingerprint.

Cite this