Sprinkling Topics for Weakly Supervised Text Classification

Swapnil Hingmire, Sutanu ChakrabortiACL 2014

Abstract

Traditional supervised text classification requires extensive manual labeling of documents, which is both time-consuming and costly. This paper introduces Topic Sprinkling LDA (TS-LDA), a weakly supervised approach that shifts the labeling burden from individual documents to a small set of latent topics. By "sprinkling" artificial words representing class labels back into the training data, the algorithm aligns the underlying topic model with the desired classification structure. Experimental results demonstrate that TS-LDA achieves performance competitive with fully supervised models while requiring significantly less human intervention.

Introduction

The "data hungry" nature of supervised learning remains a significant bottleneck in natural language processing. To train a reliable classifier, humans typically need to manually label thousands of documents. While unsupervised methods like Latent Dirichlet Allocation (LDA) can discover themes automatically, these themes often fail to align perfectly with the specific categories required for a given task. Previous attempts to bridge this gap, such as semi-supervised learning, still require substantial labeled data or struggle with "noisy" topics that overlap multiple classes.

TS-LDA addresses this by leveraging the efficiency of scale: labeling a cluster of words (a topic) provides a much higher information density per human action than labeling a single document. The authors propose a method to propagate this weak supervision throughout a corpus using higher-order word associations.

Methodology

The TS-LDA process consists of several distinct phases designed to refine unsupervised topics into class-aligned categories:

  1. Initial Topic Discovery: Standard LDA is run on an unlabeled corpus to identify latent topics.
  2. Weak Supervision (Topic Labeling): A human annotator reviews the top 30 words of each discovered topic and assigns one or more class labels. For example, a topic containing "nasa," "launch," and "orbit" would be labeled "space."
  3. Document Label Inference: Based on these human-labeled topics, the system estimates a probability distribution over classes for every document in the training set.
  4. The "Sprinkling" Step: For each document, the algorithm appends artificial words representing the inferred class labels. The volume of "sprinkled" words is proportional to the document's probability of belonging to that class.
  5. Refined Topic Modeling: A new LDA model is trained on this augmented dataset. During Gibbs sampling, if the algorithm encounters a sprinkled word, it is forced to use the associated class label; otherwise, it samples normally.
  6. Classification: Test documents are classified based on their most prominent topics within this refined, class-aligned model.
Table 1: Example of initial topic discovery where human annotators assign class labels to prominent word clusters. Note how some topics, like ID 0, may initially overlap multiple classes.

Experimental Setup

The researchers evaluated TS-LDA against three standard text benchmarks:

  • 20 Newsgroups: Approximately 20,000 documents across 20 newsgroups.
  • SRAA (Simulated/Real/Aviation/Auto): 73,218 Usenet articles focused on four specific discussion groups.
  • WebKB: 8,145 web pages from computer science departments categorized by role (e.g., student, faculty).

Results and Discussion

TS-LDA demonstrated strong performance across the board, outperforming the previous state-of-the-art weakly supervised method, ClassifyLDA, in 5 out of 9 experimental subsets.

Most significantly, TS-LDA's performance (measured by Macro-F1) was often nearly indistinguishable from a fully supervised LDA-SVM model. In the med-space subset of 20 Newsgroups, TS-LDA achieved an F1 of 0.938, slightly exceeding the supervised baseline of 0.933. This suggests that the sprinkling process effectively propagates human knowledge through the corpus via word co-occurrence patterns.

Table 2: Macro-F1 performance comparison across various datasets, showing TS-LDA's competitiveness with supervised models like LDA-SVM.

Beyond raw accuracy, the authors noted that the sprinkling process improved topic coherence. By forcing topics to align with human-defined classes, the resulting word clusters became more distinct and easier for humans to interpret.

Conclusion and Future Work

TS-LDA offers a compelling alternative to traditional supervised learning by reducing the labeling requirement to just 4 to 8 topics per dataset—a massive reduction in cognitive load. However, the method remains dependent on the quality of the initial unsupervised topics; "muddy" initial clusters can make human labeling difficult. Future research may explore "sprinkling" knowledge from external sources like Wikipedia to automate the alignment process further, potentially removing the need for human topic labeling entirely.

Summary updated

BibTeX
@inproceedings{hingmire2014sprinkling,
  author = {Swapnil Hingmire and Sutanu Chakraborti},
  title = {{Sprinkling Topics for Weakly Supervised Text Classification}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2014},
  doi = {10.3115/v1/p14-2010},
}
Figure