Frowning Frodo, Wincing Leia, and a Seriously Great Friendship: Learning to Classify Emotional Relationships of Fictional Characters

Evgeny Kim, Roman KlingerNAACL 2019

Abstract

This paper introduces the task of "emotional character network extraction," moving beyond simple social graphs to identify the specific emotions characters feel toward one another in fiction. By annotating a new fan-fiction corpus and using neural models with "positional indicators," the researchers demonstrate how to automatically map the complex, directed emotional landscape of a story.

Introduction: Beyond Social Graphs

In computational literary studies, researchers typically analyze social network analysis (who interacts with whom) and sentiment analysis (the overall emotional "arc") as separate entities. However, these approaches often miss the directed nuance of relationships. For example, while a social graph might show frequent interaction between Frodo and Gollum, it fails to capture that Frodo might feel pity while Gollum feels resentment.

The authors argue that the heart of a story lies in these directed emotional relationships. Identifying them requires determining the experiencer of the emotion, the specific emotion felt, and the cause (usually another character). This paper provides a unified framework, a newly annotated dataset, and a baseline for classifying these directed emotional links.

Methodology

The authors frame the problem as a relation classification task. Given a text snippet containing two characters, the model predicts the emotion one feels toward the other.

Annotation and Architecture

An emotion relation is defined as a triple: $(C_{exp}, e, C_{cause})$, where $C_{exp}$ is the character experiencing the emotion $e$, and $C_{cause}$ is the character triggering it. The primary model used is a two-layer Gated Recurrent Unit (GRU) network.

Positional Indicators and Masking

To help the model distinguish between the "experiencer" and the "cause," the researchers implemented special XML-like tags, referred to as positional indicators.

Examples of positional indicators used to distinguish character roles.

They also experimented with Masking (MRole), replacing character names with generic tags (e.g., replacing "Alice" with <e>). This ensures the model learns the linguistic structure of emotions rather than memorizing character-specific traits. These neural models were compared against dictionary-based approaches (NRC emotion lexicon) and Random Forest classifiers using Bag-of-Words features.

Datasets

The study introduced a new, publicly available corpus consisting of:

  • Source: 19 English fan-fiction short stories from Archive of Our Own and James Joyce’s Counterparts.
  • Labels: Based on Plutchik’s eight fundamental emotions (anger, fear, joy, anticipation, trust, surprise, disgust, sadness).
  • Size: 1,335 annotated emotional instances involving both an experiencer and a causing character.

Key Insights

  • Directionality is Essential: Traditional "bag-of-words" sentiment analysis lacks direction. Positional indicators proved vital for the model to understand the "who" and "whom" of an emotional state.
  • Abstraction vs. Memorization: The "MRole" models often outperformed others, suggesting that the linguistic context of emotion is universal enough that masking specific names prevents overfitting to individual characters.
  • The Power of Aggregation: Predicting the overall emotional state of a relationship across an entire narrative (Graph-level) is significantly more accurate than identifying emotions in isolated sentences (Instance-level).

Results

The GRU with masked positional indicators (MRole) emerged as the top-performing model.

Performance comparison (F1 scores) across different models, levels of granularity, and class counts.

Key performance metrics included:

  • 8-class Undirected Task: The model achieved an F1 score of 0.45.
  • 2-class Polarity: When simplified to positive/negative classification, performance reached up to 0.73 F1 at the graph level.
  • Neural Superiority: GRU models consistently outperformed the NRC dictionary baseline, highlighting the importance of context and sequence over simple keyword matching.

Limitations and Future Directions

The current study operates in an "Oracle" setting, assuming character names are perfectly identified. Future work must integrate Named Entity Recognition (NER) and Coreference Resolution. Additionally, the small sample size (20 stories) and the focus on characters as triggers—rather than complex events—remain areas for expansion. The ultimate goal is an end-to-end system capable of extracting entire social-emotional graphs directly from raw text.

Summary updated

BibTeX
@inproceedings{kim2019frowning,
  author = {Evgeny Kim and Roman Klinger},
  title = {{Frowning Frodo, Wincing Leia, and a Seriously Great Friendship: Learning to Classify Emotional Relationships of Fictional Characters}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/n19-1067},
}
Figure