Data Augmentation for Emotion Detection in Small Imbalanced Text Data

Anna Koufakou, Diego Grisales, Ragy Costa de jesus, Oscar Fox
10/25/2023
cs.CL

No official code found. Best implementation: A-Koufakou/AugEmotionDetection (3 stars, last commit 2024-10-23).

Abstract

Emotion recognition in text, the task of identifying emotions such as joy or anger, is a challenging problem in NLP with many applications. One of the challenges is the shortage of available datasets that have been annotated with emotions. Certain existing datasets are small, follow different emotion taxonomies and display imbalance in their emotion distribution. In this work, we studied the impact of data augmentation techniques precisely when applied to small imbalanced datasets, for which current state-of-the-art models (such as RoBERTa) under-perform. Specifically, we utilized four data augmentation methods (Easy Data Augmentation EDA, static and contextual Embedding-based, and ProtAugment) on three datasets that come from different sources and vary in size, emotion categories and distributions. Our experimental results show that using the augmented data when training the classifier model leads to significant improvements. Finally, we conducted two case studies: a) directly using the popular chat-GPT API to paraphrase text using different prompts, and b) using external data to augment the training set. Results show the promising potential of these methods.

View on arXivView PDF

Code Implementations(1)

Data Augmentation for Emotion Detection in Small Imbalanced Text Data (ICMLA 2023)

30Jupyter NotebookOct 5, 20231 years ago
data-augmentationemotion-detectionemotion-recognitiontransformers

Similar Papers

Cite this paper

@article{koufakou2023data,
  title  = {Data Augmentation for Emotion Detection in Small Imbalanced Text Data},
  author = {Anna Koufakou and Diego Grisales and Ragy Costa de jesus and Oscar Fox},
  year   = {2023},
  eprint = {2310.17015},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.17015v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.17015.svg)](https://codeofpaper.com/paper/2310.17015)

Discussion