RELATE: Generating a linguistically inspired Knowledge Graph for fine-grained emotion classification

Annika Marie Schoene, Nina Dethlefs, Sophia AnaniadouLREC 2022

TL;DR

Researchers have introduced RELATE, a new linguistically-inspired Knowledge Graph (KG) designed to improve how AI understands fine-grained emotions. By extracting structured "Subject-Verb-Object" triples from millions of tweets and training them via Graph Convolutional Networks (GCNs), the authors created emotion-sensitive word embeddings that rival the performance of massive language models like BERT while being significantly more efficient to train.

What Problem Does This Paper Address?

In Sentiment Analysis (SA), we often face a "Goldilocks" problem with resources. Large-scale Knowledge Graphs usually lack emotional depth, while specialized emotion lexicons are often too small and expensive to build manually.

Furthermore, modern Language Models (LMs) like BERT or ELMo have a specific weakness: because they learn from context, they often map words with opposite emotional meanings (like "happy" vs. "sad") to similar vector spaces simply because those words appear in similar sentence structures. This paper aims to bridge the gap by creating a large-scale, structured resource that captures fine-grained emotions (based on Ekman’s six basic categories: anger, fear, disgust, surprise, joy, and sadness) without relying on slow, manual human annotation.

Methods

The authors developed a pipeline to transform raw, noisy social media data into a structured Knowledge Graph:

  1. Text & Emoji Preprocessing: They used tools like Ekphrasis and Spacy to clean tweets. Notably, they used Spacymoji to convert emojis into textual descriptions (e.g., 📷 becomes "camera"), ensuring the emotional signal of emojis wasn't lost.
  2. Linguistic Triple Extraction: Instead of just looking at word co-occurrence, they used dependency parsing to extract Subject-Verb-Object (SVO) triples. This captures the direction of an emotion (e.g., "I [subject] hate [verb] traffic [object]").
  3. Graph Convolutional Networks (GCN): To turn this graph into usable AI data, they employed a GCN. This model treats words and documents as nodes in a graph, using TF-IDF and Pointwise Mutual Information (PMI) to calculate the strength of the connections (edges). This allows the model to learn "Sentiment Specific Embeddings" (SSEs) that are inherently aware of emotional relationships.

Datasets

  • RELATE Source Data: A custom collection of ~398,595 tweets gathered between 2017 and 2018, filtered by specific emotion keywords.
  • IEST Shared Task Dataset: Used for evaluation. This is a benchmark dataset for implicit emotion classification where the emotion keyword has been removed from the tweet, forcing the model to infer the feeling from context.
  • Comparison Models: The researchers compared their results against Word2Vec, GloVe (pre-trained on 2 billion tweets), ELMo, and BERT.

Key Insights and Ideas

  • Structure Over Scale: One of the most striking "aha" moments is that a linguistically structured graph (RELATE) can perform as well as much larger, unstructured resources. It suggests that how we represent data (triples vs. raw text) is as important as how much data we have.
  • The Efficiency Win: RELATE-based embeddings achieved an F1-score of 0.57, nearly matching BERT’s 0.58. However, RELATE is a "lightweight" alternative; it requires far fewer computational resources and less training time than fine-tuning a massive transformer model.
  • Separating Opposites: By using a graph-based approach, the authors successfully ensured that words with opposite emotional valences were positioned further apart in the vector space, a common failure point for standard LMs.

Key Results

  • Performance: The RELATE-trained GCN achieved an F1-score of 0.57 on the emotion classification task. For comparison, the baseline LSTM was 0.52, and the much larger BERT model was 0.58.
  • Training Time: RELATE was significantly faster to train (~2 hours and 46 minutes) compared to BERT fine-tuning (~15 hours) or ELMo (~11 hours) on the same hardware (Tesla P100 GPUs).
  • Qualitative Success: Visualization of the embeddings showed that RELATE correctly clustered colloquialisms and hashtags (like #winewednesday) near relevant emotions (Joy), reflecting real-world social media usage better than generic pre-trained models.

Limitations and Future Work

  • Data Bias: The authors acknowledge that since the KG is built from Twitter data, it inherits the inherent biases of social media users and the specific time period in which the data was collected (e.g., references to specific news events like the Manchester bombings).
  • Emotion Granularity: Currently, the model is limited to Ekman’s six basic emotions. Future work could expand this to more complex emotional frameworks (like Plutchik’s wheel).
  • Metric Expansion: The authors suggest that future evaluations should move beyond cosine similarity and incorporate Euclidean distance to better understand how closely related words are within the learned emotional space.

Summary updated

BibTeX
@inproceedings{schoene2022relate,
  author = {Annika Marie Schoene and Nina Dethlefs and Sophia Ananiadou},
  title = {{RELATE: Generating a linguistically inspired Knowledge Graph for fine-grained emotion classification}},
  booktitle = {LREC},
  year = {2022},
  url = {https://openreview.net/forum?id=kPMcESZ1m-},
}
Figure