Abstract
Traditional hierarchical topic models (HTMs) are often constrained by rigid tree structures and simple Gaussian priors, which limit their ability to capture complex horizontal dependencies and handle sparse data. This paper introduces NSEM-GMHTM, a deep generative model that integrates Nonlinear Structural Equation Models (NSEM) with a Gaussian Mixture prior. By explicitly modeling both vertical (parent-child) and horizontal (symmetric) relationships, NSEM-GMHTM achieves superior topic coherence and structural rationality. Evaluations on benchmark datasets like 20News, NIPS, and Wikitext-103 show significant improvements in Topic Coherence (NPMI) and Topic Uniqueness (TU) over state-of-the-art baselines.
Introduction
Hierarchical topic modeling is a cornerstone of automated text organization, allowing for the discovery of multi-level semantic structures (e.g., "Sports" $\rightarrow$ "Ball Games" $\rightarrow$ "Basketball"). However, existing Neural Hierarchical Topic Models (NHTMs) typically suffer from two primary limitations: the "Tree Trap" and data sparsity.
The Tree Trap refers to the assumption that topics only relate vertically. In reality, topics at the same level often exhibit horizontal or symmetric dependencies—for instance, "encryption" and "privacy" are related peers rather than a parent-child pair. Furthermore, many models rely on a single isotropic Gaussian prior, which often fails to capture the multi-modal nature of real-world text, leading to "mode collapse" where generated topics become repetitive or nonsensical.
Methodology
NSEM-GMHTM addresses these challenges through a novel architecture that combines structural equation modeling with advanced variational inference. The framework is built upon three core components:
1. Nonlinear Structural Equation Modeling (NSEM)
Unlike traditional models that use a simple dependency matrix for hierarchy, NSEM-GMHTM employs NSEMs to construct symmetric dependencies between topics at the same level. This allows the model to learn "cross-talk" between nodes, which clarifies the overall structure and aids in the discovery of more accurate vertical hierarchies.
2. Gaussian Mixture Model (GMM) Prior
To combat data sparsity and mode collapse, the researchers replaced the standard single Gaussian prior with a mixture of $K$ Gaussians. This provides a more flexible and "tighter" estimation of the posterior distribution, enabling the Variational Auto-Encoder (VAE) to better represent the underlying semantics of sparse datasets like NIPS.
3. Layered Decoder and Neural Inference
The model utilizes a layered decoder that reconstructs documents by aggregating document-topic distributions across multiple levels. This ensures that every layer of the hierarchy contributes to the final representation. Parameter inference is handled via fast Neural Variational Inference (NVI), avoiding the high computational overhead of traditional Gibbs sampling.
Experimental Results
The model was rigorously evaluated against state-of-the-art baselines, including SawETM and nTSNTM, across three major datasets: 20News, NIPS, and Wikitext-103.
- Topic Coherence (NPMI): NSEM-GMHTM achieved an average improvement of 30.8% over SawETM. On the sparse NIPS dataset, it outperformed the next best hierarchical model by 26.7%, demonstrating the effectiveness of the GMM prior.
- Topic Uniqueness (TU): The model produced significantly more distinct topics. On the 20News dataset, it reached a TU score of 0.811, compared to 0.683 for the second-best model (nTSNTM).
- Qualitative Analysis: Visualizations confirmed that the model successfully grouped related peers (e.g., "israel" and "arab") into logical clusters while maintaining a clear path from general root topics to specific leaf nodes.
Discussion and Future Work
A key insight from this research is that modeling horizontal relationships is not merely an additive feature; it is a fundamental requirement for discovering better vertical hierarchies. By understanding peer relationships, the model can more accurately assign topics to their correct parents.
While NSEM-GMHTM represents a significant advancement, the authors note that incorporating external knowledge bases like WordNet or ConceptNet could further refine the discovery of topic structures. Future work will also focus on simplifying the complexity of modeling symmetric dependencies to improve scalability for even larger datasets.
Summary updated