GraphLit: Learning Text-Enriched Dynamic Character Network Representations for Literary Study

Gaspard Michel, Elena V. Epure, Romain Hennequin, Christophe Cerisara, Mirella Lapata
5/27/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Methods to represent literary texts as graphs or sequences of graphs mainly focus on representing character interactions, and often overlook another crucial aspect: the textual context in which characters interact. We introduce Dynamic Heterogeneous Character Networks (DHCNs), which organize long novels into temporally localized heterogeneous graphs that align characters with their textual contexts.

Show full abstract

We extract around 20,000 DHCNs from Project Gutenberg, and propose GraphLit, a self-supervised learning framework that learns rich literary representations through a masked graph autoencoder objective. Across a wide range of 12 character-related tasks, GraphLit improves over text-only, graph-only and prior hybrid baselines. Ablations over different kinds of dynamic graph structures and architectural elements show that grounding characters in their context is the main performance driver, while explicitly encoding narrative order and character relationships provide task-dependent improvements. Finally, we demonstrate the applicability of DHCNs and GraphLit for literary analysis by studying the link between narrative non-linearity and dynamic social features.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{michel2026graphlit,
  title  = {GraphLit: Learning Text-Enriched Dynamic Character Network Representations for Literary Study},
  author = {Gaspard Michel and Elena V. Epure and Romain Hennequin and Christophe Cerisara and Mirella Lapata},
  year   = {2026},
  eprint = {2605.28643},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.28643v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.28643.svg)](https://codeofpaper.com/paper/2605.28643)

Discussion