arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.08844cs.CL
收藏

RL4F:利用强化学习生成自然语言反馈以修复模型输出

RL4F: Generating Natural Language Feedback with Reinforcement Learning for Repairing Model Outputs

Boston University(波士顿大学);Carnegie Mellon University(卡内基梅隆大学);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);Monash University Indonesia(莫纳什大学印度尼西亚校区)

Afra Feyza Akyürek, Ekin Akyürek, Aman Madaan, Ashwin Kalyan, Peter Clark, Derry Wijaya, Niket Tandon

AI总结:

本文提出多智能体框架 RL4F,用强化学习训练批评生成器,使规模超其 200 倍的固定黑盒模型 GPT-3 能依据自然语言反馈修复输出,并在三类任务上取得最高 10% 的相对提升。

摘要:

尽管语言模型取得了前所未有的成功,但即使是最大的语言模型也会犯错。与人类利用反馈学习和改进的方式类似,先前的工作提出向语言模型提供自然语言反馈,以指导它们修复自身输出。由于获取人工生成的批评成本高昂,研究人员设计了学习型批评生成器来替代人类批评者,并假设可以训练下游模型来利用生成的反馈。然而,这种方法不适用于 ChatGPT 等黑盒或访问受限的模型,因为它们无法被微调。此外,在大型通用语言智能体时代,微调在计算和空间上都缺乏效率,因为它会产生网络的多个副本。在本工作中,我们提出 RL4F(Reinforcement Learning for Feedback,面向反馈的强化学习),这是一个多智能体协作框架,其中批评生成器经过训练,以最大化 GPT-3 的端任务性能;GPT-3 是一个固定模型,规模是该生成器的 200 多倍。RL4F 生成的批评可帮助 GPT-3 修改其输出。我们研究了用于动作规划、摘要和字母排序的三个数据集,并证明在多个文本相似度指标上,相比其他学习型、检索增强或基于提示的批评生成器,相对改进最高可达 10%。

英文摘要:

Despite their unprecedented success, even the largest language models make mistakes. Similar to how humans learn and improve using feedback, previous work proposed providing language models with natural language feedback to guide them in repairing their outputs. Because human-generated critiques are expensive to obtain, researchers have devised learned critique generators in lieu of human critics while assuming one can train downstream models to utilize generated feedback. However, this approach does not apply to black-box or limited access models such as ChatGPT, as they cannot be fine-tuned. Moreover, in the era of large general-purpose language agents, fine-tuning is neither computationally nor spatially efficient as it results in multiple copies of the network. In this work, we introduce RL4F (Reinforcement Learning for Feedback), a multi-agent collaborative framework where the critique generator is trained to maximize end-task performance of GPT-3, a fixed model more than 200 times its size. RL4F produces critiques that help GPT-3 revise its outputs. We study three datasets for action planning, summarization and alphabetization and show relative improvements up to 10% in multiple text similarity metrics over other learned, retrieval-augmented or prompting-based critique generators.

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

↑