arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.10258cs.CL
收藏

持续的预训练可提高零次和Few-Shot可重复性

Continued Pretraining for Better Zero- and Few-Shot Promptability

MIT(麻省理工学院);Dataminr Inc.(Dataminr公司);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);University of California, Irvine(加州大学欧文分校)

Zhaofeng Wu, Robert L. Logan, Pete Walsh, Akshita Bhagia, Dirk Groeneveld, Sameer Singh, Iz Beltagy

摘要:

最近引入的语言模型提示方法可以在零和Few-Shot设置中实现高准确度,同时需要很少或不需要学习的任务特定参数。尽管如此,这些方法仍然经常落后于完整的模型微调。在这项工作中,我们调查了一个专门的持续预训练阶段是否可以提高“可重复性”,即,自然语言提示的zero-shot性能或提示微调的Few-Shot性能。我们揭示了现有的持续预训练方法缺乏可重复性的设置。我们还确定了目前的方法差距,我们填补了彻底的大规模实验。我们证明了一个简单的配方,持续的预训练,在多任务学习过程中结合了可训练的提示,导致改善的可重复性在零和Few-Shot设置相比,现有的方法,高达31%的相对。另一方面,我们发现使用MAML风格的元学习(一种直接优化Few-Shot可重复性的方法)进行持续的预训练会产生低于标准的性能。我们用两种提示微调方法验证了我们的发现,并根据我们的结果,提供了具体的建议,以优化不同用例的可扩展性。

英文摘要:

Recently introduced language model prompting methods can achieve high accuracy in zero- and few-shot settings while requiring few to no learned task-specific parameters. Nevertheless, these methods still often trail behind full model finetuning. In this work, we investigate if a dedicated continued pretraining stage could improve "promptability", i.e., zero-shot performance with natural language prompts or few-shot performance with prompt tuning. We reveal settings where existing continued pretraining methods lack promptability. We also identify current methodological gaps, which we fill with thorough large-scale experiments. We demonstrate that a simple recipe, continued pretraining that incorporates a trainable prompt during multi-task learning, leads to improved promptability in both zero- and few-shot settings compared to existing methods, up to 31% relative. On the other hand, we find that continued pretraining using MAML-style meta-learning, a method that directly optimizes few-shot promptability, yields subpar performance. We validate our findings with two prompt tuning methods, and, based on our results, we provide concrete recommendations to optimize promptability for different use cases.

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

↑