Harnessing the Power of Large Language Models for Empathetic Response Generation: Empirical Investigations and Improvements

Yushan Qian, Wei-Nan Zhang, Ting Liu
10/8/2023
106 citations
cs.CLcs.AI

Official code: 27182812/LLM4ED (8 stars, Python, last commit 2024-03-09).

Abstract

Empathetic dialogue is an indispensable part of building harmonious social relationships and contributes to the development of a helpful AI. Previous approaches are mainly based on fine small-scale language models.

Show full abstract

With the advent of ChatGPT, the application effect of large language models (LLMs) in this field has attracted great attention. This work empirically investigates the performance of LLMs in generating empathetic responses and proposes three improvement methods of semantically similar in-context learning, two-stage interactive generation, and combination with the knowledge base. Extensive experiments show that LLMs can significantly benefit from our proposed methods and is able to achieve state-of-the-art performance in both automatic and human evaluations. Additionally, we explore the possibility of GPT-4 simulating human evaluators.

View on arXivView PDF

Code Implementations(1)

27182812/LLM4EDOfficial100%

Repository for the Findings of EMNLP 2023 accepted paper "Harnessing the Power of Large Language Models for Empathetic Response Generation: Empirical Investigations and Improvements"

82Python, ShellNov 28, 20232 years ago

Similar Papers

Cite this paper

@article{qian2023harnessing,
  title  = {Harnessing the Power of Large Language Models for Empathetic Response Generation: Empirical Investigations and Improvements},
  author = {Yushan Qian and Wei-Nan Zhang and Ting Liu},
  year   = {2023},
  eprint = {2310.05140},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.05140v4}
}

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

Discussion