STT:用于Few-Shot自适应的软模板调整
STT: Soft Template Tuning for Few-Shot Adaptation
摘要:
提示微调是一种非常有效的工具,可以使预先训练的模型适应下游任务。然而,标准的基于任务的方法主要考虑下游任务有足够数据的情况。目前还不清楚这种优势是否可以转移到Few-Shot制度,其中只有有限的数据可用于每个下游任务。虽然一些工作已经证明了在Few-Shot设置下的快速调整的潜力,但是通过搜索离散提示或在有限数据下调整软提示的主流方法仍然非常具有挑战性。通过大量的实证研究,我们发现对于少样本学习,提示微调和完全微调之间仍然存在差距。为了弥补这一差距,我们提出了一个新的非线性调优框架,称为软模板调优(STT)。STT结合了手动和自动提示,并将下游分类任务视为掩码语言建模任务。对不同设置的综合评价表明,STT可以在不引入额外参数的情况下缩小微调方法和基于自适应的方法之间的差距。值得注意的是,它甚至可以在情感分类任务上优于耗时和资源消耗的微调方法。
英文摘要:
Prompt tuning has been an extremely effective tool to adapt a pre-trained model to downstream tasks. However, standard prompt-based methods mainly consider the case of sufficient data of downstream tasks. It is still unclear whether the advantage can be transferred to the few-shot regime, where only limited data are available for each downstream task. Although some works have demonstrated the potential of prompt-tuning under the few-shot setting, the main stream methods via searching discrete prompts or tuning soft prompts with limited data are still very challenging. Through extensive empirical studies, we find that there is still a gap between prompt tuning and fully fine-tuning for few-shot learning. To bridge the gap, we propose a new prompt-tuning framework, called Soft Template Tuning (STT). STT combines manual and auto prompts, and treats downstream classification tasks as a masked language modeling task. Comprehensive evaluation on different settings suggests STT can close the gap between fine-tuning and prompt-based methods without introducing additional parameters. Significantly, it can even outperform the time- and resource-consuming fine-tuning method on sentiment classification tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。