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

实例需要更多关注:通过LLMs在环重写实例提示可获得更优的零样本性能

Instances Need More Care: Rewriting Prompts for Instances with LLMs in the Loop Yields Better Zero-Shot Performance

George Mason University(乔治梅森大学);University of Iowa(爱荷华大学)

Saurabh Srivastava, Chengyue Huang, Weiguo Fan, Ziyu Yao

AI总结:

本文提出PRomPTed方法,通过LLMs在环为每个任务实例重写提示,在13个数据集和10种任务类型上显著提升零样本性能,并证明较弱模型重写提示可监督更强模型。

摘要:

大型语言模型(LLMs)已经彻底改变了零样本任务性能,减少了对任务特定标注的需求,同时增强了任务泛化能力。尽管取得了这些进展,当前使用诸如“让我们逐步思考”等触发短语的方法仍然存在局限。本研究提出了PRomPTed,这是一种以创新的“LLMs在环”方式针对单个任务实例优化零样本提示的方法。我们基于GPT-4对13个数据集和10种任务类型进行的综合评估表明,PRomPTed显著优于朴素的零样本方法以及一个强基线(即“输出精炼”,该方法精炼任务输出而非输入提示)。我们的实验结果还证实了这一优势可以泛化到相对较弱的GPT-3.5。更令人感兴趣的是,我们发现利用GPT-3.5为更强的GPT-4重写提示,不仅能够达到与使用GPT-4作为提示重写器相当的效果,有时甚至超过后者。因此,我们的研究不仅在提升零样本LLM性能方面具有巨大价值,还可能实现用较弱模型监督较强LLM的能力,这一能力近来引起了广泛关注。最后,我们的补充实验证实了这些优势可以泛化到开源LLM,如Mistral 7B和Mixtral 8x7B。

英文摘要:

Large language models (LLMs) have revolutionized zero-shot task performance, mitigating the need for task-specific annotations while enhancing task generalizability. Despite its advancements, current methods using trigger phrases such as "Let's think step by step" remain limited. This study introduces PRomPTed, an approach that optimizes the zero-shot prompts for individual task instances following an innovative manner of "LLMs in the loop". Our comprehensive evaluation across 13 datasets and 10 task types based on GPT-4 reveals that PRomPTed significantly outperforms both the naive zero-shot approaches and a strong baseline (i.e., "Output Refinement") which refines the task output instead of the input prompt. Our experimental results also confirmed the generalization of this advantage to the relatively weaker GPT-3.5. Even more intriguingly, we found that leveraging GPT-3.5 to rewrite prompts for the stronger GPT-4 not only matches but occasionally exceeds the efficacy of using GPT-4 as the prompt rewriter. Our research thus presents a huge value in not only enhancing zero-shot LLM performance but also potentially enabling supervising LLMs with their weaker counterparts, a capability attracting much interest recently. Finally, our additional experiments confirm the generalization of the advantages to open-source LLMs such as Mistral 7B and Mixtral 8x7B.

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

↑