arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.11166cs.CLcs.AI
收藏

区分性预训练语言模型的提示微调

Prompt Tuning for Discriminative Pre-trained Language Models

Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);National University of Singapore(新加坡国立大学);Tencent(腾讯)

Yuan Yao, Bowen Dong, Ao Zhang, Zhengyan Zhang, Ruobing Xie, Zhiyuan Liu, Leyu Lin, Maosong Sun, Jianyong Wang

摘要:

最近的工作表明,在刺激预训练的语言模型(PLM)的自然语言处理(NLP)任务的提示微调有前途的结果。然而,据我们所知,现有的工作集中在预训练生成目标令牌,如BERT的自动调整生成PLM。目前还不清楚是否以及如何区分PLM,例如,ELECTRA,可以有效地调谐。在这项工作中,我们提出了DPT,歧视性PLM的第一个提示微调框架,它将NLP任务重新表述为歧视性语言建模问题。文本分类和问答的综合实验表明,与普通的微调相比,DPT的性能显著提高,同时也避免了在全集合和低资源环境下调优大型PLM时出现的不稳定问题。本文的源代码和实验细节可以从https://github.com/thunlp/DPT获得。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑