Empathy is an important characteristic to be considered when building a more intelligent and humanized dialogue agent. However, existing methods did not fully comprehend empathy as a complex process involving three aspects: cognition, affection and behavior. In this paper, we propose CAB, a novel framework that takes a comprehensive perspective of cognition, affection and behavior to generate empathetic responses. For cognition, we build paths between critical keywords in the dialogue by leveraging external knowledge. This is because keywords in a dialogue are the core of sentences. Building the logic relationship between keywords, which is overlooked by the majority of existing works, can improve the understanding of keywords and contextual logic, thus enhance the cognitive ability. For affection, we capture the emotional dependencies with dual latent variables that contain both interlocutors' emotions. The reason is that considering both interlocutors' emotions simultaneously helps to learn the emotional dependencies. For behavior, we use appropriate dialogue acts to guide the dialogue generation to enhance the empathy expression. Extensive experiments demonstrate that our multi-perspective model outperforms the state-of-the-art models in both automatic and manual evaluation.
翻译:在建立更聪明和人性化的对话工具时,同情是一个重要特征。然而,现有方法并未完全理解共鸣是一个复杂的过程,涉及三个方面:认知、感情和行为。在本文中,我们提议CAB,这是一个综合认知、爱和行为的新框架,以产生同情反应。为了理解,我们通过利用外部知识,在对话的关键关键字之间建立了路径。这是因为对话的关键字是句的核心句。建立关键字之间的逻辑关系,而现有的大多数工作都忽略了这些关键字,可以增进对关键字和背景逻辑的理解,从而增强认知能力。关于感情,我们捕捉了包含两个对话者情绪的双重潜在变量的情感依赖性。其原因是,考虑两个对话者的情感同时有助于了解情感依赖性。关于行为,我们使用适当的对话行为来指导对话的生成,以加强同情表达。广泛的实验表明,我们的多视角模型在自动和手工评估中都超越了状态模型。