Skip to main content
QUICK REVIEW

[Paper Review] Temporal Embeddings and Transformer Models for Narrative Text Understanding

K Vani, Simone Mellace|arXiv (Cornell University)|Mar 19, 2020
Topic ModelingComputer Science28 references7 citations
TL;DR

This paper proposes a dual deep learning approach for narrative text understanding: using BERT for supervised classification of static character relations (e.g., familial ties) and temporal word embeddings to model dynamic character relationship evolution over time. Empirical results show high F-scores (78%) on Harry Potter data and effective visualization of relational trajectories, demonstrating the method's promise for literary NLP and general NLU benchmarking.

ABSTRACT

We present two deep learning approaches to narrative text understanding for character relationship modelling. The temporal evolution of these relations is described by dynamic word embeddings, that are designed to learn semantic changes over time. An empirical analysis of the corresponding character trajectories shows that such approaches are effective in depicting dynamic evolution. A supervised learning approach based on the state-of-the-art transformer model BERT is used instead to detect static relations between characters. The empirical validation shows that such events (e.g., two characters belonging to the same family) might be spotted with good accuracy, even when using automatically annotated data. This provides a deeper understanding of narrative plots based on the identification of key facts. Standard clustering techniques are finally used for character de-aliasing, a necessary pre-processing step for both approaches. Overall, deep learning models appear to be suitable for narrative text understanding, while also providing a challenging and unexploited benchmark for general natural language understanding.

Motivation & Objective

  • To address the challenge of narrative text understanding in literary texts, which remain underexplored in deep learning despite their lexical richness and complex entity relations.
  • To develop a supervised method using BERT to classify static character relations, such as familial ties, using automatically generated training data to reduce reliance on costly manual annotation.
  • To model the dynamic evolution of character relationships over time using temporal word embeddings, enabling trajectory-based analysis of relational changes.
  • To improve pre-processing for narrative analysis by applying density-based clustering (DBSCAN) for character de-aliasing after named entity recognition.
  • To establish literary texts as a challenging benchmark for state-of-the-art NLP models, especially given their complex relational structures.

Proposed method

  • A BERT-based classifier is fine-tuned on sentence-level data to predict character relations, with a bag-of-sentences strategy to aggregate predictions at the pair level.
  • Automatic training data for familial relations is generated by clustering character mentions from the same family groups in the text, using a heuristic-based approach.
  • Temporal word embeddings are trained on fixed-length text slices (1000 characters) across books, with shared initialization to ensure vector comparability over time.
  • Character trajectories are constructed by extracting embedding vectors for key characters at each temporal slice, enabling analysis of semantic proximity via cosine distance.
  • t-SNE is used to project high-dimensional trajectories into 2D for visualization, revealing relational dynamics such as separation or alliance.
  • DBSCAN clustering is applied to named entities to resolve aliases (e.g., Ron and Ronald), ensuring consistent character tracking across the narrative.

Experimental results

Research questions

  • RQ1Can BERT effectively classify static character relations in literary texts using automatically generated training data, despite the lack of manual annotations?
  • RQ2How well can temporal word embeddings capture the dynamic evolution of character relationships over the course of a narrative?
  • RQ3To what extent do visualized character trajectories reflect known narrative relationships, such as friendship or enmity?
  • RQ4Can unsupervised temporal embeddings reveal meaningful relational shifts, such as character separation or alignment, in literary plots?
  • RQ5How generalizable are these approaches across different literary texts with varying narrative structures and lexical complexity?

Key findings

  • The BERT-based classifier achieved an F-score of 78% (±7%) on the Harry Potter dataset when aggregating predictions across all sentences per character pair, indicating strong performance on a complex literary domain.
  • The positive class F-score was 73% (±4%), and the negative class F-score was 81% (±8%), showing balanced performance despite class imbalance.
  • When tested on the LW benchmark using Harry Potter training data, the F-score dropped to 64%, suggesting potential overfitting and highlighting domain-specific differences in narrative structure.
  • Temporal embeddings successfully captured relational dynamics: Harry’s cosine distances to Ron and Hermione decreased over time, while distance to Voldemort remained high and stable, reflecting narrative roles.
  • t-SNE visualizations of Little Women revealed a clear separation between Joe and Amy (who left home) and the other two sisters during the novel’s central phase, confirming the model’s ability to detect relational shifts.
  • The combination of DBSCAN for de-aliasing and temporal embeddings enabled consistent tracking of character trajectories, forming a robust pipeline for narrative understanding.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.