NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Think out Loud: Emotion Deducing Explanation in Dialogues

Jiangnan Li, Zheng Lin, Lanrui Wang, Qingyi Si, Yanan Cao, Mo Yu, Peng Fu, Weiping Wang, Jie ZhouarXiv 2024 · DOI

Abstract

Traditional affective computing often treats emotion understanding as a series of isolated classification problems, failing to capture the complex cognitive appraisal process humans use to evaluate social interactions. We introduce Emotion Deducing Explanation in Dialogues (EDEN), a novel task that moves beyond simple labeling to "Chain-of-Thought" (CoT) style reasoning. By requiring models to generate structured natural language explanations that link dialogue triggers to a speaker's inner psychological state before identifying the emotion, we demonstrate that Large Language Models (LLMs) can achieve superior accuracy and interpretability. Our findings suggest that "thinking out loud" serves as a catalyst for deeper social understanding in AI.

Introduction

In human conversation, understanding an emotion is rarely about matching a word to a face or a phrase. Instead, it involves a process of appraisal: evaluating an event based on personal goals, beliefs, and social context. Current models for Emotion Recognition in Dialogues (ERD) and Emotion Cause Extraction (ECED) often operate as "black boxes," relying on surface-level lexical correlations—such as associating the word "gift" with "happiness"—without grasping the underlying psychological logic. This lack of transparency limits the utility of AI in sensitive social contexts and fails to leverage the reasoning potential of modern LLMs.

The EDEN Task and Methodology

The EDEN task formalizes the appraisal process by requiring models to produce a three-part structured explanation:

  1. Summarize Triggers: Identify the specific dialogue events that sparked the emotion.
  2. Analyze Inner Activities: Use commonsense reasoning to infer the speaker's mental state and intent.
  3. Deduce Emotion: Conclude the specific emotion based on the preceding analysis.
The EDEN framework: Generating a structured explanation that bridges dialogue triggers and inner psychological states to deduce the final emotion.

To implement this, we developed EDEN-LLaMA, a version of LLaMA-2 fine-tuned using Parameter-Efficient Fine-Tuning (LoRA). We also integrated supplementary commonsense pretraining using knowledge bases like ATOMIC and GLUCOSE to enhance the model's grasp of social cause-and-effect.

Dataset Development and Task Comparison

Because existing benchmarks do not provide the necessary psychological explanations, we curated two new human-verified datasets: EDEN-DD (based on DailyDialogue) and EDEN-FR (based on the Friends TV show transcript). These datasets are unique in their focus on the psychological path from cause to emotion, providing a richer training signal than traditional classification labels.

A comparative analysis of EDEN against existing affective computing benchmarks across various task formats and reasoning capabilities.

As shown in the comparison above, EDEN is the first framework to unify dialogue understanding, emotion prediction, cause realization, and commonsense reasoning within a single CoT-style explanation task.

Key Results and Insights

Our experiments yielded several critical insights into the nature of machine emotion understanding:

  • Explanation as a Catalyst: Forcing the model to generate an explanation significantly improved its performance on underlying classification tasks. On the EDEN-DD dataset, EDEN-LLaMA-13b reached an Emotion F1 (EF) of 90.17, outperforming previous state-of-the-art specialized models like BHG (87.37).
  • Avoiding the "Shallow Analysis" Trap: While smaller models like BART and GPT-2 often correctly label emotions, they frequently do so for the wrong reasons, sometimes hallucinating facts. In contrast, LLMs like LLaMA and ChatGPT demonstrated a deeper grasp of social commonsense and sarcasm.
  • Symmetry of Emotion and Cause: The results reinforce that emotion and cause are mutually indicative. The EDEN task exploits this symmetry, using the explanation to bridge the gap between the two.

Limitations and Future Work

Despite these advancements, multi-hop reasoning remains a challenge. Models still struggle when an emotion results from complex social dynamics spread across multiple dialogue turns, such as a character feeling anger due to a perceived lack of sincerity. Additionally, the current task focuses on utterances with clear emotional content; future iterations must address "neutral" turns to help models learn when not to search for deep psychological triggers.

By shifting the goalpost from simple labeling to comprehensive explanation, this research provides a roadmap for creating more empathetic and socially aware artificial intelligence.

Summary updated

BibTeX
@misc{li2024think,
  author = {Jiangnan Li and Zheng Lin and Lanrui Wang and Qingyi Si and Yanan Cao and Mo Yu and Peng Fu and Weiping Wang and Jie Zhou},
  title = {{Think out Loud: Emotion Deducing Explanation in Dialogues}},
  year = {2024},
  eprint = {2406.04758},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.04758},
}
Figure