arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2108.13161cs.CLcs.AIcs.CVcs.IRcs.LG
收藏

可区分提示使预训练的语言模型更好地用于Few-Shot学习者

Differentiable Prompt Makes Pre-trained Language Models Better Few-shot Learners

Zhejiang University(浙江大学);Alibaba-Zhejiang University Joint Research Institute of Frontier Technologies(阿里巴巴-浙江大学前沿技术联合研究院);Alibaba Group(阿里巴巴集团)

Ningyu Zhang, Luoqiu Li, Xiang Chen, Shumin Deng, Zhen Bi, Chuanqi Tan, Fei Huang, Huajun Chen

摘要:

大规模预训练语言模型通过展示作为Few-Shot学习者的卓越能力,为自然语言处理做出了重大贡献。然而,它们的有效性主要取决于模型参数的缩放和及时的设计,阻碍了它们在大多数实际应用中的实现。本文提出了一种新的可插入、可扩展、高效的方法DifferentiAble pRompT(DART),它可以将小的语言模型转换为更好的Few-Shot学习器,而无需任何提示工程。这种方法背后的主要原理涉及将潜在的自然语言处理任务重新表达为预先训练的语言模型的任务,并利用反向传播对提示模板和目标标签进行差异化优化。此外,所提出的方法可以:(i)插入任何预先训练的语言模型;(ii)扩展到广泛的分类任务。标准NLP任务的综合评估表明,该方法实现了更好的Few-Shot性能。代码可在https://github.com/zjunlp/DART上找到。

英文摘要:

Large-scale pre-trained language models have contributed significantly to natural language processing by demonstrating remarkable abilities as few-shot learners. However, their effectiveness depends mainly on scaling the model parameters and prompt design, hindering their implementation in most real-world applications. This study proposes a novel pluggable, extensible, and efficient approach named DifferentiAble pRompT (DART), which can convert small language models into better few-shot learners without any prompt engineering. The main principle behind this approach involves reformulating potential natural language processing tasks into the task of a pre-trained language model and differentially optimizing the prompt template as well as the target label with backpropagation. Furthermore, the proposed approach can be: (i) Plugged to any pre-trained language models; (ii) Extended to widespread classification tasks. A comprehensive evaluation of standard NLP tasks demonstrates that the proposed approach achieves a better few-shot performance. Code is available in https://github.com/zjunlp/DART.

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

↑