TL;DR
This paper introduces HLTA-c, a novel hierarchical topic detection model that extends existing Hierarchical Latent Tree Analysis (HLTA) by incorporating word counts. By proposing a new document generation process and an efficient parameter estimation method, HLTA-c achieves significantly better model fit and more meaningful topic hierarchies compared to LDA-based methods, setting a new state-of-the-art.
What Problem Does This Paper Address?
Traditional topic modeling methods, like Latent Dirichlet Allocation (LDA), often struggle to capture hierarchical relationships between topics effectively. While methods like Hierarchical LDA (hLDA) and Hierarchical Latent Tree Analysis (HLTA) address this by building topic hierarchies, HLTA has a significant limitation: it can only process binary document representations (presence/absence of words), ignoring valuable word count information. This paper aims to bridge this gap by extending HLTA to handle word counts, thereby improving the quality and interpretability of hierarchical topic models.
Methods
The core contribution is the development of HLTA-c, a document generation process built upon the structure of an HLTM learned from binary data. The process involves:
- Latent Variable Sampling: Similar to the original HLTA, latent variables are sampled layer by layer using logic sampling.
- Unnormalized Relative Frequencies (URFs): Instead of binary word variables, HLTA-c samples real-valued URFs for each word from a truncated normal distribution, conditioned on their parent latent variables. These URFs are intended to approximate the relative frequency of words in a document.
- Normalized Relative Frequencies: The URFs are then normalized to obtain a probability distribution over the vocabulary, forming normalized relative frequencies.
- Document Generation: Words for a document are sampled from this multinomial distribution.
To estimate the parameters of this generative model, the authors propose an approximate method:
- Approximation: They replace the truncated normal distribution with a standard normal distribution and assume the URFs are sampled from it. This allows them to use a related model, Ma, which is easier to work with.
- Parameter Estimation: The parameters of Ma are estimated using an EM algorithm, with a further optimization using stepwise EM for efficiency on large datasets.
Model evaluation is performed using held-out log-likelihood on test data.
Datasets
The paper uses four datasets for evaluation:
- NIPS: 1,955 articles from NIPS conferences (1988-1999). Versions with vocabulary sizes of 1,000, 5,000, and 10,000 were created.
- 20 Newsgroup: 19,940 newsgroup posts. Versions with vocabulary sizes of 5,000 and 10,000 were created.
- New York Times (NYT): 300,000 articles (vocabulary size 10,000).
- AI: 24,307 papers from seven AI conferences and three AI journals (2000-2017, vocabulary size 10,000).
The NIPS and 20 Newsgroup datasets were downsampled to create different vocabulary sizes using average TF-IDF.
Key Insights and Ideas
- Word Counts Matter for Hierarchical Topics: Ignoring word counts (as in the original HLTA) is a significant drawback. HLTA-c demonstrates that incorporating this information leads to substantially better model performance.
- HLTMs Offer a Different Perspective: Unlike LDA, HLTMs model word co-occurrence patterns directly through their graphical structure, which is conducive to discovering meaningful topic hierarchies.
- Approximation for Tractability: The clever use of an auxiliary model (Ma) and approximation techniques (replacing truncated normal with normal, using empirical relative frequencies) makes parameter estimation feasible for the complex generative model.
- Hierarchical Structure is Key: The paper strongly advocates for the importance of explicit hierarchical structures in topic models, showing that HLTA-c produces more coherent and interpretable topic trees than LDA-based methods.
Key Results
- Model Quality: HLTA-c consistently achieved significantly higher held-out log-likelihood scores across all datasets compared to LDA-based baselines (hLDA, nHDP, hPAM). For example, on the NYT dataset, HLTA-c achieved -1,255, while nHDP scored -2,070.
- Fewer Parameters: HLTA-c requires significantly fewer parameters than LDA-based methods, making it more efficient and less prone to overfitting.
- Topic Quality: HLTA-c achieved the highest compactness scores in all tested cases and the highest coherence scores in most cases.
- Hierarchical Interpretability: Qualitative analysis of topic hierarchies showed that HLTA-c produces more meaningful and well-organized topic structures, with clearer relationships between general and specific topics.
Limitations and Future Work
- Approximation Error: The paper acknowledges that there are no formal error bounds relating the target likelihood (HLTA-c) and the approximate likelihood (Ma). However, empirical results suggest the approximation is effective.
- Parameter Tuning: While HLTA-c itself determines the hierarchy height and node count, other parameters for the LDA baselines were tuned to match the number of topics produced by HLTA-c for fair comparison.
- Future Work: The paper suggests that the strategy of using a simpler model for structure learning and a more complex model for parameter learning on full data can be a fruitful direction for future research in machine learning.
Summary updated