Novel2Vec: Characterising 19th Century Fiction via Word Embeddings

Siobhán Grayson, Maria Mulvany, Karen Wade, Gerardine Meaney, Derek GreeneAics 2016

Introduction

The study of 19th-century literature has traditionally oscillated between "close reading"—the meticulous manual analysis of individual texts—and "distant reading"—the broad computational analysis of large corpora. While distant reading provides a macro-level perspective, it often lacks the granular detail required to understand character relationships and authorial nuance. This paper introduces Novel2Vec, an approach that utilizes word embeddings to bridge this gap, quantitatively capturing literary structures in the works of Jane Austen, Charles Dickens, and Arthur Conan Doyle.

Methodology

The researchers employed the word2vec algorithm to map words into a 300-dimensional vector space. Two primary architectures were evaluated: Continuous Bag-of-Words (CBOW) and Skip-Gram (SG). To understand how these models "learn" literary meaning, the study manipulated two critical hyperparameters: the context window size ($k$) and the minimum frequency ($f_{min}$).

t-SNE visualizations for Austen, Dickens, and Doyle, showing word frequency contours.

The dataset comprised twelve manually annotated novels, ensuring consistent character identification. This included six novels by Austen, three by Dickens, and three by Doyle, totaling approximately 1.5 million words. High-dimensional vectors were projected into 2D maps using t-SNE for visualization, with cluster quality assessed via Silhouette Coefficients.

Key Insights: Syntax vs. Semantics

A pivotal finding of the research is the influence of the context window size on the model's output. A small window ($k=2$) tends to capture syntax, grouping words based on their grammatical roles (e.g., parts of speech). In contrast, a larger window ($k=5$) shifts toward semantics, grouping entities by their thematic functions or narrative roles, such as "protagonists" or "romantic interests."

Syntactic clustering in the vector space, where words are grouped by part-of-speech.

Furthermore, the models revealed distinct "authorial fingerprints." Austen’s characters often clustered by role across different novels, whereas Dickens’ characters were more dispersed, likely due to his varied narrative perspectives. The models also detected "character evolution," noting shifts in the embedding of Sherlock Holmes across different Doyle novels.

Results and Discussion

Quantitative analysis using Silhouette scores confirmed that $k=2$ models produce cohesive syntactic clusters. As the window size increases, these clusters begin to "bleed" into one another, reflecting the transition from grammatical to thematic prioritization.

Interestingly, when analyzing the combined dataset with a Skip-Gram model ($k=5$), characters naturally clustered by author rather than by generic literary role. This suggests that at a semantic level, authorial style and specific vocabulary are more dominant grouping factors than the abstract concept of a "character." Additionally, Skip-Gram proved more effective than CBOW for these relatively small literary datasets, particularly in handling rare words like specific character names.

Conclusion and Future Work

Novel2Vec demonstrates that word embeddings can effectively characterize the social and linguistic structures of 19th-century fiction. While the current static models provide valuable snapshots, future research could explore diachronic word embeddings to track how character relationships evolve dynamically within a single text. Despite the power of these computational tools, the researchers emphasize that human interpretation remains essential to decode the thematic meaning behind the identified clusters.

Summary updated

BibTeX
@inproceedings{grayson2016novel,
  author = {Siobhán Grayson and Maria Mulvany and Karen Wade and Gerardine Meaney and Derek Greene},
  title = {{Novel2Vec: Characterising 19th Century Fiction via Word Embeddings}},
  booktitle = {Aics},
  year = {2016},
}
Figure