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

基于语言反馈的大规模语言模型训练

Training Language Models with Language Feedback at Scale

New York University(纽约大学);FAR AI;University of the Basque Country UPV/EHU(巴斯克大学);University of Sussex(萨塞克斯大学);Genentech(基因泰克公司);CIFAR LMB(加拿大高级研究院分子生物学与遗传学实验室);Anthropic(Anthropic公司)

Jérémy Scheurer, Jon Ander Campos, Tomasz Korbak, Jun Shern Chan, Angelica Chen, Kyunghyun Cho, Ethan Perez

AI总结:

本文提出基于语言反馈的模仿学习(ILF),通过生成、选择和微调三个迭代步骤利用信息更丰富的语言反馈训练语言模型,实验表明其性能随数据规模良好扩展并达到人类水平摘要效果。

摘要:

预训练语言模型生成的输出往往不符合人类偏好,例如有害文本或事实错误的摘要。近期工作通过从一种简单的人类反馈形式中学习来解决上述问题:对模型生成输出之间的成对比较。然而,比较反馈仅传递了关于人类偏好的有限信息。在本文中,我们引入了基于语言反馈的模仿学习(ILF),这是一种利用信息更丰富的语言反馈的新方法。ILF 包含三个迭代应用的步骤:首先,以输入、初始语言模型输出和反馈为条件,使语言模型生成改进版本。其次,选择融入了最多反馈的改进版本。第三,微调语言模型,以在给定输入的情况下最大化所选改进版本的似然。我们从理论上证明,ILF 可以被视为贝叶斯推断,类似于基于人类反馈的强化学习。我们在一个精心控制的玩具任务和一个现实的摘要任务上评估了 ILF 的有效性。我们的实验表明,大型语言模型能够准确地融入反馈,并且使用 ILF 进行微调能够随着数据集规模良好扩展,甚至优于在人类摘要上进行微调。同时从语言反馈和比较反馈中学习优于仅从其中一种中学习,达到了人类水平的摘要性能。

英文摘要:

Pretrained language models often generate outputs that are not in line with human preferences, such as harmful text or factually incorrect summaries. Recent work approaches the above issues by learning from a simple form of human feedback: comparisons between pairs of model-generated outputs. However, comparison feedback only conveys limited information about human preferences. In this paper, we introduce Imitation learning from Language Feedback (ILF), a new approach that utilizes more informative language feedback. ILF consists of three steps that are applied iteratively: first, conditioning the language model on the input, an initial LM output, and feedback to generate refinements. Second, selecting the refinement incorporating the most feedback. Third, finetuning the language model to maximize the likelihood of the chosen refinement given the input. We show theoretically that ILF can be viewed as Bayesian Inference, similar to Reinforcement Learning from human feedback. We evaluate ILF's effectiveness on a carefully-controlled toy task and a realistic summarization task. Our experiments demonstrate that large language models accurately incorporate feedback and that finetuning with ILF scales well with the dataset size, even outperforming finetuning on human summaries. Learning from both language and comparison feedback outperforms learning from each alone, achieving human-level summarization performance.

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

↑