Abstract
Changepoint analysis involves the unsupervised detection of time-points in time-series data where the underlying generating distribution shifts. This paper introduces a specialized temporal topic model designed for offline changepoint detection in large-scale textual corpora. By modeling changes in the distribution of topic proportions, the proposed method identifies structural shifts in ideas and trends. To overcome computational intractability, the authors develop an approximate inference procedure using sample splitting to estimate topic polytopes, followed by a likelihood ratio statistic and a modified Wild Binary Segmentation algorithm. The methodology is validated on a century of English literature and decades of High Energy Physics abstracts, successfully identifying historically significant transitions.
Introduction
Understanding how cultural, scientific, and social ideas evolve over time is a fundamental challenge in the digital humanities. While changepoint analysis is well-established for numerical data, its application to text is complicated by the high-dimensional, discrete, and structured nature of language. Existing methods often struggle with scalability or rely on simple word-frequency changes that lack the nuance of thematic shifts. This research addresses these gaps by providing a scalable, "offline" framework for detecting moments when the underlying topic structure of a corpus undergoes a significant transformation.
The Temporal Topic Model with Changepoints (TTMC)
The core of the proposed methodology is the Temporal Topic Model with Changepoints (TTMC). This model extends the standard Latent Dirichlet Allocation (LDA) framework to a temporal setting.
In this model, documents are viewed as mixtures of latent topics. The key innovation is the assumption that while the "topics" themselves (the word distributions $\phi$) remain relatively stable over time, the proportions in which these topics are discussed ($\theta$) shift at specific, unknown time points. By representing documents as points within a "topic polytope"—a geometric space where vertices represent pure topics—the authors can utilize Euclidean distances to measure shifts in topic prevalence more stably than raw word counts.
Inference and Detection Methodology
Full likelihood-based inference for TTMC is computationally demanding. To ensure tractability for millions of documents, the authors employ a multi-stage approach:
- Sample Splitting: The corpus is divided into three parts: one for training topic definitions, one for validation, and one for estimating changepoints. This prevents overfitting and ensures that detected shifts are statistically robust.
- Modified Wild Binary Segmentation (WBS): Standard segmentation can fail when multiple changepoints occur in close proximity. The authors adapt the WBS algorithm, which randomly samples numerous sub-intervals of time and calculates a likelihood ratio statistic for each, recursively identifying the most significant signals.
- Size-Dependent Thresholds: To minimize false positives, the detection thresholds are adjusted based on the length of the temporal interval under consideration, providing a more refined sensitivity than traditional fixed-threshold methods.
Empirical Evaluation and Results
The methodology was applied to two major real-world datasets:
English Literature (1800–1922)
Analyzing a corpus of 17,645 works of fiction, the model identified major changepoints in 1831, 1862, and 1908. These dates align closely with established literary periods: the transition from the Romantic era to the Victorian era (~1830), the shift between early and late Victorianism (~1860s), and the emergence of Modernism leading up to World War I (~1910s).
High Energy Physics (HEP) arXiv Abstracts (1995–2020)
In a collection of 281,891 scientific abstracts, the algorithm detected shifts in 1998, 2008, and 2011. These points correspond to landmark events in physics: the successful LIGO experiments, the startup of the Large Hadron Collider (LHC), and the definitive discovery of the Higgs Boson.
Conclusion
The TTMC framework provides a powerful, interpretable tool for automated historical analysis. By focusing on topic proportions rather than individual words, it captures the "burstiness" of natural language and provides a clear narrative for why a changepoint was detected. While the model currently assumes fixed topic definitions, future work may explore allowing topics to drift gradually while maintaining discrete changepoints for their proportions. This approach offers a significant step forward in the unsupervised analysis of large-scale temporal text data.
Summary updated