Abstract: Topic modeling has become a ubiquitous topic analysis tool for text exploration. Most of the existing works on topic modeling focus on fitting topic models to input data. They however ignore an important usability issue that is closely related to the end user experience: stability. In this study, we investigate the stability problem in topic modeling. We first report on the experiments conducted to quantify the severity of the problem. We then propose a new learning framework to mitigate the problem by explicitly incorporating topic stability constraints in model training. We also perform user study to demonstrate the advantages of the proposed method.
Introduction: The Challenge of Topic Jitter
Topic models, particularly Latent Dirichlet Allocation (LDA), are standard tools for exploring large text collections. However, they possess a major usability flaw: instability. Because these models rely on non-convex optimization and stochastic inference (such as Gibbs sampling), two separate runs on the exact same data can produce wildly different results.
For an end-user, this inconsistency—often called "topic jitter"—is a significant hurdle. Consider a user tracking news on the Syrian conflict. After a system update or the addition of new articles, their established "Syria" topic might suddenly merge with "Iraq Violence," and previously categorized articles may shift to entirely different groups. This disruption breaks the user's mental map, hinders document recall, and ultimately erodes trust in the system.
Quantifying and Solving Instability
To address this, we first formalize the problem using three Stability Metrics:
- Document Stability ($S_d$): The percentage of documents that maintain the same topic label across runs.
- Keyword Stability ($S_k$): The average percentage of top keywords that remain unchanged for a topic.
- Token Stability ($S_t$): The percentage of individual word tokens that retain their topic assignments.
Our proposed solution, nTMU (non-disruptive Topic Model Update), introduces a framework that uses pairwise constraints to anchor new models to previous versions. Rather than forcing rigid labels, nTMU employs:
- Must-link constraints: Encouraging documents that shared a topic in the previous model to stay together.
- Cannot-link constraints: Encouraging documents that were in different topics to remain separate.
This approach allows topics to evolve naturally as new data arrives while preserving the underlying relationships between existing documents.
Experimental Results and User Study
We evaluated nTMU using the 20 Newsgroups and NIPS datasets for quantitative analysis, and a custom CNN News dataset for a human-centric user study.
Quantitative Performance
The instability of standard LDA is stark: on the NIPS dataset, retraining on the same data resulted in only ~60% document stability. In contrast, nTMU achieved a document stability ($S_d$) of 88.1%, significantly outperforming standard LDA (43.3%) and other "warm-start" methods like Fixed Fold-in (60.2%).
User Experience and Comprehension
A study involving 80 participants demonstrated that mathematical stability translates directly to improved usability. Users interacting with the nTMU-updated system were significantly more accurate at identifying the correct topic for an article (0.875 vs. 0.388 for standard LDA) and were much more successful at re-locating previously seen articles (0.775 vs. 0.525).
Conclusion
By explicitly incorporating stability constraints into the learning process, nTMU mitigates the disruptive effects of topic jitter. This research highlights that for real-world document exploration tools, maintaining a consistent user "mental map" is as crucial as the model's statistical fit. Future work will explore managing computational overhead for massive datasets and allowing users to selectively "lock" specific topics of interest.
Summary updated