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

基于DPO的高效准确的小型大语言模型记忆对话模型

Efficient and Accurate Memorable Conversation Model using DPO based on sLLM

Youngkyung Seo, Yoonseok Heo, Jun-Seok Koh, Du-Seong Chang

AI总结:

本文提出基于sLLM的记忆对话模型,通过SFT、DPO及结合SFT的DPO方法高效管理多轮对话记忆,在准确度和资源利用上均优于两倍参数量的模型。

摘要:

在多轮对话系统中,随着会话进行持续更新记忆至关重要。由于输入句子长度有限,简单累积记忆会使模型难以聚焦对话内容进行推理。因此,需要能够管理记忆以持续反映对话历史的高效且准确的对话模型。本文提出一种对话模型,随着会话进行高效管理记忆并将其融入模型以准确反映对话历史,包含3种方法:SFT、DPO和结合SFT的DPO模型。使用DPO算法的模型在记忆准确度上的BERTScore提升了约0.0591,反映记忆的响应比例也有所增加。此外,响应生成性能在流畅度上提升约4.292,连贯性提升3.935,一致性提升2.896。本文描述的训练方法即使模型尺寸较小,也能产生优于参数量两倍以上模型的性能。因此,我们的模型不仅在准确度上,在资源利用上也展现出高效性。

英文摘要:

In multi-session dialog system, it is essential to continuously update the memory as the session progresses. Simply accumulating memory can make it difficult to focus on the content of the conversation for inference due to the limited input sentence size. Therefore, efficient and accurate conversation model that is capable of managing memory to reflect the conversation history continuously is necessary. This paper presents a conversation model that efficiently manages memory as sessions progress and incorporates this into the model to reflect the conversation history accurately with 3 methodologies: SFT, DPO and DPO with SFT model. Our model using DPO algorithm shows an improvement about 0.0591 of BERTScore in memory accuracy, and the rate of responses reflecting the memory increased as well. Also, response generation performance enhanced about 4.292 in fluency, 3.935 in coherence, and 2.896 in consistency. This paper describes a training method that yields better performance than models with more than twice the parameter size, even when the model size is smaller. Thus, our model demonstrates efficiency not only in terms of accuracy but also in resource utilization.

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

↑