Prompt Tuning for Discriminative Pre-trained Language Models

Yuan Yao, Bowen Dong, Ao Zhang, Zhengyan Zhang, Ruobing Xie +4 more
5/23/2022
cs.CLcs.AI
lora-peft-merging

Official code: thunlp/DPT (13 stars, Python, MIT, last commit 2022-05-26).

Abstract

Recent works have shown promising results of prompt tuning in stimulating pre-trained language models (PLMs) for natural language processing (NLP) tasks. However, to the best of our knowledge, existing works focus on prompt-tuning generative PLMs that are pre-trained to generate target tokens, such as BERT.

Show full abstract

It is still unknown whether and how discriminative PLMs, e.g., ELECTRA, can be effectively prompt-tuned. In this work, we present DPT, the first prompt tuning framework for discriminative PLMs, which reformulates NLP tasks into a discriminative language modeling problem. Comprehensive experiments on text classification and question answering show that, compared with vanilla fine-tuning, DPT achieves significantly higher performance, and also prevents the unstable problem in tuning large PLMs in both full-set and low-resource settings. The source code and experiment details of this paper can be obtained from https://github.com/thunlp/DPT.

View on arXivView PDF

Code Implementations(1)

thunlp/DPTOfficial100%
MIT
133Python, DockerfileApr 19, 20224 years agoMIT

Similar Papers

Cite this paper

@article{yao2022prompt,
  title  = {Prompt Tuning for Discriminative Pre-trained Language Models},
  author = {Yuan Yao and Bowen Dong and Ao Zhang and Zhengyan Zhang and Ruobing Xie and Zhiyuan Liu and Leyu Lin and Maosong Sun and Jianyong Wang},
  year   = {2022},
  eprint = {2205.11166},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.11166}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.11166.svg)](https://codeofpaper.com/paper/2205.11166)

Discussion