arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.16797cs.CLcs.AIcs.LGcs.NE
收藏

Promptbreeder:通过提示进化实现自指式自我改进

Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolution

Google DeepMind(谷歌DeepMind)

Chrisantha Fernando, Dylan Banarse, Henryk Michalewski, Simon Osindero, Tim Rocktäschel

AI总结:

本文提出 Promptbreeder,一种由 LLM 驱动、同时进化任务提示与变异提示的自指式自我改进方法,在算术、常识推理及仇恨言论分类任务上优于现有提示策略。

摘要:

诸如 Chain-of-Thought Prompting(思维链提示)之类的流行提示策略能够显著提升大型语言模型(LLM)在多个领域中的推理能力。然而,这类手工设计的提示策略往往并非最优。在本文中,我们提出 Promptbreeder,这是一种通用的自指式自我改进机制,可针对给定领域进化并调整提示。Promptbreeder 由 LLM 驱动,对一个任务提示种群进行变异,随后在训练集上评估其适应度。关键在于,这些任务提示的变异由变异提示所支配,而变异提示由 LLM 在整个进化过程中以自指方式生成并改进。也就是说,Promptbreeder 不仅改进任务提示,还改进用于改进这些任务提示的变异提示。在常用的算术和常识推理基准上,Promptbreeder 的表现优于 Chain-of-Thought 和 Plan-and-Solve Prompting 等最先进提示策略。此外,Promptbreeder 还能够为仇恨言论分类这一具有挑战性的问题进化出复杂的任务提示。

英文摘要:

Popular prompt strategies like Chain-of-Thought Prompting can dramatically improve the reasoning abilities of Large Language Models (LLMs) in various domains. However, such hand-crafted prompt-strategies are often sub-optimal. In this paper, we present Promptbreeder, a general-purpose self-referential self-improvement mechanism that evolves and adapts prompts for a given domain. Driven by an LLM, Promptbreeder mutates a population of task-prompts, and subsequently evaluates them for fitness on a training set. Crucially, the mutation of these task-prompts is governed by mutation-prompts that the LLM generates and improves throughout evolution in a self-referential way. That is, Promptbreeder is not just improving task-prompts, but it is also improving the mutationprompts that improve these task-prompts. Promptbreeder outperforms state-of-the-art prompt strategies such as Chain-of-Thought and Plan-and-Solve Prompting on commonly used arithmetic and commonsense reasoning benchmarks. Furthermore, Promptbreeder is able to evolve intricate task-prompts for the challenging problem of hate speech classification.

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

↑