On the Affinity, Rationality, and Diversity of Hierarchical Topic Modeling
Xiaobao Wu, Fengjun Pan, Thong Nguyen, Yichao Feng, Chaoqun Liu, Cong-Duy Nguyen, Anh Tuan Luu
TL;DR
TraCo addresses three core issues in hierarchical topic modeling—low affinity between child and parent topics, low rationality of topic granularity across levels, and low diversity among siblings—by introducing Transport Plan Dependency (TPD) and a Context-aware Disentangled Decoder (CDD). TPD casts interlevel topic dependencies as entropic-regularized optimal transport plans, enforcing sparsity and balance via Sinkhorn optimization with cost $C^{( ext{ell})}_{kk'} = orm{ oldsymbol{t}^{( ext{ell+1})}_{k} - oldsymbol{t}^{( ext{ell})}_{k'} }^{2}$. CDD decouples decoding by level and injects a contextual topical bias $oldsymbol{b}^{( ext{ell})}$ derived from neighboring levels, promoting different semantic granularity across levels and improving rationality. The overall objective combines the TPD regularization and a VAEs-style topic-modeling loss: $ ext{min}_{ ext{params}} rac{ ext{TPD}}{L-1} + rac{1}{N} ext{TM}$, where the TM term includes per-level reconstructions with bias and a KL term for the latent r. Empirical results on NeurIPS, ACL, NYT, WikiText-103, and 20NG show TraCo consistently outperforms baselines in topic quality, hierarchical affinity/rationality/diversity, and downstream tasks, demonstrating more interpretable and task-effective topic hierarchies.
Abstract
Hierarchical topic modeling aims to discover latent topics from a corpus and organize them into a hierarchy to understand documents with desirable semantic granularity. However, existing work struggles with producing topic hierarchies of low affinity, rationality, and diversity, which hampers document understanding. To overcome these challenges, we in this paper propose Transport Plan and Context-aware Hierarchical Topic Model (TraCo). Instead of early simple topic dependencies, we propose a transport plan dependency method. It constrains dependencies to ensure their sparsity and balance, and also regularizes topic hierarchy building with them. This improves affinity and diversity of hierarchies. We further propose a context-aware disentangled decoder. Rather than previously entangled decoding, it distributes different semantic granularity to topics at different levels by disentangled decoding. This facilitates the rationality of hierarchies. Experiments on benchmark datasets demonstrate that our method surpasses state-of-the-art baselines, effectively improving the affinity, rationality, and diversity of hierarchical topic modeling with better performance on downstream tasks.
