arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.09737cs.CLcs.AI
收藏

学习修复:使用反馈的动态记忆在部署后修复模型输出错误

Learning to Repair: Repairing model output errors after deployment using a dynamic memory of feedback

Allen Institute for Artificial Intelligence(艾伦人工智能研究所);Carnegie Mellon University(卡内基梅隆大学)

Niket Tandon, Aman Madaan, Peter Clark, Yiming Yang

摘要:

大语言模型(LM)虽然功能强大,但也不能避免错误,而且很难重新训练。我们的目标是让LM在部署后继续改进,而不需要再培训,使用用户的反馈。我们的方法将LM与(i)用户识别输出错误并提供如何纠正错误的一般反馈的情况的不断增长的记忆(ii)校正模型,经过训练将此一般反馈转化为特定的编辑以修复模型输出。给定一个新的、看不见的输入,我们的模型可以使用来自过去类似案例的反馈来修复可能发生的输出错误。我们使用一个现有的、固定的脚本生成模型来实例化我们的方法,该模型采用一个目标(例如,“bake a cake”),并生成一个部分有序的动作序列来实现该目标,有时包含错误。我们的记忆增强系统FBNet学习应用用户反馈来修复此类错误(最多提高30分),同时开始避免在新的、看不见的示例中出现类似的过去错误(在受控设置中最多提高7分)。这是加强已部署模型的第一步,有可能扩大其效用。我们的代码和数据可在https://github.com/allenai/interscript/上获得。

英文摘要:

Large language models (LMs), while powerful, are not immune to mistakes, but can be difficult to retrain. Our goal is for an LM to continue to improve after deployment, without retraining, using feedback from the user. Our approach pairs an LM with (i) a growing memory of cases where the user identified an output error and provided general feedback on how to correct it (ii) a corrector model, trained to translate this general feedback into specific edits to repair the model output. Given a new, unseen input, our model can then use feedback from similar, past cases to repair output errors that may occur. We instantiate our approach using an existing, fixed model for script generation, that takes a goal (e.g., "bake a cake") and generates a partially ordered sequence of actions to achieve that goal, sometimes containing errors. Our memory-enhanced system, FBNet, learns to apply user feedback to repair such errors (up to 30 points improvement), while making a start at avoiding similar past mistakes on new, unseen examples (up to 7 points improvement in a controlled setting). This is a first step towards strengthening deployed models, potentially broadening their utility. Our code and data is available at https://github.com/allenai/interscript/.

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

↑