Self-Refine:基于自我反馈的迭代精炼方法
Self-Refine: Iterative Refinement with Self-Feedback
AI总结:
本文提出 Self-Refine 方法,让单个大语言模型通过自我反馈和迭代精炼来改进初始输出,无需额外训练,在 7 个任务上平均提升约 20% 性能。
摘要:
与人类相似,大语言模型(LLMs)并不总能在第一次尝试时就生成最佳输出。受人类修改书面文本方式的启发,我们提出了 Self-Refine,这是一种通过迭代反馈和精炼来改进 LLMs 初始输出的方法。其核心思想是:先使用一个 LLM 生成初始输出;然后,由同一个 LLM 对其输出提供反馈,并利用这些反馈对自身进行迭代精炼。Self-Refine 不需要任何监督训练数据、额外训练或强化学习,而是使用单个 LLM 同时充当生成器、精炼器和反馈提供者。我们在 7 个不同任务上评估了 Self-Refine,任务范围涵盖对话回复生成到数学推理,并使用了当前最先进的 LLMs(GPT-3.5、ChatGPT 和 GPT-4)。在所有评估任务中,与使用相同 LLM 进行传统一步生成相比,使用 Self-Refine 生成的输出在人类评估和自动指标上都更受青睐,任务性能平均绝对提升约 20%。我们的工作表明,即使是像 GPT-4 这样最先进的 LLMs,也可以在测试时通过我们这种简单、独立的方法得到进一步改进。
英文摘要:
Like humans, large language models (LLMs) do not always generate the best output on their first try. Motivated by how humans refine their written text, we introduce Self-Refine, an approach for improving initial outputs from LLMs through iterative feedback and refinement. The main idea is to generate an initial output using an LLMs; then, the same LLMs provides feedback for its output and uses it to refine itself, iteratively. Self-Refine does not require any supervised training data, additional training, or reinforcement learning, and instead uses a single LLM as the generator, refiner, and feedback provider. We evaluate Self-Refine across 7 diverse tasks, ranging from dialog response generation to mathematical reasoning, using state-of-the-art (GPT-3.5, ChatGPT, and GPT-4) LLMs. Across all evaluated tasks, outputs generated with Self-Refine are preferred by humans and automatic metrics over those generated with the same LLM using conventional one-step generation, improving by ~20% absolute on average in task performance. Our work demonstrates that even state-of-the-art LLMs like GPT-4 can be further improved at test time using our simple, standalone approach.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。