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

指令一次,多轮一致聊天:一种高效的对话微调框架

Instruct Once, Chat Consistently in Multiple Rounds: An Efficient Tuning Framework for Dialogue

The Hong Kong Polytechnic University(香港理工大学);Sichuan University(四川大学)

Jian Wang, Chak Tou Leong, Jiashuo Wang, Dongding Lin, Wenjie Li, Xiao-Yong Wei

AI总结:

针对传统微调忽略对话多轮交互与角色差异导致一致性不佳的问题,提出基于双适配器和轮次级记忆缓存机制的Midi-Tuning框架,分别建模智能体与用户角色,显著提升了多轮对话一致性。

摘要:

针对对话生成微调语言模型一直是构建强大对话智能体的主流范式。然而,传统微调狭隘地将对话生成视作与其他语言生成任务类似,忽略了对话本应具备的两个说话者之间的角色差异以及多轮交互过程。这种方式通常会导致构建的智能体聊天一致性不佳。在本研究中,我们强调对话的交互与交际本质,并主张分别对智能体和用户的说话者角色进行建模更为可行,从而使智能体能够始终如一地遵循其角色。基于此,我们提出了一种高效的Multi-round Interactive Dialogue Tuning (Midi-Tuning)框架。该框架通过在大语言模型之上构建的两个适配器,分别对智能体和用户进行独立建模。这些适配器以交替顺序逐轮利用各自的发言,并通过轮次级记忆缓存机制进行微调。大量实验表明,我们的框架性能优于传统微调方法,并在提升对话一致性方面蕴藏着巨大潜力。

英文摘要:

Tuning language models for dialogue generation has been a prevalent paradigm for building capable dialogue agents. Yet, traditional tuning narrowly views dialogue generation as resembling other language generation tasks, ignoring the role disparities between two speakers and the multi-round interactive process that dialogues ought to be. Such a manner often leads to unsatisfactory chat consistency for the built agent. In this work, we emphasize the interactive, communicative nature of dialogue and argue that it is more feasible to model the speaker roles of agent and user separately, enabling the agent to adhere to its role consistently. With this in mind, we propose an efficient Multi-round Interactive Dialogue Tuning (Midi-Tuning) framework. It models the agent and user individually with two adapters built upon large language models. The adapters make use of respective utterances round by round in alternating order and they are tuned via a round-level memory caching mechanism. Extensive experiments demonstrate that, our framework performs superior to traditional fine-tuning and harbors the tremendous potential for improving dialogue consistency.

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

↑