Can Large Language Models Generate Effective Datasets for Emotion Recognition in Conversations?

Burak Can Kaplan, Hugo Cesar de Castro Carneiro, Stefan WermterProcedia 2025 · DOI

Abstract

Emotion recognition in conversations (ERC) focuses on identifying emotion shifts within interactions, representing a significant step toward advancing machine intelligence. However, ERC data remains scarce, and existing datasets face numerous challenges due to their highly biased sources and the inherent subjectivity of soft labels. Even though Large Language Models (LLMs) have demonstrated their quality in many affective tasks, they are typically expensive to train, and their application to ERC tasks—particularly in data generation—remains limited. To address these challenges, we employ a small, resource-efficient, and general-purpose LLM to synthesize ERC datasets with diverse properties, supplementing the three most widely used ERC benchmarks. We generate six novel datasets, with two tailored to enhance each benchmark. We evaluate the utility of these datasets to (1) supplement existing datasets for ERC classification, and (2) analyze the effects of label imbalance in ERC. Our experimental results indicate that ERC classifier models trained on the generated datasets exhibit strong robustness and consistently achieve statistically significant performance improvements on existing ERC benchmarks.

Introduction: The Data Scarcity Crisis in ERC

Emotion Recognition in Conversations (ERC) is a critical subfield of affective computing, aiming to detect emotional trajectories in human dialogue. This capability is foundational for developing socially intelligent agents and empathetic AI. Despite its importance, the field is constrained by a "data wall." Most existing benchmarks are derived from scripted media (e.g., the TV show Friends) or social media scrapes. These sources introduce two primary bottlenecks:

  1. Extreme Label Imbalance: Real-world and scripted conversations are dominated by "Neutral" states. Minority emotions like "Fear," "Disgust," or "Sadness" are often underrepresented, making it difficult for models to learn their nuances.
  2. Subjectivity and Annotation Noise: Human emotion is inherently subjective. Most datasets rely on a small pool of annotators (typically 3–5), leading to inconsistencies and noise that hinder model generalization.

While massive, proprietary LLMs like GPT-4 could potentially generate synthetic data, their high cost and "black box" nature make them less ideal for large-scale research. This study investigates whether a smaller, open-source LLM can autonomously synthesize high-quality training data to mitigate these issues.

Methodology: Synthesizing Dialogue with Vicuna-13B

The researchers utilized Vicuna-1.5 (13B), a model efficient enough to run on a single consumer-grade GPU (requiring approximately 25GB VRAM). To ensure the generation of structured and useful data, they employed a three-part prompting strategy:

  • Task Definition: Contextualizing the dialogue (e.g., characters from a specific show).
  • Labeling with Logic Reasoning: Assigning numerical IDs to emotions to prevent label hallucination and ensure consistency.
  • Structuring: Enforcing a strict Speaker: Utterance: Label format for automated parsing.
An example of a synthetic dialogue generated by the LLM, showing speakers, utterances, and their corresponding emotion labels.

The team generated two distinct types of synthetic data:

  • Natural: Dialogues that mimic the frequency of emotions found in real-world distributions.
  • Balanced: Dialogues specifically prompted to include rare emotions, effectively oversampling minority classes during the generation phase.

Datasets and Distribution Analysis

The study supplemented three major ERC benchmarks: MELD (7 emotions), EmoryNLP (7 abstract emotions), and IEMOCAP (6 emotions). For each benchmark, a "Natural" and a "Balanced" synthetic dataset were produced, resulting in six novel datasets totaling tens of thousands of utterances.

Comparison of emotion distributions across the Original, Natural, and Balanced datasets for MELD, EmoryNLP, and IEMOCAP.

As shown in the distribution analysis, the "Balanced" datasets significantly increase the representation of minority emotions compared to the "Original" and "Natural" sets, providing a richer training signal for rare affective states that are otherwise drowned out by neutral utterances.

Key Results and Performance Gains

The utility of the synthetic data was tested using three state-of-the-art classifiers: CoMPM, EmoOne-RoBERTa, and TODKAT. The experimental results revealed several key insights:

  • Consistent Performance Boosts: Models pre-trained on synthetic data and subsequently fine-tuned on real-world benchmarks consistently outperformed those trained solely on real data.
  • Impact on MELD: On the MELD benchmark, EmoOne-RoBERTa’s weighted F1 score improved from 65.46 to 67.27 when utilizing balanced synthetic data.
  • IEMOCAP Improvements: The CoMPM model saw a significant jump from 65.21 to 68.06 F1.
  • Statistical Significance: Using the Friedman rank sum test, the authors confirmed the improvements were statistically significant (p-values as low as 0.0034), suggesting that synthetic data provides a robust performance floor.

Discussion: The Internal Consistency Hypothesis

A compelling takeaway from this research is the "Internal Consistency" hypothesis. Because the LLM generates the dialogue and the emotion label simultaneously, the resulting labels are often more consistent than those provided by human annotators. The "entity" creating the emotional state is the same one labeling it, which may reduce the subjectivity gap inherent in human-labeled datasets.

Limitations and Future Directions

While the results are promising, challenges remain. Improvements on the EmoryNLP dataset were less significant, likely due to the abstract nature of its labels (e.g., "Powerful" or "Peaceful"), which may require larger models or more sophisticated prompting to capture accurately. Additionally, this study focused exclusively on text. Since many ERC benchmarks are multimodal, future work could involve using LLMs to generate descriptive visual or acoustic metadata to further enrich synthetic datasets.

Conclusion

This research demonstrates that resource-efficient, open-source LLMs like Vicuna-13B are capable of generating high-quality, consistent datasets that significantly improve the performance of ERC models. By strategically balancing emotion distributions, these synthetic datasets provide a viable solution to the data scarcity and label imbalance issues currently facing the field of affective computing.

Reference: Kaplan, B. C., Carneiro, H. C. D. C., & Wermter, S. (2025). Can Large Language Models Generate Effective Datasets for Emotion Recognition in Conversations? arXiv:2508.05474v1.

Summary updated

BibTeX
@inproceedings{kaplan2025can,
  author = {Burak Can Kaplan and Hugo Cesar de Castro Carneiro and Stefan Wermter},
  title = {{Can Large Language Models Generate Effective Datasets for Emotion Recognition in Conversations?}},
  booktitle = {Procedia},
  year = {2025},
  doi = {10.1016/j.procs.2025.07.145},
}
Figure