计算机科学
稳健性(进化)
重新使用
边距(机器学习)
微调
编码(集合论)
人工智能
语言模型
机器学习
物理
程序设计语言
化学
集合(抽象数据类型)
基因
生物
量子力学
生物化学
生态学
作者
Brian Lester,Rami Al‐Rfou,Noah Constant
标识
DOI:10.18653/v1/2021.emnlp-main.243
摘要
In this work, we explore “prompt tuning,” a simple yet effective mechanism for learning “soft prompts” to condition frozen language models to perform specific downstream tasks. Unlike the discrete text prompts used by GPT-3, soft prompts are learned through backpropagation and can be tuned to incorporate signals from any number of labeled examples. Our end-to-end learned approach outperforms GPT-3’s few-shot learning by a large margin. More remarkably, through ablations on model size using T5, we show that prompt tuning becomes more competitive with scale: as models exceed billions of parameters, our method “closes the gap” and matches the strong performance of model tuning (where all model weights are tuned). This finding is especially relevant because large models are costly to share and serve and the ability to reuse one frozen model for multiple downstream tasks can ease this burden. Our method can be seen as a simplification of the recently proposed “prefix tuning” of Li and Liang (2021) and we provide a comparison to this and other similar approaches. Finally, we show that conditioning a frozen model with soft prompts confers benefits in robustness to domain transfer and enables efficient “prompt ensembling.” We release code and model checkpoints to reproduce our experiments.
科研通智能强力驱动
Strongly Powered by AbleSci AI