Unsupervised Learning of Evolving Relationships Between Literary Characters

Snigdha Chaturvedi, Mohit Iyyer, Hal Daumé Iii

Introduction

Understanding the dynamics between characters is central to narrative analysis. Traditional computational methods often struggle to capture the nuance and evolution of these bonds, typically relying on static, binary classifications (e.g., "friend" vs. "foe") and requiring extensive labeled data. This research presents a fully unsupervised framework designed to track how relationships evolve over time by integrating local linguistic cues with a global understanding of character trajectories.

The Challenge of Narrative Dynamics

Previous approaches to relationship mining faced three primary hurdles:

  1. Oversimplification: Reducing complex human interactions to simple polarities.
  2. Static Assumptions: Treating relationships as unchanging throughout a story.
  3. Data Scarcity: The heavy reliance on manually annotated datasets, which are costly and difficult to scale.

Real-world and literary relationships are dynamic; for instance, a "familial" bond can sour into "hostility" following a betrayal. Modeling these transitions automatically from raw text is the core objective of this work.

Methodology: Globally Aware Modeling

The authors propose a series of Hidden Markov Models (HMMs) where hidden states represent relationship types. The flagship model, the Globally Aware GHMM, addresses the ambiguity of local actions by incorporating a "choice variable." This variable determines whether the relationship state at a given time step should be inferred from local sentence features or from a global feature vector representing the pair's entire history.

The Globally Aware GHMM architecture, incorporating local features ($f_t$) and global context variables.

Feature Engineering

To capture the essence of interactions, the model extracts:

  • Actions and Surrogate Actions: Identifying verbs where characters act upon one another or are implied.
  • Lexical Features: Bag-of-words context between character mentions.
  • Frame-semantics: Detecting specific semantic "frames" (e.g., 'personal_relationship') triggered by keywords.

Key Insights and Results

A significant finding is that local actions are often uninformative without context. For example, a neutral action like "learning more" about an antagonist only signifies hostility when viewed through a global lens. The Globally Aware GHMM successfully captures this intuition.

Emergent Semantics

The unsupervised model demonstrated a remarkable ability to cluster words into semantically coherent relationship states. A "word-intrusion" test confirmed that these states—such as "Familial," "Desire," and "Hostile"—are distinct and meaningful to human observers.

Learned relationship states and their most frequent words, showing high semantic coherence (MP).

Performance Benchmarks

  • Human Alignment: The model's choices in a relationship analogy task agreed with humans 66% of the time, significantly outperforming a random baseline.
  • State Coherence: Precision scores for identifying "intruder" words were exceptionally high, reaching 1.00 for the "Hostile" and "Familial" categories.
  • Comparative Advantage: The model outperformed the previous state-of-the-art Relationship Mining Network (RMN), with human subjects preferring the authors' model output for 66.2% of character pairs.

Conclusion and Future Directions

While the model excels on plot summaries, future work aims to scale this approach to full-length novels, which present higher levels of noise. Additionally, moving toward non-parametric models could allow the system to discover the optimal number of relationship states automatically, further refining our computational understanding of narrative evolution.

Summary updated

BibTeX
@inproceedings{chaturvedi2017unsupervised,
  author = {Snigdha Chaturvedi and Mohit Iyyer and Hal Daumé III},
  title = {{Unsupervised Learning of Evolving Relationships Between Literary Characters}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10982},
}
Figure