Multi-label dataless text classification with topic modeling

Daochen Zha, Chenliang Li

TL;DR

Researchers have developed SMTM (Seed-guided Multi-label Topic Model), a framework that performs multi-label text classification without any labeled training data. By using just a few "seed words" per category and a specialized topic model that accounts for category sparsity, SMTM outperforms existing dataless methods and even rivals supervised models in data-scarce scenarios.

What Problem Does This Paper Address?

Traditional text classifiers are "data hungry"—they require thousands of manually labeled examples to learn how to distinguish between categories. This is particularly expensive for multi-label classification, where a single document (like a news article) might belong to several categories (e.g., "Politics," "Economics," and "Europe") simultaneously. Annotators have to check every possible label for every document, which is tedious and prone to error.

"Dataless" classification aims to solve this by using the semantic meaning of category names or a few descriptive "seed words" instead of training sets. However, most dataless methods are designed for single-label problems. Moving to multi-label is hard because:

  1. Sparsity: Most documents only belong to a tiny fraction of all possible categories.
  2. Thresholding: Without training data, it is difficult to decide the "cutoff" for how many labels to assign to a document.

Methods

The authors introduce SMTM (Seed-guided Multi-label Topic Model). It builds on Latent Dirichlet Allocation (LDA) but introduces two critical innovations:

  1. Spike and Slab Prior for Sparsity: To handle the fact that a document only relates to a few categories, SMTM uses a "spike and slab" prior. This acts as a probabilistic "on/off" switch (a Bernoulli variable) for each category. If the switch is "off," the category is ignored for that document. This allows the model to automatically select relevant categories without needing a manually tuned threshold.
  2. Seed-guided Biased GPU Sampling: To incorporate human knowledge without full labels, the model uses a Generalized Pólya Urn (GPU) sampling procedure. In a standard "rich-get-richer" model, words that appear often get assigned to a topic more frequently. SMTM "biases" this process: if a document contains a seed word for "Politics," the model nudges the sampler to favor the "Politics" topic for other words in that document. This propagates the semantics of the seeds throughout the entire corpus.

Datasets

The model was evaluated on two well-known multi-label benchmarks:

  • Ohsumed: A collection of medical abstracts from the MEDLINE database, featuring 23 cardiovascular disease categories.
  • Delicious: A dataset of web pages tagged by users on the social bookmarking site, using the 20 most common tags (e.g., "design," "programming," "web").

The authors manually selected roughly 4-5 seed words per category (e.g., for the category "Politics," seeds included government, political, democracy, senate).

Key Insights and Ideas

  • Sparsity is a Feature, Not a Bug: By explicitly modeling category sparsity using the spike and slab prior, the model avoids the "noise" of irrelevant categories that often plagues standard topic models.
  • Semantic Propagation: The biased GPU sampler allows the model to discover "latent" relevant words. For example, even if "Obama" wasn't a seed word for "Politics," the model learns it is highly relevant because it frequently co-occurs with seeds like "government" or "senate."
  • Dataless vs. Supervised: The paper shows that in "weak label" scenarios (where annotators might have missed some labels), a dataless approach can actually be more robust than a supervised one because it relies on the inherent semantic structure of the text rather than potentially incomplete human labels.

Key Results

SMTM significantly outperformed state-of-the-art dataless baselines like ESA (Explicit Semantic Analysis) and WMD (Word Mover’s Distance).

  • Accuracy: On the Ohsumed dataset, SMTM achieved a Macro-F1 of 0.480, compared to 0.424 for the best previous dataless baseline (ESA).
  • Closing the Gap: While supervised models like SVM still perform better when given massive amounts of data, SMTM achieved comparable results to supervised models when the training set was limited to roughly 1,000 documents.
  • Ranking: In terms of Macro-AUC (a measure of ranking quality), SMTM actually outperformed the supervised L-LDA model on the Ohsumed dataset (0.872 vs 0.861).

Limitations and Future Work

  • Seed Word Selection: Currently, seed words are selected manually based on a preliminary unsupervised LDA run. The authors acknowledge that this might not scale well to "extreme" multi-label classification involving thousands or millions of categories.
  • Domain Sensitivity: The model relies on word co-occurrence within the target corpus. If the corpus is too small or lacks clear semantic patterns, the "biased promotion" of topics might be less effective.
  • Future Directions: The authors plan to explore automated seed word selection and test the model's scalability on much larger category spaces.

Summary updated

BibTeX
@article{zha2019multi,
  author = {Daochen Zha and Chenliang Li},
  title = {{Multi-label dataless text classification with topic modeling}},
  journal = {Knowledge and Information Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=9YkyD5d0ehG},
}
Figure