SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.17959 · ACL · 2024

An Iterative Associative Memory Model for Empathetic Response Generation

Chao Chen, Xiangwen Liao, Zhaochun Ren, Yufeng Wang, Zhou Yang, Xiaofei Zhu, Haizhou Sun

arXiv · PDF · Open in the Atlas

Code that ran

We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Empathetic response generation aims to comprehend the cognitive and emotional states in dialogue utterances and generate proper responses. Psychological theories posit that comprehending emotional and cognitive states necessitates iteratively capturing and understanding associated words across dialogue utterances. However, existing approaches regard dialogue utterances as either a long sequence or independent utterances for comprehension, which are prone to overlook the associated words between them. To address this issue, we propose an Iterative Associative Memory Model (IAMM) 1 for empathetic response generation. Specifically, we employ a novel second-order interaction attention mechanism to iteratively capture vital associated words between dialogue utterances and situations, dialogue history, and a memory module (for storing associated words), thereby accurately and nuancedly comprehending the utterances. We conduct experiments on the Empathetic-Dialogue dataset. Both automatic and human evaluations validate the efficacy of the model. Variant experiments on LLMs also demonstrate that attending to associated words improves empathetic comprehension and expression. * Corresponding author. 1 Our code is available at https://github.com/ zhouzhouyang520/IAMM Emotion: Furious Situation: I was driving home and this guy cut me off. I had to swerve in order to not hit him. That happens a lot. What happened next? So last Friday I was driving home from work and this guy just cuts me off in traffic. I know the feeling. I hate driving now. Everyone is looking in their phone.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.17959")
get_code_for_paper("2402.17959")
have("2402.17959")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.17959.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.17959.svg)](https://syntology.ai/paper/2402.17959)

Connect an agent — have() is free.