arXiv · 2211.04118
ConsPrompt: Exploiting Contrastive Samples for Fewshot Prompt Learning
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.
Explore related subjects
Keep this discovery
Jinta Weng, Yifan Deng, d Donghao Li, Hao You, Yue Hu, Heyan Huang. 2022-11-08. ConsPrompt: Exploiting Contrastive Samples for Fewshot Prompt Learning. https://arxiv.org/abs/2211.04118
Cite the original work for its findings. Save a collection to share your selection of sources.