EmoGraph: Capturing Emotion Correlations using Graph Networks

Peng Xu, Zihan Liu, Genta Indra Winata, Zhaojiang Lin, Pascale FungarXiv 2020

Introduction

Traditional emotion recognition models often treat labels like "angry," "sad," or "happy" as independent silos. However, human psychology suggests a different story. According to Plutchik’s "wheel of emotions," emotions are deeply interconnected; "optimism," for instance, is much closer to "joy" than it is to "disgust." When AI ignores these relationships, it struggles with the "fuzziness" of overlapping emotions and the "data scarcity" of rare emotions like "trust" or "surprise."

EmoGraph addresses these challenges by modeling the hidden correlations between different emotions using Graph Neural Networks (GNNs), treating emotions as interconnected nodes rather than independent labels.

Methodology

The EmoGraph framework uses a two-part architecture. First, a high-performance text encoder (such as BERT or a Transformer) converts input text into vector representations. Second, the "EmoGraph" component models the relationships between emotions.

The EmoGraph visualizes the directional dependencies and co-occurrence relationships between various emotion categories.

Connections between nodes are based on co-occurrence statistics. Crucially, these relationships are modeled as asymmetric to capture directional dependencies—for example, "anticipation" often co-occurs with "optimism," but the presence of "optimism" does not necessarily imply "anticipation." By applying Graph Convolutional Networks (GCN) or Graph Attention Networks (GAT), the model allows rare emotion nodes to "learn" from the features of their more common, highly-correlated neighbors.

Experimental Results

The researchers evaluated EmoGraph on several benchmarks, including the SemEval-2018 Task 1 multi-label dataset. The results demonstrate that incorporating graph-based correlations significantly boosts performance over standard baselines.

Comparative performance of EmoGraph variants against baseline models and previous state-of-the-art systems on the SemEval-2018 dataset.

As shown in the table, BERT-GCN achieved state-of-the-art performance with an accuracy of 58.9% and a Micro-F1 of 70.7%, outperforming previous top systems without requiring massive external pre-training. The model showed its greatest strength in Macro-F1 scores, seeing improvements of up to 3.1% over a standard BERT baseline, which confirms its effectiveness in handling rare, low-resource emotion classes.

Key Insights

  • The "Neighbor" Boost: Low-resource emotions saw the biggest gains. By connecting "trust" to "joy" in the graph, the model uses the abundance of "joy" data to provide an inductive bias that helps it recognize "trust."
  • Real-World Bias vs. Theory: While the learned graph mirrors theoretical models, it also captures real-world data nuances. For instance, in social media data, "surprise" was found to be much closer to "joy" than theoretical models suggest.
  • Shared Optimization: Even in single-label tasks, the graph structure helps because the classifiers for all emotions share a common weight matrix during the graph convolution step, leading to better global optimization.

Conclusion

EmoGraph proves that modeling the inherent structure of the emotion space is vital for building robust AI. While the current graph is static, future work could explore dynamic graphs that adapt to the specific context of a sentence or incorporate more complex psychological hierarchies.

Summary updated

BibTeX
@misc{xu2020emograph,
  author = {Peng Xu and Zihan Liu and Genta Indra Winata and Zhaojiang Lin and Pascale Fung},
  title = {{EmoGraph: Capturing Emotion Correlations using Graph Networks}},
  year = {2020},
  eprint = {2008.09378},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.09378},
}
Figure