arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.13522cs.CL
收藏

通过交互式演示教会语言模型自我改进

Teaching Language Models to Self-Improve through Interactive Demonstrations

Columbia University(哥伦比亚大学);Microsoft Research(微软研究院)

Xiao Yu, Baolin Peng, Michel Galley, Jianfeng Gao, Zhou Yu

AI总结:

本文提出TriPosT训练算法,通过让较小模型与大型语言模型交互收集反馈并回放纠错经验,赋予小模型自我改进能力,在数学和推理任务上最高提升7.13%。

摘要:

大型语言模型(LLMs)通过提示其分析和修改自身输出而具备的自我改进能力,在近期研究中引起了广泛关注。然而,已有研究表明,较小规模的模型缺乏这种能力且难以学习,从而拉大了最先进LLMs与更具成本效益和速度优势的较小模型之间的性能差距。为缩小这一差距,我们提出了TriPosT,一种训练算法,赋予较小模型这种自我改进能力,并表明我们的方法可将LLaMA-7b在数学和推理任务上的性能提升最高达7.13%。与先前工作不同,我们通过让较小模型与LLMs交互来收集关于其自身生成结果的反馈和改进,从而实现这一目标。随后,我们回放这些经验来训练小模型。我们在四个数学和推理数据集上的实验表明,从自身错误中学习并纠正错误的交互式经验对于小模型提升性能至关重要。

英文摘要:

The self-improving ability of large language models (LLMs), enabled by prompting them to analyze and revise their own outputs, has garnered significant interest in recent research. However, this ability has been shown to be absent and difficult to learn for smaller models, thus widening the performance gap between state-of-the-art LLMs and more cost-effective and faster ones. To reduce this gap, we introduce TriPosT, a training algorithm that endows smaller models with such self-improvement ability, and show that our approach can improve a LLaMA-7b's performance on math and reasoning tasks by up to 7.13%. In contrast to prior work, we achieve this by using the smaller model to interact with LLMs to collect feedback and improvements on its own generations. We then replay this experience to train the small model. Our experiments on four math and reasoning datasets show that the interactive experience of learning from and correcting its own mistakes is crucial for small models to improve their performance.

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

↑