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

Modeling Dynamic Topics in Chain-Free Fashion by Evolution-Tracking Contrastive Learning and Unassociated Word Exclusion

Xiaobao Wu, Xinshuai Dong, Liangming Pan, Thong Nguyen, Anh Tuan Luu

Abstract

Traditional Dynamic Topic Models (DTMs) rely on Markov chains to track the evolution of topics over time. However, this dependency often introduces two significant issues: topic redundancy within time slices and the "leakage" of unassociated words across chronological boundaries. This paper introduces the Chain-Free Dynamic Topic Model (CFDTM), a novel framework that replaces rigid temporal chains with Evolution-Tracking Contrastive Learning (ETC) and Unassociated Word Exclusion (UWE). By leveraging a neural architecture, CFDTM ensures topic diversity and chronological integrity, significantly outperforming state-of-the-art models in both topic quality and downstream tasks.

Introduction

Dynamic Topic Modeling (DTM) is a critical tool for analyzing how discourse shifts within large document collections over time. Whether tracking the evolution of scientific research or news cycles, an effective DTM must balance two competing needs: continuity (connecting related topics across time) and distinctiveness (ensuring topics remain unique and relevant to their specific era).

Historically, models have addressed this using Markov chains, where the state of a topic at time t is directly dependent on its state at t-1. While intuitive, this "chaining" mechanism creates a rigid structure that often leads to "repetitive topics"—where different topics in the same year become indistinguishable—and "unassociated topics," where future vocabulary (e.g., "COVID-19") erroneously appears in past topic distributions (e.g., 2017) due to the forced temporal link.

The CFDTM Framework

To overcome these limitations, the Chain-Free Dynamic Topic Model (CFDTM) moves away from sequential dependencies. Built on a Neural Dynamic Topic Model architecture using Variational Autoencoders (VAE), the model introduces two primary mechanisms to manage topic evolution.

Evolution-Tracking Contrastive Learning (ETC)

Instead of a Markov chain, CFDTM employs contrastive learning to manage temporal relationships. The ETC module treats the same topic in adjacent time slices as a "positive pair," pulling their embeddings closer to maintain a coherent evolutionary thread. Simultaneously, it treats different topics within the same time slice as "negative pairs," pushing them apart. This dual-pressure system ensures that while a topic evolves smoothly over time, it does not collapse into other topics, maintaining high diversity within each time slice.

Unassociated Word Exclusion (UWE)

To solve the problem of chronological word leakage, the authors developed Unassociated Word Exclusion. This technique identifies high-probability words within a topic that do not actually appear in the documents of the corresponding time slice. The model then explicitly penalizes these "unassociated" words by pushing the topic embedding away from them. This acts as a temporal filter, ensuring that a topic's vocabulary is strictly grounded in the reality of its specific time period.

Experimental Evaluation

Datasets and Baselines

The researchers evaluated CFDTM against six state-of-the-art baselines, including DETM and BERTopic, across five diverse datasets:

  • NeurIPS (1987–2017): Long-term evolution of machine learning research.
  • ACL (1973–2006): Computational linguistics trends.
  • UN (1970–2015): Political discourse in United Nations General Debates.
  • NYT (2012–2022): General news coverage.
  • WHO (Jan–May 2020): Rapidly evolving COVID-19 research.

Quantitative Results

CFDTM consistently outperformed all baselines in Topic Coherence (TC) and Topic Diversity (TD). Notably, on the ACL dataset, CFDTM achieved a diversity score of 0.879, a substantial improvement over the next best baseline (0.651). Furthermore, when the topics were used as features for document classification and clustering, CFDTM led to superior F1 and Normalized Mutual Information (NMI) scores, indicating that the discovered topics are more representative of the underlying data.

Qualitative Analysis

Case studies highlighted the model's ability to distinguish between related but chronologically distinct events. For instance, in news datasets, CFDTM successfully tracked the evolution of geopolitical conflict from the "Crimea Crisis" in 2014 to the "Russia-Ukraine War" in 2022. Unlike chained models, CFDTM prevented the specific vocabulary of the 2022 conflict from polluting the 2014 topic, providing a much cleaner historical record.

Conclusion and Future Work

By breaking the chain and adopting a contrastive, exclusion-based approach, CFDTM provides a more robust and accurate method for dynamic topic modeling. It effectively eliminates the "pollution" of past topics by future data while maintaining high diversity. Future research directions include extending the model to support multilingual corpora and integrating Large Language Models (LLMs) to provide stronger semantic priors for sparse or highly technical datasets.

Summary updated

BibTeX
@inproceedings{wu2024modeling,
  author = {Xiaobao Wu and Xinshuai Dong and Liangming Pan and Thong Nguyen and Anh Tuan Luu},
  title = {{Modeling Dynamic Topics in Chain-Free Fashion by Evolution-Tracking Contrastive Learning and Unassociated Word Exclusion}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.183},
}
Figure