TOOL-ED: Enhancing Empathetic Response Generation with the Tool Calling Capability of LLM

Huiying Cao, Yiqun Zhang, Shi Feng, Xiaocui Yang, Daling Wang +1 more
12/4/2024
cs.CL

No official code found. Best implementation: caohy123/EKTC (6 stars, last commit 2024-09-11).

Abstract

Empathetic conversation is a crucial characteristic in daily conversations between individuals. Nowadays, Large Language models (LLMs) have shown outstanding performance in generating empathetic responses. Knowledge bases like COMET can assist LLMs in mitigating illusions and enhancing the understanding of users' intentions and emotions. However, models remain heavily reliant on fixed knowledge bases and unrestricted incorporation of external knowledge can introduce noise. Tool learning is a flexible end-to-end approach that assists LLMs in handling complex problems. In this paper, we propose Emotional Knowledge Tool Calling (EKTC) framework, which encapsulates the commonsense knowledge bases as empathetic tools, enabling LLMs to integrate external knowledge flexibly through tool calling. In order to adapt the models to the new task, we construct a novel dataset TOOL-ED based on the EMPATHETICMPATHETIC DIALOGUE (ED) dataset. We validate EKTC on the ED dataset, and the experimental results demonstrate that our framework can enhance the ability of LLMs to generate empathetic responses effectively.

View on arXivView PDF

Code Implementations(1)

caohy123/EKTCCommunity100%
60Shell, PythonSep 11, 20242 years ago

Similar Papers

Cite this paper

@article{cao2024tooled,
  title  = {TOOL-ED: Enhancing Empathetic Response Generation with the Tool Calling Capability of LLM},
  author = {Huiying Cao and Yiqun Zhang and Shi Feng and Xiaocui Yang and Daling Wang and Yifei Zhang},
  year   = {2024},
  eprint = {2412.03096},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.03096v2}
}

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

Discussion