Introduction
In the field of conversational AI, empathy has historically been treated as a simple emotion classification task: identifying a user's feeling (e.g., "sad") and selecting a response from a corresponding category. However, true human empathy is deeper; it requires understanding emotional causality—the specific process by which an event leads to a feeling.
Existing models often ignore this "why," resulting in generic responses that may be grammatically correct but feel emotionally hollow. To address this, we present GREC (Graph-based multi-hop Reasoning on Emotional Causality), a framework that improves empathetic AI by performing multi-hop reasoning over commonsense knowledge graphs to link causes to emotions.
The GREC Framework
The GREC architecture simulates human reasoning by explicitly modeling the path from a cause to an emotion. The system operates in three main stages:
- Emotional Causality Graph Construction: The model identifies "emotion clauses" and "cause clauses" in the conversation. It then extracts key concepts and uses ConceptNet to find semantic paths between the cause and the emotion, creating a specialized subgraph of the user's experience.
- Dual Encoding: A standard Transformer encoder processes the raw text, while a Graph Convolutional Network (GCN) encodes the causality graphs to capture structural relationships between events and feelings.
- Hybrid Decoding: The decoder generates responses via two streams: an Implicit Stream using a global emotional causality vector, and an Explicit Stream that performs multi-hop reasoning over the graph to select specific, relevant concepts for the response.
Experimental Evaluation
GREC was trained and evaluated on the EMPATHETICDIALOGUES benchmark, a dataset of 25,000 conversations grounded in 32 emotion labels. Unlike single-turn datasets, this benchmark includes situational context, allowing the model to practice understanding the underlying causes of emotions.
As shown in the evaluation results, GREC outperformed several competitive baselines, including MoEL, MIME, and EmpDG. It achieved the lowest Perplexity (PPL) of 32.66 and the highest BLEU score (3.16), indicating more coherent language generation. In human evaluations, judges rated GREC significantly higher in Empathy (3.21) and Relevance (3.32) than its predecessors.
Discussion and Conclusion
The core insight of this work is that emotional understanding is a reasoning task, not just a labeling task. By anchoring conversations in a knowledge graph, GREC avoids generic platitudes and utilizes more specific, context-appropriate vocabulary.
While the graph-based reasoning significantly improves relevance, it can occasionally introduce "noise" from the knowledge graph that slightly impacts fluency. Future work will focus on better noise reduction within causality graphs to ensure that the model's commonsense reasoning remains both empathetic and naturally fluent. By mastering the "why" behind emotions, GREC represents a significant step toward more human-like conversational agents.
Summary updated