DiffusEmp:一种基于扩散模型、具有多粒度控制的共情回复生成框架
DiffusEmp: A Diffusion Model-Based Framework with Multi-Grained Control for Empathetic Response Generation
AI总结:
本文提出基于条件扩散语言模型的框架 DiffusEmp,通过沟通机制、意图和语义框架等多粒度控制信号引导共情表达,在 EmpatheticDialogue 数据集上实现了可控性、信息量和多样性的提升,同时保持上下文相关性。
摘要:
共情是开放域对话中的一个关键因素,它自然地体现一个人对他人的关心和理解。尽管已有多种方法被提出用于生成共情回复,但现有工作往往导致单调的共情,即倾向于使用笼统且安全的表达。在本文中,我们提出使用显式控制来引导共情表达,并设计了一个基于条件扩散语言模型的框架 DiffusEmp,以统一利用对话上下文和面向属性的控制信号。具体来说,我们引入沟通机制、意图和语义框架作为多粒度信号,从粗粒度到细粒度层次控制共情的实现。随后,我们设计了一种特定的掩码策略来反映多粒度信号与回复 token 之间的关系,并将其集成到扩散模型中,以影响生成过程。在基准数据集 EmpatheticDialogue 上的实验结果表明,我们的框架在可控性、信息量和多样性方面优于竞争性基线方法,同时没有损失上下文相关性。
英文摘要:
Empathy is a crucial factor in open-domain conversations, which naturally shows one's caring and understanding to others. Though several methods have been proposed to generate empathetic responses, existing works often lead to monotonous empathy that refers to generic and safe expressions. In this paper, we propose to use explicit control to guide the empathy expression and design a framework DiffusEmp based on conditional diffusion language model to unify the utilization of dialogue context and attribute-oriented control signals. Specifically, communication mechanism, intent, and semantic frame are imported as multi-grained signals that control the empathy realization from coarse to fine levels. We then design a specific masking strategy to reflect the relationship between multi-grained signals and response tokens, and integrate it into the diffusion model to influence the generative process. Experimental results on a benchmark dataset EmpatheticDialogue show that our framework outperforms competitive baselines in terms of controllability, informativeness, and diversity without the loss of context-relatedness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。