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
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.
Learning to Repair: Repairing model output errors after deployment using a dynamic memory of feedback
Allen Institute for Artificial Intelligence(艾伦人工智能研究所);Carnegie Mellon University(卡内基梅隆大学)
大语言模型(LM)虽然功能强大,但也不能避免错误,而且很难重新训练。我们的目标是让LM在部署后继续改进,而不需要再培训,使用用户的反馈。我们的方法将LM与(i)用户识别输出错误并提供如何纠正错误的一般反馈的情况的不断增长的记忆(ii)校正模型,经过训练将此一般反馈转化为特定的编辑以修复模型输出。给定一个新的、看不见的输入,我们的模型可以使用来自过去类似案例的反馈来修复可能发生的输出错误。我们使用一个现有的、固定的脚本生成模型来实例化我们的方法,该模型采用一个目标(例如,“bake a cake”),并生成一个部分有序的动作序列来实现该目标,有时包含错误。我们的记忆增强系统FBNet学习应用用户反馈来修复此类错误(最多提高30分),同时开始避免在新的、看不见的示例中出现类似的过去错误(在受控设置中最多提高7分)。这是加强已部署模型的第一步,有可能扩大其效用。我们的代码和数据可在https://github.com/allenai/interscript/上获得。
Mutual Enhancement of Large Language and Reinforcement Learning Models through Bi-Directional Feedback Mechanisms: A Planning Case Study
Technical University of Munich(慕尼黑工业大学);Peking University(北京大学);BIGAI(北京智源人工智能研究院);King's College London(伦敦国王学院);Tongji University(同济大学);University College London(伦敦大学学院)