Evoke:通过审稿人-作者提示编辑在LLM中激发批判性思维能力
Evoke: Evoking Critical Thinking Abilities in LLMs via Reviewer-Author Prompt Editing
AI总结:
提出自动提示优化框架Evoke,通过LLM审稿人与作者反馈循环迭代编辑提示,并结合困难样本数据选择策略,显著提升LLM在逻辑谬误检测等任务上的性能。
摘要:
大型语言模型(LLMs)在自然语言处理领域取得了令人瞩目的进展。这些模型依赖适当的人类指令(或提示)来生成合适的响应。然而,常用提示方法并未充分发挥LLM的潜力:许多人在回路算法采用临时程序进行提示选择;而自动提示生成方法本质上是在随机且低效地搜索所有可能的提示。我们提出了Evoke,一个自动提示优化框架。在Evoke中,同一个LLM有两个实例:一个作为审稿人(LLM-Reviewer),对当前提示进行评分;另一个作为作者(LLM-Author),根据编辑历史和审稿人的反馈来编辑提示。这种作者-审稿人反馈循环确保提示在每次迭代中得到优化。我们进一步将数据选择方法整合到Evoke中,仅将困难样本暴露给LLM。困难样本更为重要,因为LLM能从中发展出对任务更深入的理解,而模型可能已经知道如何解决较简单的案例。实验结果表明,Evoke显著优于现有方法。例如,在逻辑谬误检测这一具有挑战性的任务中,Evoke得分超过80,而所有其他基线方法都难以达到20。
英文摘要:
Large language models (LLMs) have made impressive progress in natural language processing. These models rely on proper human instructions (or prompts) to generate suitable responses. However, the potential of LLMs are not fully harnessed by commonly-used prompting methods: many human-in-the-loop algorithms employ ad-hoc procedures for prompt selection; while auto prompt generation approaches are essentially searching all possible prompts randomly and inefficiently. We propose Evoke, an automatic prompt refinement framework. In Evoke, there are two instances of a same LLM: one as a reviewer (LLM-Reviewer), it scores the current prompt; the other as an author (LLM-Author), it edits the prompt by considering the edit history and the reviewer's feedback. Such an author-reviewer feedback loop ensures that the prompt is refined in each iteration. We further aggregate a data selection approach to Evoke, where only the hard samples are exposed to the LLM. The hard samples are more important because the LLM can develop deeper understanding of the tasks out of them, while the model may already know how to solve the easier cases. Experimental results show that Evoke significantly outperforms existing methods. For instance, in the challenging task of logical fallacy detection, Evoke scores above 80, while all other baseline methods struggle to reach 20.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。