Differentiable Prompt Makes Pre-trained Language Models Better Few-shot Learners
Zhang, Ningyu, Li, Luoqiu, Chen, Xiang, Deng, Shumin, Bi, Zhen, Tan, Chuanqi, Huang, Fei, Chen, Huajun
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
May-4-2022
- Country:
- North America
- United States
- Texas > Harris County
- Houston (0.04)
- New York > New York County
- New York City (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Texas > Harris County
- Canada > British Columbia
- United States
- Europe
- Asia
- Taiwan > Taiwan Province
- Taipei (0.04)
- China
- Hong Kong (0.04)
- Zhejiang Province
- Taiwan > Taiwan Province
- Africa > Ethiopia
- Addis Ababa > Addis Ababa (0.04)
- North America
- Genre:
- Research Report (0.84)
- Technology: