English

ConsPrompt: Exploiting Contrastive Samples for Fewshot Prompt Learning

Computation and Language 2024-03-13 v3 Artificial Intelligence

Abstract

The prompt has become an effective linguistic tool for utilizing pre-trained language models. However, in few-shot scenarios, subtle changes in the prompt design always make the result widely different, and the prompt learning methods also make it easy to overfit the limited samples. To alleviate this, we explore utilizing suitable contrastive samples and multi-degree contrastive learning methods to improve the robustness of the prompt representation. Therefore, the proposed Consprompt combined with the prompt encoding network, contrastive sampling modules, and contrastive scoring modules, is introduced to realize differential contrastive learning. Our results exhibit state-of-the-art performance in different few-shot settings, and the ablation experiments also certify the effectiveness of utilizing multi-degree contrastive learning in the prompt-based fine-tuning process.

Keywords

Cite

@article{arxiv.2211.04118,
  title  = {ConsPrompt: Exploiting Contrastive Samples for Fewshot Prompt Learning},
  author = {Jinta Weng and Yifan Deng and d Donghao Li and Hao You and Yue Hu and Heyan Huang},
  journal= {arXiv preprint arXiv:2211.04118},
  year   = {2024}
}

Comments

2 figures

R2 v1 2026-06-28T05:24:26.245Z