Introduction
In traditional machine learning applications, data is often assumed to be exchangeable, meaning the order of observation does not impact the underlying statistical model. However, in domains such as news cycles, academic research, and social media, time is a critical dimension. While Dynamic Topic Models (DTM) have been developed to address temporal dependencies, they frequently struggle to account for the "long tail" or power-law distributions inherent in real-world text data, where a small number of terms appear with high frequency while a vast majority appear rarely.
This paper introduces Dependent Hierarchical Normalized Random Measures (DHNRM), a non-parametric framework designed to model topic evolution over time while explicitly accommodating these heavy-tailed distributions. By moving beyond the standard Dirichlet Process, the authors provide a more flexible mathematical foundation for tracking how topics emerge, evolve, and fade.
The Limitation of Dirichlet Processes
Most non-parametric topic models, such as the Hierarchical Dirichlet Process (HDP), rely on the Dirichlet Process (DP) as their primary building block. While the DP is mathematically convenient, it lacks the flexibility to naturally produce power-law behavior. In real-world datasets—ranging from word frequencies in documents to labels in image collections—we observe a "rich-get-richer" phenomenon more aggressive than what a DP can characterize.
Furthermore, the assumption of full exchangeability in HDP fails in dynamic settings. For example, the topics discussed in a research journal in 2024 are intrinsically linked to the discourse of 2023. There is a clear need for a model that is both temporally dependent and capable of modeling heavy-tailed data distributions.
The DHNRM Framework
The authors propose replacing the Dirichlet Process with a broader class of Normalized Random Measures (NRM), specifically focusing on the Normalized Generalized Gamma (NGG) process. The NGG process includes a power-law parameter ($a$) that allows the model to better fit the heavy tails of real-world data; notably, the standard Dirichlet Process is a special, limiting case of the NGG.
To introduce temporal dependency, the framework defines three primary operators that link a measure at time $t$ to the measure at time $t+1$:
- Subsampling ($S^q$): This operator determines which topics from the previous time step are retained, governed by a probability $q$.
- Point Transition ($T$): This allows the "atoms" of the measure—the actual word distributions defining a topic—to shift. This represents the linguistic drift or evolution of a field's vocabulary over time.
- Superposition ($\oplus$): This operator introduces entirely new topics that originate in the current time step, allowing the model to account for the birth of new trends.
Inference via Slice Sampling
Performing inference on dependent NRMs is computationally challenging because the measures are infinite-dimensional. The authors address this by performing the dependency operations on unnormalized measures first and then normalizing the result. They adapt a slice sampler, a Markov Chain Monte Carlo (MCMC) technique that allows for the direct manipulation of the underlying Poisson processes. This approach makes the model computationally feasible while maintaining the flexibility of the non-parametric framework.
Experimental Evaluation
The model (DHNGG) was evaluated against nine diverse datasets to test its performance across various temporal scales:
- Academic Trends: Abstracts from ICML, JMLR, TPAMI, and NIPS spanning several years.
- News and Blogs: The Reuters "Person" dataset and Daily Kos (BDT) blog posts.
- Social Media: High-variance data from three Twitter accounts (ESPN FirstTake, sportsguy33, and SportsNation).
Key Findings
- Performance: The DHNGG consistently outperformed both the standard HDP and the original DTM across all datasets. It showed a 1%–3% improvement in test log-likelihood, a significant margin in the context of large-scale language modeling.
- Domain Sensitivity: The optimal subsampling rate ($q$) varied significantly by domain. Academic datasets, which evolve slowly, performed best with $q \approx 1$. Conversely, Twitter datasets required $q$ values between 0.5 and 0.7, reflecting the rapid churn of social media topics.
- Qualitative Success: The model accurately captured the emergence of new research areas. In the JMLR dataset, it identified the rise of "software" as a distinct topic around 2008, coinciding with the establishment of the Machine Learning Open Source Software (MLOSS) repository.
Conclusion
The DHNRM framework provides a robust solution for modeling dynamic, heavy-tailed data. While the use of slice sampling and NGG processes introduces higher computational overhead than simpler parametric models, the gains in predictive accuracy and the ability to capture topic "birth" and evolution are substantial. Future research may explore more complex transition kernels to better model nuanced linguistic shifts and apply the framework to non-textual dynamic data, such as genomic sequences or video streams.
Summary updated