The capacity of empathy is crucial to the success of open-domain dialog systems. Due to its nature of multi-dimensionality, there are various factors that relate to empathy expression, such as communication mechanism, dialog act and emotion. However, existing methods for empathetic response generation usually either consider only one empathy factor or ignore the hierarchical relationships between different factors, leading to a weak ability of empathy modeling. In this paper, we propose a multi-factor hierarchical framework, CoMAE, for empathetic response generation, which models the above three key factors of empathy expression in a hierarchical way. We show experimentally that our CoMAE-based model can generate more empathetic responses than previous methods. We also highlight the importance of hierarchical modeling of different factors through both the empirical analysis on a real-life corpus and the extensive experiments. Our codes and used data are available at https://github.com/chujiezheng/CoMAE.
翻译:共鸣能力对于开放域对话系统的成功至关重要。由于其多维性的性质,存在着与共鸣表达有关的多种因素,例如交流机制、对话行为和情感。然而,同情响应生成的现有方法通常只考虑一个共鸣因素,或忽视不同因素之间的等级关系,从而导致同情建模能力薄弱。本文建议为同情响应生成建立一个多因子等级框架,即COMAE,用于同情响应生成,该生成以等级方式模拟上述三个主要的共鸣表达要素。我们实验性地表明,我们基于共鸣的模型能够产生比以往方法更多的同情反应。我们还强调,通过对真实生命体的实证分析以及广泛的实验,对不同因素进行分级建模的重要性。我们的代码和使用的数据可在https://github.com/chujiezheng/COMAE查阅。