SSHLDA: A Semi-Supervised Hierarchical Topic Model

Xianling Mao, Zhaoyan Ming, Tat-Seng Chua, Si Li, Hongfei Yan, Xiaoming Li

Abstract

Traditional topic modeling approaches typically choose between unsupervised discovery of latent structures or supervised classification based on fixed labels. This paper introduces SSHLDA (Semi-Supervised Hierarchical Latent Dirichlet Allocation), a framework that bridges this gap. SSHLDA incorporates known category hierarchies as a "Base Tree" while automatically discovering latent sub-topics where labels are absent. Experimental results on large-scale datasets like Yahoo! Answers and the Open Directory Project demonstrate that SSHLDA achieves superior predictive accuracy and clustering performance compared to purely supervised or unsupervised baselines.

Introduction

Topic modeling is a fundamental task in natural language processing, yet most existing models operate in silos. Unsupervised models, such as Hierarchical Latent Dirichlet Allocation (hLDA), excel at finding structures from scratch but ignore valuable human-defined metadata. Conversely, supervised models like Hierarchical Labeled LDA (hLLDA) utilize existing labels but are unable to account for the "hidden" nuances of a dataset—the topical "iceberg" where only a small fraction of the structure is explicitly labeled.

SSHLDA addresses this by treating predefined labels as a starting point rather than a constraint. It allows a model to "grow" new branches of latent topics from the leaves of a known hierarchy, ensuring that the resulting structure is both human-interpretable and data-driven.

Methods

The core of SSHLDA is a unified generative process that combines fixed hierarchical labels with a nested Chinese Restaurant Process (nCRP).

The Base Tree and Latent Growth

The model begins with a "Base Tree" representing known category labels. For each document, the model selects a path through this hierarchy. At any given node, if a supervised label exists, the model draws words from that topic's distribution. If the path extends beyond the labeled nodes, the nCRP is used to dynamically branch into new latent topics.

The SSHLDA framework utilizes a Base Tree of known labels (shaded) and discovers latent sub-topics (unshaded) to capture the full topical structure.

Mathematical Unification and Inference

SSHLDA is a formal generalization of its predecessors. In the absence of labels, it reduces to the unsupervised hLDA; if every node is labeled, it functions as the supervised hLLDA. The authors employ a Gibbs sampling algorithm to estimate model parameters, allowing for the simultaneous refinement of word distributions for known labels and the discovery of new latent clusters.

Experimental Evaluation

The model was tested on two significant datasets: Yahoo! Answers, featuring a broad but shallow hierarchy, and the Open Directory Project (ODP), which contains deep hierarchies with sparse document counts per label.

Quantitative Results

SSHLDA consistently outperformed baselines in perplexity, indicating a better fit for unseen data. On the ODP dataset, the model showed a marked improvement in clustering quality, with FScore gains ranging from 13.5% to 34.2%. These results suggest that the semi-supervised approach effectively leverages labels to anchor the model while using latent topics to capture specific data variations.

Qualitative Coherence

Visual analysis of the generated trees reveals that SSHLDA produces more semantically coherent topics than unsupervised models. By using supervised labels as "anchors" at higher levels of the hierarchy, the model prevents the mixing of unrelated terms in root nodes, a common failure mode in hLDA.

Qualitative results showing (a) top-level anchored topics and (b) discovered latent sub-topics under "Computers & Internet," demonstrating the model's ability to find specific clusters like hardware and web services.

Conclusion

SSHLDA represents a significant step forward in hierarchical topic modeling by treating labels as the "tip of the iceberg." By integrating supervised knowledge with unsupervised discovery, the model achieves high predictive accuracy and produces human-interpretable topic structures. While computationally intensive, the framework provides a robust foundation for future work in semi-supervised learning across diverse media types.

This summary is based on the paper "SSHLDA: A Semi-Supervised Hierarchical Topic Model" presented at EMNLP 2012.

Summary updated

BibTeX
@inproceedings{mao2012sshlda,
  author = {Xianling Mao and Zhaoyan Ming and Tat-Seng Chua and Si Li and Hongfei Yan and Xiaoming Li},
  title = {{SSHLDA: A Semi-Supervised Hierarchical Topic Model}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2012},
}
Figure