[论文解读] ChatPLUG: Open-Domain Generative Dialogue System with Internet-Augmented Instruction Tuning for Digital Human
ChatPLUG 是一个用于数字人的中文开放域生成式对话系统,采用互联网增强的指令微调技术,整合开放世界知识、个性、共情能力及多轮记忆。其在自动评估与人工评估中均达到最先进水平,在真实智能音箱部署中,13B 版本用户满意度超过 90%。
In this paper, we present ChatPLUG, a Chinese open-domain dialogue system for digital human applications that instruction finetunes on a wide range of dialogue tasks in a unified internet-augmented format. Different from other open-domain dialogue models that focus on large-scale pre-training and scaling up model size or dialogue corpus, we aim to build a powerful and practical dialogue system for digital human with diverse skills and good multi-task generalization by internet-augmented instruction tuning. To this end, we first conduct large-scale pre-training on both common document corpus and dialogue data with curriculum learning, so as to inject various world knowledge and dialogue abilities into ChatPLUG. Then, we collect a wide range of dialogue tasks spanning diverse features of knowledge, personality, multi-turn memory, and empathy, on which we further instruction tune \modelname via unified natural language instruction templates. External knowledge from an internet search is also used during instruction finetuning for alleviating the problem of knowledge hallucinations. We show that \modelname outperforms state-of-the-art Chinese dialogue systems on both automatic and human evaluation, and demonstrates strong multi-task generalization on a variety of text understanding and generation tasks. In addition, we deploy \modelname to real-world applications such as Smart Speaker and Instant Message applications with fast inference. Our models and code will be made publicly available on ModelScope: https://modelscope.cn/models/damo/ChatPLUG-3.7B and Github: https://github.com/X-PLUG/ChatPLUG .
研究动机与目标
- 开发一种实用的、多技能的对话系统,用于数字人应用,支持开放世界知识、独特个性及多轮记忆。
- 解决现有模型在知识幻觉和跨多样化对话任务泛化能力差方面的局限性。
- 通过在推理阶段集成外部互联网搜索,实现实时、事实准确的响应。
- 通过统一的指令微调方法,实现文本理解与生成任务之间的强大多任务泛化能力。
- 在智能音箱和即时通讯等真实应用场景中实现高效部署,具备低延迟特性。
提出的方法
- 使用课程学习策略,在通用文档和对话语料上进行大规模预训练,以注入世界知识和对话能力。
- 收集涵盖知识、个性、共情和记忆等多方面的多样化对话数据集,每类数据均采用统一的自然语言指令模板进行构建。
- 在这些特定任务的数据集混合体上应用指令微调,采用融合解码器(FiD)架构,整合查询、对话历史、检索到的知识及个性嵌入。
- 在推理阶段集成实时互联网搜索作为检索模块,以提升事实准确性与信息时效性。
- 使用 Allspark 推理引擎并结合优化技术(如注意力融合、GEMM/GEMV 内核)在 A100 GPU 上实现最高达 5.2 倍的加速。
- 通过机器人配置文件设置与提示工程,实现灵活的个性与风格定制,支持角色扮演与方言适配。
实验结果
研究问题
- RQ1互联网增强的指令微调能否有效提升开放域中文对话系统中的事实一致性与知识准确性?
- RQ2单一统一的指令微调框架在多方面对话技能(如个性、共情、记忆)上实现多任务泛化的程度如何?
- RQ3在推理阶段集成实时搜索与仅依赖静态知识的模型相比,对响应质量与正确性的影响如何?
- RQ4大规模指令微调的对话模型是否能够实现高性能与低延迟,从而适用于生产环境中的真实部署?
- RQ5该模型通过基于提示与配置文件的设置,在支持可定制对话风格与角色扮演方面的能力程度如何?
主要发现
- ChatPLUG-13B 在真实智能音箱部署中用户满意度超过 90%,显著优于原始模型。
- ChatPLUG-3.7B 在参数更少的情况下优于 BELLE-7B-2M,并在人工评估中达到与 ChatGLM-6B 相当的性能。
- 互联网搜索的集成提升了知识正确性,支持信息更新,减少了幻觉现象。
- 该模型展现出强大的多任务泛化能力,在多样化的文本理解与生成任务中表现优异。
- 通过 Allspark 优化,13B 模型在 A100 GPU 上实现 0.915 秒延迟(提升 4.7 倍),支持实时推理,首 token 响应时间仅 0.25 秒。
- 系统支持灵活的对话风格与角色定制,包括方言与角色扮演,可通过提示与配置文件实现。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。