Hierarchical learning of grids of microtopics

Nebojsa Jojic, Alessandro Perina, Dongwoo Kim

Introduction

Topic modeling has long been a cornerstone of unsupervised learning, with methods like Latent Dirichlet Allocation (LDA) providing a way to represent documents as mixtures of broad themes. However, traditional models often struggle to provide intuitive spatial visualizations of topic relationships or to extract fine-grained "microtopics" from smaller datasets without overfitting.

Counting Grids (CG) were introduced to address these issues by mapping word distributions onto a 2D grid. In this framework, documents are modeled as overlapping windows into the grid, creating a spatial map of related concepts. Despite their promise, training CGs via Expectation-Maximization (EM) is prone to local minima. This paper proposes a hierarchical extension to CGs that improves training stability and model coherence.

Methodology

The authors introduce Hierarchical Counting Grids (HCG) and Hierarchical Componential Counting Grids (HCCG). The core idea is to stack layers of grids where the top layer generates the window locations for the layer below.

Plate notation for standard (a, b) and hierarchical (c, d) Counting Grid models.

The hierarchy serves as an optimization guide. By training the model top-down, the higher layers provide a coarse-grained structure that helps the lower layers avoid poor local minima. Crucially, these deep architectures can be mathematically "collapsed" back into a single-layer grid, meaning the hierarchy is primarily a tool for better optimization rather than increased representational capacity.

Experimental Evaluation

The models were tested on a variety of datasets:

  • MNIST: 2,000 handwritten digits treated as "bags of pixels" to test spatial stroke learning.
  • 20-Newsgroup (20N): Text classification focusing on difficult technical sub-categories.
  • Mastercook (MC): 4,000 recipes across 15 classes.
  • Science Magazine: Abstracts and reports from a 20-year span for large-scale extraction.
  • Wikipedia: 10,000 articles for human-in-the-loop evaluation.

Results and Discussion

The hierarchical approach yielded significant improvements across multiple metrics. In terms of log-likelihood, the hierarchical models outperformed basic CGs with a p-value < $10^{-20}$. On the Mastercook classification task, the HCCG model achieved 78.9% accuracy, surpassing standard CCGs (76.2%) and linear SVMs (71.3%).

Human evaluation through "word intrusion" tasks further validated the model's coherence. Participants correctly identified out-of-place words in 71% of HCCG-generated topics, compared to 58% for LDA. The models also showed a gain of 0.5 bits in "query clarity," indicating better differentiation of document subsets.

A full counting grid visualization of Science Magazine abstracts, highlighting microtopics related to Physics, Biology, and Astronomy.

The grid structure acts as a "massive Venn diagram" where overlapping windows define microtopics. This spatial arrangement forces nearby microtopics to be related, resulting in a smooth transition of themes across the map, as seen in the Science Magazine visualization. Additionally, the model demonstrated an ability for unsupervised disentanglement, successfully "unmixing" overlapping MNIST digits into their constituent parts without prior labels.

Conclusion

Hierarchical Counting Grids offer a robust solution to the training instabilities of standard grid-based topic models. By leveraging hierarchy as an optimizer, the models achieve better likelihoods, higher classification accuracy, and more interpretable visualizations. Future work may explore automated layer selection and more direct comparisons with other sparse intersection models like Restricted Boltzmann Machines.

Summary updated

BibTeX
@inproceedings{jojic2016hierarchical,
  author = {Nebojsa Jojic and Alessandro Perina and Dongwoo Kim},
  title = {{Hierarchical learning of grids of microtopics}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2016},
  url = {https://openreview.net/forum?id=UJ3fLtE1wV},
}
Figure