arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.03029cs.CLcs.AI
收藏

通过软提示检索高效增强指令跟随模型的零样本性能

Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt

KAIST(韩国科学技术院)

Seonghyeon Ye, Joel Jang, Doyoung Kim, Yongrae Jo, Minjoon Seo

AI总结:

通过提示调优训练软提示嵌入并检索最接近查询实例的嵌入,仅增加0.007%参数即提升T0在未见任务上的性能,并在BIG-bench上平均准确率提高2.39个百分点。

摘要:

增强指令跟随模型的零样本性能需要大量计算,要么通过扩大训练数据集的总规模,要么通过增大模型规模。在本工作中,我们探索了通过提示调优获得的软提示检索如何高效地辅助硬提示在零样本任务泛化中的表现。具体来说,我们通过提示调优为每个提示训练软提示嵌入,存储与提示嵌入映射的训练实例样本,并在推理时检索与查询实例最接近的训练实例对应的提示嵌入。仅增加0.007%的额外参数,软提示检索即在11个数据集中有10个上超越T0在未见任务上的性能,并在BIG-bench基准上将T0的平均准确率提高了2.39个百分点。此外,我们报告了一个有趣的发现:检索在相似答案选择格式上训练的源嵌入比检索在相似任务类型上训练的源嵌入更为重要。

英文摘要:

Enhancing the zero-shot performance of instruction-following models requires heavy computation, either by scaling the total number of training datasets or the model size. In this work, we explore how retrieval of soft prompts obtained through prompt tuning can efficiently assist hard prompts in zero-shot task generalization. Specifically, we train soft prompt embeddings for each prompt through prompt tuning, store the samples of the training instances mapped with the prompt embeddings, and retrieve the corresponding prompt embedding of the training instance closest to the query instance during inference. While only adding 0.007% additional parameters, retrieval of soft prompt enhances the performance of T0 on unseen tasks by outperforming it on 10 out of 11 datasets as well as improving the mean accuracy of T0 on BIG-bench benchmark by 2.39% points. Also, we report an interesting finding that retrieving source embeddings trained on similar answer choice formats is more important than those on similar task types.

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

↑