TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Emotion-Aware Transformer Encoder for Empathetic Dialogue ...

Emotion-Aware Transformer Encoder for Empathetic Dialogue Generation

Raman Goel, Seba Susan, Sachin Vashisht, Armaan Dhanda

2022-04-242021 9th International Conference on Affective Computing and Intelligent Interaction Workshops and Demos (ACIIW) 2021 10Dialogue GenerationWord EmbeddingsLanguage Modelling
PaperPDFCode(official)

Abstract

Modern day conversational agents are trained to emulate the manner in which humans communicate. To emotionally bond with the user, these virtual agents need to be aware of the affective state of the user. Transformers are the recent state of the art in sequence-to-sequence learning that involves training an encoder-decoder model with word embeddings from utterance-response pairs. We propose an emotion-aware transformer encoder for capturing the emotional quotient in the user utterance in order to generate human-like empathetic responses. The contributions of our paper are as follows: 1) An emotion detector module trained on the input utterances determines the affective state of the user in the initial phase 2) A novel transformer encoder is proposed that adds and normalizes the word embedding with emotion embedding thereby integrating the semantic and affective aspects of the input utterance 3) The encoder and decoder stacks belong to the Transformer-XL architecture which is the recent state of the art in language modeling. Experimentation on the benchmark Facebook AI empathetic dialogue dataset confirms the efficacy of our model from the higher BLEU-4 scores achieved for the generated responses as compared to existing methods. Emotionally intelligent virtual agents are now a reality and inclusion of affect as a modality in all human-machine interfaces is foreseen in the immediate future.

Results

TaskDatasetMetricValueModel
DialogueEmpatheticDialoguesBLEU0.225Emotion-aware transformer encoder (Transformer-XL)
DialogueEmpatheticDialoguesBLEU0.225Emotion-aware transformer encoder (Transformer-XL)

Related Papers

Visual-Language Model Knowledge Distillation Method for Image Quality Assessment2025-07-21Emotional Support with LLM-based Empathetic Dialogue Generation2025-07-17Making Language Model a Hierarchical Classifier and Generator2025-07-17VisionThink: Smart and Efficient Vision Language Model via Reinforcement Learning2025-07-17The Generative Energy Arena (GEA): Incorporating Energy Awareness in Large Language Model (LLM) Human Evaluations2025-07-17Inverse Reinforcement Learning Meets Large Language Model Post-Training: Basics, Advances, and Opportunities2025-07-17Assay2Mol: large language model-based drug design using BioAssay context2025-07-16Describe Anything Model for Visual Question Answering on Text-rich Images2025-07-16