Exemplars-guided Empathetic Response Generation Controlled by the Elements of Human Communication

Navonil Majumder, Deepanway Ghosal, Devamanyu Hazarika, Alexander Gelbukh, Rada Mihalcea +1 more
6/22/2021
cs.CLcs.AI

Official code: declare-lab/exemplary-empathy (25 stars, Python, MIT, PyTorch, last commit 2023-02-01).

Abstract

The majority of existing methods for empathetic response generation rely on the emotion of the context to generate empathetic responses. However, empathy is much more than generating responses with an appropriate emotion.

Show full abstract

It also often entails subtle expressions of understanding and personal resonance with the situation of the other interlocutor. Unfortunately, such qualities are difficult to quantify and the datasets lack the relevant annotations. To address this issue, in this paper we propose an approach that relies on exemplars to cue the generative model on fine stylistic properties that signal empathy to the interlocutor. To this end, we employ dense passage retrieval to extract relevant exemplary responses from the training set. Three elements of human communication -- emotional presence, interpretation, and exploration, and sentiment are additionally introduced using synthetic labels to guide the generation towards empathy. The human evaluation is also extended by these elements of human communication. We empirically show that these approaches yield significant improvements in empathetic response quality in terms of both automated and human-evaluated metrics. The implementation is available at https://github.com/declare-lab/exemplary-empathy.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

This repository contains the source codes of the paper -- Exemplars-guided Empathetic Response Generation Controlled by the Elements of Human Communication

255Python, ShellAug 1, 20213 years agoMIT
dialogue-generationdialogue-systemsemotion-recognitionemotion-recognition-in-conversationempathetic-dialogues+3 more

Similar Papers

Cite this paper

@article{majumder2021exemplarsguided,
  title  = {Exemplars-guided Empathetic Response Generation Controlled by the Elements of Human Communication},
  author = {Navonil Majumder and Deepanway Ghosal and Devamanyu Hazarika and Alexander Gelbukh and Rada Mihalcea and Soujanya Poria},
  year   = {2021},
  eprint = {2106.11791},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.11791}
}

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/2106.11791.svg)](https://codeofpaper.com/paper/2106.11791)

Discussion