paper-with-me

홈 › Papers

Making Pre-trained Language Models End-to-end Few-shot Learners with Contrastive Prompt Tuning

2022-04-01 · Ziyun Xu, Chengyu Wang, Minghui Qiu, Fuli Luo, Runxin Xu, Songfang Huang, Jun Huang

Pre-trained Language Models (PLMs) have achieved remarkable performance for various language understanding tasks in IR systems, which require the fine-tuning process based on labeled training data. For low-resource scenarios, prompt-based learning for PLMs exploits prompts as task guidance and turns downstream tasks into masked language problems for effective few-shot fine-tuning. In most existing approaches, the high performance of prompt-based learning heavily relies on handcrafted prompts and verbalizers, which may limit the application of such approaches in real-world scenarios. To solve this issue, we present CP-Tuning, the first end-to-end Contrastive Prompt Tuning framework for fine-tuning PLMs without any manual engineering of task-specific prompts and verbalizers. It is integrated with the task-invariant continuous prompt encoding technique with fully trainable prompt parameters. We further propose the pair-wise cost-sensitive contrastive learning procedure to optimize the model in order to achieve verbalizer-free class mapping and enhance the task-invariance of prompts. It explicitly learns to distinguish different classes and makes the decision boundary smoother by assigning different costs to easy and hard cases. Experiments over a variety of language understanding tasks used in IR systems and different PLMs show that CP-Tuning outperforms state-of-the-art methods.

📄 PDF Abstract BibTeX arXiv:2204.00166

Code (1)

alibaba/EasyNLP/tree/master/examples/fewshot_learning 공식 구현 jax

Tasks

Contrastive Learning

Methods 이 논문이 사용한 방법론

Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

Making Pre-trained Language Models End-to-end Few-shot Learners with Contrastive Prompt Tuning

2021-10-16 · ACL ARR October 2021 10 · Anonymous

Prompt-based learning for Pre-trained Language Models (PLMs) has achieved remarkable performance in few-shot learning by exploiting prompts as task guidance and turning downstream tasks into masked language problems. In …

Few-Shot Learning

Contrastive Learning for Prompt-Based Few-Shot Language Learners

2022-05-03 · NAACL 2022 7 · Yiren Jian, Chongyang Gao, Soroush Vosoughi

The impressive performance of GPT-3 using natural language prompts and in-context learning has inspired work on better fine-tuning of moderately-sized models under this paradigm. Following this line of work, we present a…

Contrastive LearningIn-Context LearningLanguage ModelingLanguage Modelling+1

Making Pretrained Language Models Good Long-tailed Learners

2022-05-11 · Chen Zhang, Lei Ren, Jingang Wang, Wei Wu 외

Prompt-tuning has shown appealing performance in few-shot classification by virtue of its capability in effectively exploiting pre-trained knowledge. This motivates us to check the hypothesis that prompt-tuning is also a…

Classification

LMTurk: Few-Shot Learners as Crowdsourcing Workers

2022-01-16 · ACL ARR January 2022 1 · Anonymous

Vast efforts have been devoted to creating high-performance few-shot learners, i.e., large-scale pretrained language models (PLMs) that perform well with little downstream task training data. Training PLMs has incurred …

LMTurk: Few-Shot Learners as Crowdsourcing Workers in a Language-Model-as-a-Service Framework

2021-12-14 · Findings (NAACL) 2022 7 · Mengjie Zhao, Fei Mi, Yasheng Wang, Minglei Li 외

Vast efforts have been devoted to creating high-performance few-shot learners, i.e., large-scale pretrained language models (PLMs) that perform well with little downstream task training data. Training PLMs has incurred s…

Active LearningLanguage ModelingLanguage Modelling