大语言模型(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/.
Two Timin': Repairing Smart Contracts With A Two-Layered Approach
Westborough High School(韦斯特伯勒高中);Sunset High School(森塞特高中);Granite Bay High School(格拉尼特贝高中);Lakeside School(湖滨学校);Bellarmine College Preparatory(贝拉明大学预科学校);Robbinsville High School(罗宾斯维尔高中);University of Illinois(伊利诺伊大学)
Guided by Trajectories: Repairing and Rewarding Tool-Use Trajectories for Tool-Integrated Reasoning
School of Computer Science and Engineering, Southeast University, Nanjing, China(东南大学计算机科学与工程学院);Key Lab. of Computer Network and Information Integration (Southeast University), MOE, China(计算机网络与信息集成重点实验室(东南大学));State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China, Hefei, China(认知智能国家重点实验室(中国科学技术大学))
Diagnosing and Repairing Unsafe Channels in Vision-Language Models via Causal Discovery and Dual-Modal Safety Subspace Projection
Beijing University of Posts and Telecommunications(北京邮电大学);Huawei Technologies Ltd.(华为技术有限公司);Peking University(北京大学);Chongqing University of Posts and Telecommunications(重庆邮电大学)
Zhejiang University(浙江大学);Singapore Management University(新加坡管理大学);Singapore University of Technology and Design(新加坡科技设计大学);Huawei International Pte. Ltd.(华为国际有限公司);National University of Singapore(新加坡国立大学)
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(莫纳什大学印度尼西亚校区)