CoMA: Condition-Modulated Context–Knowledge Attention for Empathetic Dialogue Generation
Empathetic response generation requires a model to balance emotional appropriateness with contextual grounding. However, the performance of emotion recognition remains relatively limited, which may lead to cascading errors in generating empathetic responses. To avoid error propagation from inaccurate emotion prediction and exploit emotion information more effectively, we propose CoMA (Condition-Modulated Context–Knowledge Attention), an empathetic response generation framework that uses condition from emotion and context representations as modulation signals during decoding. The condition representation is transformed into modulation weights to adjust attention logits, enabling the model to regulate the selectivity of the attention distributions over dialogue context and commonsense knowledge. In addition, CoMA employs a multi-decoder architecture with two separate branches for context and knowledge, whose representations are then fused to generate the final response. Experiments on the EmpatheticDialogues dataset show that CoMA achieves better performance than baseline models in both automatic and human evaluations. On EmpatheticDialogues, CoMA achieves a PPL of 20.47, BLEU of 2.72, Dist-1 of 0.86, and Dist-2 of 4.12. We further conduct an additional evaluation on the ESConv dataset, where CoMA obtains a PPL of 46.80, BLEU of 2.19, Dist-1 of 0.79, and Dist-2 of 3.13. These results indicate that using reliable emotional and contextual information to modulate attention, together with separate context–knowledge decoding, is effective for empathetic response generation across different conversational settings.
Authors
- Kim Ngan Phan (ORCID: https://orcid.org/0009-0003-4924-1577)
- Soonja Yeom (ORCID: https://orcid.org/0000-0002-5843-101X)
- Hyung-Jeong Yang (ORCID: https://orcid.org/0000-0003-3024-5060)
- Seungwon Kim (ORCID: https://orcid.org/0000-0003-4221-3058)
- Ji-Eun Shin (ORCID: https://orcid.org/0000-0002-3456-8599)
- Soo-Hyung Kim
Institutions
- Chonnam National University (KR)
- University of Tasmania (AU)
Publication Details
- Journal
- Applied Sciences
- Published
- 2026-10-09
- DOI
- https://doi.org/10.3390/app162010009
- Primary Topic
- Speech and dialogue systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00