NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Evaluating Dynamic Topic Models

Charu James, Mayank Nagda, Nooshin Haji Ghassemi, Marius Kloft, Sophie Fellenz

Introduction

Dynamic Topic Models (DTMs) are essential for understanding how themes—such as "artificial intelligence" or "global health"—evolve across longitudinal document collections. However, a significant limitation in the field has been the lack of robust evaluation metrics for the transitions between time steps. Historically, researchers relied on static "snapshot" measures, which could award high scores to models that produced internally coherent topics at specific years but exhibited nonsensical, "jittery" jumps between them. To address this, researchers have introduced Temporal Topic Quality (TTQ) and Dynamic Topic Quality (DTQ), the first metrics designed to ensure temporal smoothness and coherence in topic evolution.

Methods: A Hierarchical Evaluation Framework

The proposed evaluation framework moves beyond static word co-occurrence to capture the "cinematic" flow of topics. It consists of four primary components:

  1. Temporal Topic Coherence (TTC): Measures how often words from a topic at time $T$ appear alongside words from the same topic at time $T+1$ in the original text.
  2. Temporal Topic Smoothness (TTS): Quantifies the overlap of top words across time steps, rewarding gradual vocabulary shifts.
  3. Temporal Topic Quality (TTQ): The product of TTC and TTS, providing a unified score for a single topic's evolution.
  4. Dynamic Topic Quality (DTQ): The comprehensive metric that aggregates temporal scores (TTQ) with traditional static Topic Quality (TQ) across the entire timeline.
Figure 1: Conceptual framework for calculating Dynamic Topic Quality (DTQ) by combining static snapshot quality (TQ) and temporal transition quality (TTQ).

Experimental Validation and Human Alignment

The metrics were validated using three diverse corpora: the NeurIPS Corpus (1987–2019), the New York Times (1987–2007), and the UN General Debates (1970–2020). A critical component of this validation was comparing automated scores against human judgment.

The results demonstrated a strong positive correlation between the proposed metrics and human perception of "good" topic transitions. Specifically, Temporal Topic Smoothness (TTS) achieved Spearman’s $\rho$ values as high as 0.83 on the NeurIPS dataset, confirming that the mathematical formulations align closely with human intuition.

Figure 5: Correlation between automated metrics (TTS and TTC) and human ratings across the NeurIPS, NYT, and UN datasets, showing high alignment for models like D-LDA and D-ETM.

Key Insights

  • Static Metrics are Blind to Time: Traditional metrics like NPMI fail to distinguish between a coherent chronological model and a version where the timeline is randomized. This highlights the necessity of temporal-specific metrics.
  • The Smoothness Trade-off: While modern neural models (e.g., D-ETM) are powerful, they often exhibit more "topic drift" compared to classical statistical models like D-LDA, which tend to produce smoother transitions.
  • LLM Limitations: Preliminary tests with Large Language Models (D-LLM) suggest they currently struggle to maintain the same level of temporal coherence as specialized DTMs without specialized prompting.

Conclusion

The introduction of TTQ and DTQ provides a necessary standard for the development of more reliable Dynamic Topic Models. By penalizing abrupt, nonsensical shifts, these metrics ensure that the digital histories extracted from text are both accurate at any given moment and coherent over time. Future work will focus on adapting these metrics for real-time online topic models and using them to distinguish between model errors and genuine, sudden shifts in public discourse.

Summary updated

BibTeX
@inproceedings{james2024evaluating,
  author = {Charu James and Mayank Nagda and Nooshin Haji Ghassemi and Marius Kloft and Sophie Fellenz},
  title = {{Evaluating Dynamic Topic Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.11},
}
Figure