首页 | 官方网站   微博 | 高级检索  
     

基于情感变量的二阶段对话生成模型
引用本文:冯广敬,刘箴,刘婷婷,许根,庄寅,王媛怡,柴艳杰. 基于情感变量的二阶段对话生成模型[J]. 中文信息学报, 2022, 36(5): 102-111
作者姓名:冯广敬  刘箴  刘婷婷  许根  庄寅  王媛怡  柴艳杰
作者单位:1.宁波大学 信息科学与工程学院,浙江 宁波 315211;
2.宁波大学科学技术学院 信息工程学院,浙江 慈溪 315300;
3.中国科学院宁波材料技术与工程研究所 先进制造技术研究所,浙江 宁波 315201
基金项目:宁波市科技计划项目(2019B10032,2021S091)
摘    要:情感对话生成是近年来自然语言处理任务中的热门方向之一,生成带有情感色彩的响应能提高人机间的互动性。现有的情感对话生成模型情感变量单一,容易生成枯燥的响应。为确保响应语句不仅语义逻辑正确且具有多样性,该文提出了二阶段对话生成模型。第一阶段,利用DialoGPT强大的语言理解能力来确保生成语义正确的响应;为解决响应枯燥单调的缺点,该文提出融合主情感变量和混合情感变量作为全局情感变量用于后续操作;第二阶段,在第一阶段生成的响应基础上,利用全局情感变量对语句进行重写操作,从而生成高质量的响应。实验结果表明,该文提出的模型在Empathetic Dialogues数据集上的响应质量要优于基线模型。

关 键 词:对话生成  二阶段  主情感  混合情感  多样性  

A Two-Stage Dialogue Generation Model Based on Affective Variables
FENG Guangjing,LIU Zhen,LIU Tingting,XU Gen,ZHUANG Yin,WANG Yuanyi,CHAI Yanjie. A Two-Stage Dialogue Generation Model Based on Affective Variables[J]. Journal of Chinese Information Processing, 2022, 36(5): 102-111
Authors:FENG Guangjing  LIU Zhen  LIU Tingting  XU Gen  ZHUANG Yin  WANG Yuanyi  CHAI Yanjie
Affiliation:1.Faculty of Electrical Engineering and Computer Science, Ningbo University, Ningbo, Zhejiang 315211, China;
2.Faculty of Information Engineering,College of Science and Technology Ningbo University, Cixi, Zhejiang 315300, China;
3.Institute of Advanced Manufacturing Technology, Ningbo Institute of Materials Technology & Engineering, CAS, Ningbo, Zhejiang 315201, China
Abstract:Emotional dialogue generation has become one of the popular topics in natural language processing. It can improve the interaction between human and computer, but existing affective dialogue generation models only use a single affective variable and is easy to generate boring responses. To ensure the response sentences are not only semantically correct but also diversified, a two-stage dialogue generation model is proposed in this paper. In the first stage, DialoGPT with its powerful language understanding capabilities are used to ensure that responses with correct semantics can be generated. Main emotional variables and mixed emotional variables are fused to be global emotional variables to deal with the boring response. In the second stage, the global emotional variable is used to rewrite the response generated in the first stage, so as to polish the statement. Experimental results show that the proposed model performs better on the Empathetic Dialogues dataset than the baseline models.
Keywords:dialogue generation    two-stage    main emotion    mixed emotion    diversity  
点击此处可从《中文信息学报》浏览原始摘要信息
点击此处可从《中文信息学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号