CAB: Empathetic Dialogue Generation with Cognition, Affection and Behavior

Pan Gao, Donghong Han, Rui Zhou, Xuejiao Zhang, Zikun Wang
2/3/2023
cs.CLcs.HC

No official code found. Best implementation: geri-emp/CAB (9 stars, last commit 2023-05-17).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

geri-emp/CABCommunity100%
92PythonJan 30, 20233 years ago

Cite this paper

@article{gao2023cab,
  title  = {CAB: Empathetic Dialogue Generation with Cognition, Affection and Behavior},
  author = {Pan Gao and Donghong Han and Rui Zhou and Xuejiao Zhang and Zikun Wang},
  year   = {2023},
  eprint = {2302.01935},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.01935v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.01935.svg)](https://codeofpaper.com/paper/2302.01935)

Discussion