Concept Modeling with Superwords

Khalid El-Arini, Emily B. Fox, Carlos GuestrinarXiv 2012

Abstract

Traditional topic models represent themes as dense probability distributions over a vocabulary, often leading to "diffuse" results that are hard to interpret. This paper introduces "Superwords," a Bayesian nonparametric approach using a nested beta process to represent concepts as sparse, discrete sets of words. By incorporating semantic side information like images or co-occurrence data, the model achieves higher coherence and handles multilingual data without parallel corpora.

Introduction: The Limitations of the "Bag of Topics"

In the field of natural language processing, topic models like Latent Dirichlet Allocation (LDA) and the Hierarchical Dirichlet Process (HDP) have long been the standard for discovering latent themes in large text corpora. However, these models rely on a "bag of topics" assumption where each topic is a probability distribution over the entire vocabulary. This approach suffers from several drawbacks.

First, topics are often "diffuse." Because every word in the vocabulary must have a non-zero probability (however small) in every topic, it becomes difficult to distinguish between fine-grained concepts. Second, these models face an identifiability problem: it is often unclear whether the model should favor many small, specific concepts or a few large, vague ones. Finally, standard models struggle to incorporate non-textual side information, such as images or structural data like sentence co-occurrence, which could provide crucial context for grouping words.

The Superwords Model

To address these issues, the authors propose "Superwords," a generative model based on the nested beta process (nBP). The nBP can be thought of as a two-stage "Indian Buffet Process." In the first stage, a document selects a sparse subset of available concepts (the "dishes"). In the second stage, each concept selects a sparse subset of words (the "chutneys") to represent it.

Unlike traditional topics, Superwords are discrete, strictly sparse sets. A word is either in a concept or it isn't. This sparsity makes the resulting concepts significantly more focused and human-readable.

Integrating Semantic Features

A key innovation of this model is the integration of a semantic feature matrix to solve the identifiability problem. Each word is associated with an observed feature vector—for instance, GIST descriptors derived from images or co-occurrence statistics. The model uses these features to encourage words with similar semantic profiles to belong to the same concept, effectively using external knowledge to guide the clustering process.

Experimental Evaluation

The model was tested on two distinct datasets to demonstrate its versatility:

  1. Multilingual Recipes: A dataset of English and German dessert recipes. To bridge the language gap without a dictionary, the authors used the top three Google Image search results for each word to generate 10-dimensional GIST-based features.
  2. The Congressional Record: Speeches from the 100 most active members of the U.S. Congress during the 2009-2010 health care debate. This dataset utilized 50 semantic features derived from sentence-level word co-occurrence.

Key Results and Insights

The Superwords model demonstrated superior performance in terms of both interpretability and accuracy.

Coherence and Sparsity

In a user study, 73% of participants preferred Superword concepts over those generated by HDP, citing higher coherence. The model successfully induced extreme sparsity, with 99% of the empirical probability mass concentrated on 25 or fewer words per concept. This contrast is starkly visible when comparing Superwords to traditional topics, which often contain hundreds of low-probability words that clutter the representation.

Images as a Universal Translator

The recipe experiment yielded a powerful insight: image features can act as a semantic bridge. The model was able to group "apple" and "apfel" into the same concept based on visual similarity, even though the words never co-occurred in the text. This suggests that Superwords could be used to build robust multilingual models without the need for parallel corpora.

Contextual Flexibility and Concept Drift

The model also allows for "concept drift," where the same underlying concept manifests differently across documents. In the Congressional data, a "Health Care" concept might emphasize "Obamacare" in Republican speeches while focusing on "health care bill" in Democratic ones. The nBP framework allows the model to recognize these as variations of the same concept rather than entirely separate topics.

Conclusion and Future Directions

Superwords offer a promising alternative to traditional topic modeling by prioritizing sparsity and incorporating semantic side information. While the current implementation faces computational challenges due to the high cost of matrix operations in the inference procedure, it provides a more interpretable and flexible way to model document content. Future work will focus on improving scalability and exploring more complex types of side information, such as direct user feedback, to further refine concept discovery.

Summary updated

BibTeX
@misc{elarini2012concept,
  author = {Khalid El-Arini and Emily B. Fox and Carlos Guestrin},
  title = {{Concept Modeling with Superwords}},
  year = {2012},
  eprint = {1204.2523},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1204.2523},
}
Figure