Adapting Topic Models using Lexical Associations with Tree Priors

Weiwei Yang, Jordan L. Boyd-Graber, Philip Resnik

Introduction

Traditional topic models like Latent Dirichlet Allocation (LDA) often produce clusters of words that, while statistically significant, lack semantic coherence for human users. This paper introduces a novel approach using tree priors to incorporate external lexical knowledge—such as Word2Vec embeddings—into the topic modeling process. By structuring topics as hierarchies rather than flat distributions, the proposed method improves interpretability and handles complex linguistic phenomena like polysemy without sacrificing performance on downstream machine learning tasks.

Methods: Tree-Structured Topic Models

The authors build upon the Tree LDA (tLDA) framework, where a topic is defined as a distribution over paths in a word hierarchy. In this model, words are the leaves of a tree, and internal nodes represent latent concepts. This structure allows the model to capture relationships between words more effectively than a flat vocabulary list.

Figure 1: A hierarchical tree structure in tLDA, where edge weights represent the probability of transitioning to specific words or sub-concepts.

Incorporating External Knowledge

The core innovation lies in how these trees are constructed using external "common sense" data:

  1. Association Scores: Word relationships are quantified using Skip-gram (Word2Vec) embeddings or G2 likelihood ratios calculated on the massive Gigaword corpus. This provides the model with prior knowledge about language that may not be present in a smaller target dataset.
  2. Hierarchical Agglomerative Clustering (HAC): These scores are used to group similar words into multi-layered hierarchies.
  3. Leaf Duplication (HAC-LD): To address polysemy, the authors allow words with multiple meanings to appear in different branches of the tree. For example, the word "spring" can be placed near "summer" in a seasonal context and near "lake" in a geographical context.

Key Insights: Balancing Likelihood and Coherence

A critical finding of the research is that optimizing for data likelihood (perplexity) often degrades topic coherence. By imposing tree constraints, the authors intentionally trade off some predictive power to enhance human interpretability. This "interpretability gap" is bridged by using external knowledge to guide the model toward concepts that make sense to humans.

Handling Word Senses

The HAC-LD approach is particularly effective at disambiguating word senses. By duplicating leaves, the model can contextually assign a word like "pounds" to either a finance-related topic (currency) or a health-related topic (weight) depending on the surrounding words.

Figure 5: Visualization of leaf duplication in action, showing how the word 'pounds' is correctly routed to different conceptual paths (currency vs. weight) based on its usage.

Results and Evaluation

The models were evaluated on the 20NewsGroups and Amazon Reviews datasets, using Wikipedia as an external reference for coherence (PMI) validation.

  • Improved Coherence: tLDA models consistently outperformed vanilla LDA in automated coherence metrics, producing "cleaner" topics by filtering out irrelevant associations (e.g., removing "food" from a Health topic).
  • Stable Performance: Despite the added constraints, tLDA maintained or slightly improved accuracy in document classification tasks, reaching approximately 86.9% on 20NewsGroups.
  • Efficiency: The method is significantly less computationally expensive than competing structured topic models, making it a practical choice for large-scale analysis.

Conclusion

This research demonstrates that external lexical associations provide a powerful prior for topic modeling. By moving beyond flat distributions to structured trees, we can create models that are both statistically sound and human-interpretable. Future work will explore dynamic tree structures that evolve during the training process to better fit the nuances of specific datasets.

Summary updated

BibTeX
@inproceedings{yang2017adapting,
  author = {Weiwei Yang and Jordan L. Boyd-Graber and Philip Resnik},
  title = {{Adapting Topic Models using Lexical Associations with Tree Priors}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1203},
}
Figure