通过面向大型语言模型的协作学习助手从错误中学习
Learning from Mistakes via Cooperative Study Assistant for Large Language Models
AI总结:
提出SALAM框架,通过辅助智能体协助主LLM从错误中学习,在BBH和BBQ上显著提升准确率。
摘要:
大型语言模型(LLMs)已经展示了基于其自身反馈来改进自身的潜力。然而,来自LLM自身的反馈往往不准确,从而限制了其带来的益处。在本文中,我们提出了面向大型语言模型的学习助手(SALAM),这是一种新颖的框架,包含一个辅助智能体,通过交互式协作来协助主LLM从错误中学习。在收集阶段,学生助手智能体对主LLM进行探测,分析其错误,并将交互过程收集到错误记忆中。在考试阶段,学习助手通过检索相关案例来提供指导,以帮助主LLM预见并避免类似错误。我们首先研究了一个通用学习助手的有效性,然后通过从成功的指导经验中进行模仿学习,对其进行定制化以提供针对特定LLM的指导。我们在两个具有挑战性的框架下对三个LLM进行的实验表明,SALAM能够显著提升LLM的性能,在BBH上的准确率提升幅度高达6.6,在BBQ上高达12.0。
英文摘要:
Large language models (LLMs) have demonstrated their potential to refine their generation based on their own feedback. However, the feedback from LLM itself is often inaccurate, thereby limiting its benefits. In this paper, we propose Study Assistant for Large LAnguage Model (SALAM), a novel framework with an auxiliary agent to assist the main LLM in learning from mistakes through interactive cooperation. In the gathering phase, the student assistant agent probes the main LLM, analyzes its errors, and collects the interaction in a mistake memory. During the examination phase, the study assistant provides guidelines by retrieving relevant cases to help the main LLM anticipate and avoid similar errors. We first investigate the effectiveness of a general study assistant and then customize it to provide LLM-specific guidance through imitation learning from successful guidance experiences. Our experiments on three LLMs using two challenging frameworks demonstrate that SALAM can significantly boost LLMs by an accuracy margin of up to 6.6 on BBH and 12.6 on BBQ.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。