[论文解读] Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolution
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.
研究动机与目标
- 促进并实现无需修改模型参数即可进行自动化、领域自适应的提示工程。
- 提出一个自我参照的进化机制,使提示及其变异策略共同进化。
- 表明进化提示在算术、常识推理和仇恨言论任务上带来更优的性能。
- 研究自我参照组件对性能提升的贡献。
提出的方法
- 维持一个进化单元群体,每个单元包含一个或多个任务提示以及一个相关的变异提示。
- 将大语言模型用作变异算子:P' = LLM(M + P),其中 M 是变异提示,P 是任务提示。
- 通过二进制锦标赛遗传算法在多代中进化任务提示和变异提示。
- 使用九种变异算子,涵盖零阶与一阶提示、分布估计、系谱基础、超变异、拉马克式变异,以及交叉/上下文置换等,以促进多样性和自我提升。
- 通过将问题描述与变异提示和思维风格拼接,初始化提示以产生多样的种子提示。
- 通过从领域训练集中抽样100对问答来评估适应度,并衡量提示驱动的表现。

实验结果
研究问题
- RQ1自我参照的提示进化是否能提升LLM在算术、常识推理和伦理基准上的推理能力?
- RQ2同时进化变异提示和任务提示是否比仅进化任务提示更能产生领域自适应的策略?
- RQ3多样化变异算子和超变异对提示质量和性能的影响是什么?
- RQ4通过提示实现自我提升在不修改参数的情况下,是否可随更大规模的LLM实现扩展性?
主要发现
- PB 在多个基准上超越了最先进的提示策略,如 Chain-of-Thought 与 Plan-and-Solve。
- PB 取得强劲的零-shot 和少样本结果,包括在以 PaLM 2-L 作为基础 LLM 时的改进。
- PB 演化出复杂的领域特定提示,例如一个 GSM8K 风格的提示,详细描述步骤和符号。
- 消融分析显示自我参照算子在数学数据集和 ETHOS 仇恨言论分类上均有积极贡献。
- 全部九类变异类型均对性能有贡献,其中超变异促进自我参照改进。
- PB 在仇恨言论分类上展示了对解题方案感知的提示进化,超越了手工设计的提示。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。