arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2308.08239cs.CL
收藏

MemoChat:微调大语言模型以使用备忘录实现一致的长程开放域对话

MemoChat: Tuning LLMs to Use Memos for Consistent Long-Range Open-Domain Conversation

University of Warwick(华威大学);Tecent YouTu Lab(腾讯YouTube实验室);King’s College London(伦敦国王学院)

Junru Lu, Siyu An, Mingbao Lin, Gabriele Pergola, Yulan He, Di Yin, Xing Sun, Yunsheng Wu

AI总结:

本研究提出MemoChat流程,通过为大语言模型设计分阶段定制微调指令,使其借助结构化备忘录的“记忆-检索-响应”循环实现长程开放域对话一致性,在多场景实验中表现优于强基线。

摘要:

我们提出MemoChat,这是一种用于优化指令的流程,能让大语言模型(LLMs)有效利用自撰写的备忘录来维持一致的长程开放域对话。我们通过迭代的“记忆-检索-响应”循环实现长程开放域对话,这需要我们为每个不同阶段精心设计定制化的微调指令。这些指令由一批公开数据集重构而来,用于教导LLMs借助结构化备忘录记忆和检索过往对话,从而提升后续对话中的一致性。我们邀请专家手动标注了一个用于评估长程对话问题一致性的测试集。在涵盖开源和API可访问的大规模聊天机器人的三种测试场景下的实验验证了MemoChat的有效性,其表现优于强基线模型。我们的代码、数据和模型可在此获取:https://github.com/LuJunru/MemoChat。

英文摘要:

We propose MemoChat, a pipeline for refining instructions that enables large language models (LLMs) to effectively employ self-composed memos for maintaining consistent long-range open-domain conversations. We demonstrate a long-range open-domain conversation through iterative "memorization-retrieval-response" cycles. This requires us to carefully design tailored tuning instructions for each distinct stage. The instructions are reconstructed from a collection of public datasets to teach the LLMs to memorize and retrieve past dialogues with structured memos, leading to enhanced consistency when participating in future conversations. We invite experts to manually annotate a test set designed to evaluate the consistency of long-range conversations questions. Experiments on three testing scenarios involving both open-source and API-accessible chatbots at scale verify the efficacy of MemoChat, which outperforms strong baselines. Our codes, data and models are available here: https://github.com/LuJunru/MemoChat.

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

↑