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

FPT:通过渐进式训练提高提示微调效率

FPT: Improving Prompt Tuning Efficiency via Progressive Training

Tsinghua University(清华大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Jiangsu Collaborative Innovation Center for Language Ability(江苏语言能力协同创新中心)

Yufei Huang, Yujia Qin, Huadong Wang, Yichun Yin, Maosong Sun, Zhiyuan Liu, Qun Liu

摘要:

最近,提示微调(PT)作为一种参数高效的预训练语言模型(PLM)调优方法得到了越来越多的关注。尽管PT大大减少了可调参数的数量,并取得了令人满意的性能,但由于其收敛速度慢,训练效率低下。为了提高PT的培训效率,我们首先对“部分PLM”的即时可转移性进行了一些新的观察,“部分PLM”是通过在深度或宽度上压缩PLM来定义的。我们观察到,软提示学习不同的部分PLM的各种大小是相似的参数空间,这意味着这些软提示可能会被转移部分PLM之间。受这些观察结果的启发,我们提出了快速提示微调(FPT),它首先使用小规模的部分PLM进行PT,然后逐步扩展其深度和宽度,直到完整的模型尺寸。在每次扩展之后,我们回收先前学习的软提示作为放大的部分PLM的初始化,然后继续PT。我们在5个任务上证明了FPT的可行性,并表明FPT可以节省超过30%的训练计算,同时实现相当的性能。

英文摘要:

Recently, prompt tuning (PT) has gained increasing attention as a parameter-efficient way of tuning pre-trained language models (PLMs). Despite extensively reducing the number of tunable parameters and achieving satisfying performance, PT is training-inefficient due to its slow convergence. To improve PT's training efficiency, we first make some novel observations about the prompt transferability of "partial PLMs", which are defined by compressing a PLM in depth or width. We observe that the soft prompts learned by different partial PLMs of various sizes are similar in the parameter space, implying that these soft prompts could potentially be transferred among partial PLMs. Inspired by these observations, we propose Fast Prompt Tuning (FPT), which starts by conducting PT using a small-scale partial PLM, and then progressively expands its depth and width until the full-model size. After each expansion, we recycle the previously learned soft prompts as initialization for the enlarged partial PLM and then proceed PT. We demonstrate the feasibility of FPT on 5 tasks and show that FPT could save over 30% training computations while achieving comparable performance.

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

↑