GoEmotions: A Dataset of Fine-Grained Emotions

Dorottya Demszky, Dana Movshovitz-Attias, Jeongwoo Ko, Alan S. Cowen, Gaurav Nemade, Sujith RaviACL 2020

Introduction

While sentiment analysis—the classification of text as positive or negative—is a well-established field, the more complex task of Emotion Detection has historically been limited by data scarcity. Most existing datasets are small or rely on overly simplistic taxonomies, such as Ekman’s six basic emotions (anger, disgust, fear, joy, sadness, and surprise). However, human communication is far more nuanced. To bridge this "granularity gap," the GoEmotions dataset provides a high-resolution map of the emotional landscape in natural, informal text.

The GoEmotions Dataset

GoEmotions consists of 58,009 Reddit comments labeled with 27 distinct emotion categories plus a "Neutral" label. The researchers curated this data from 315,000 initial comments, applying filters for length, profanity, and subreddit diversity to ensure a balanced and representative sample of online conversation.

Figure 1: Distribution of the 27 emotion categories in GoEmotions, showing the number of examples and interrater correlation for each.

Each comment was annotated by at least three native English speakers. To validate the taxonomy, the authors used Principal Preserved Component Analysis (PPCA), which confirmed that the 27 categories represent distinct, dissociable signals rather than overlapping noise. As shown in the distribution, while some emotions like admiration are frequent, others like grief are rare and harder for raters to agree upon.

Key Insights and Modeling

The dataset reveals interesting patterns in how emotions are expressed. For instance, "ambiguous" emotions like surprise and realization tend to cluster more closely with positive sentiments in the Reddit context. Furthermore, the difficulty of detecting certain emotions varies: some, like gratitude, have strong "lexical anchors" (e.g., the word "thanks"), while others, like grief or nervousness, are "verbally implicit" and require deeper contextual understanding.

The authors established a baseline using a BERT-base model fine-tuned for multi-label classification. While the average F1-score across all 27 categories was 0.46, performance improved significantly when categories were grouped into broader taxonomies, reaching an F1 of 0.64 for Ekman’s six emotions and 0.69 when grouped by sentiment.

The Power of Transfer Learning

A major contribution of this work is demonstrating the utility of fine-grained pre-training. Models pre-trained on GoEmotions show significant performance gains when transferred to smaller, specialized emotion benchmarks like ISEAR (self-reported experiences), EmoInt (tweets), or Emotion-Stimulus (FrameNet-based sentences).

Figure 3: Transfer learning performance across different training set sizes for three benchmark datasets. Pre-training on GoEmotions (orange) consistently outperforms the baseline (grey).

As shown in the results, the "emotional intelligence" gained from the large-scale GoEmotions data is particularly valuable when target data is scarce. The transfer learning approach (without freezing layers) allows models to achieve high F-scores with as few as 100–200 examples, vastly outperforming models trained from scratch.

Limitations and Future Directions

Despite its scale, GoEmotions has limitations. The data reflects the demographics of Reddit (skewing young and male) and the cultural perspective of the annotators (native English speakers from India). Additionally, there is a natural imbalance in category frequency; common emotions like admiration are much better represented than rare ones. Future work aims to expand this taxonomy to other languages and explore its application in building more empathetic conversational AI and nuanced content moderation tools.

Summary updated

BibTeX
@inproceedings{demszky2020goemotions,
  author = {Dorottya Demszky and Dana Movshovitz-Attias and Jeongwoo Ko and Alan S. Cowen and Gaurav Nemade and Sujith Ravi},
  title = {{GoEmotions: A Dataset of Fine-Grained Emotions}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.372},
}
Figure