Statistical topic models for multi-label document classification

Timothy N. Rubin, America Chambers, Padhraic Smyth, Mark Steyvers · DOI

In this 2012 study published in Machine Learning, researchers investigate a paradigm shift in multi-label document classification. While traditional methods rely on "discriminative" models like Support Vector Machines (SVMs) to define boundaries between classes, this paper proposes "generative" models based on Latent Dirichlet Allocation (LDA) that describe the underlying process of document creation.

The Challenge of Power-Law Distributions

Most multi-label classification research utilizes "sanitized" datasets with a small number of labels and abundant training data. However, real-world data typically follows a power-law distribution. In these scenarios, a few labels are extremely common, while thousands of others appear very rarely.

Traditional "one-vs-all" SVMs struggle with this "long tail." Because they treat each label as an independent binary classification task, the signal for a rare label is often overwhelmed by the noise of words associated with more frequent categories.

Comparison of label distributions in power-law vs. non power-law datasets.

Generative Modeling Approaches

The paper introduces three hierarchical versions of LDA tailored for supervised multi-label settings:

  • Flat-LDA: A baseline assuming label independence.
  • Prior-LDA: Incorporates corpus-wide label frequencies to account for natural imbalances.
  • Dependency-LDA: The most advanced model, which captures dependencies between labels (e.g., the co-occurrence of Baseball and Steroids).

To address the computational cost of Gibbs sampling, the authors developed a "fast inference" method that achieves a 10x speedup by passing information directly between word-level and topic-level parameters without sacrificing accuracy.

Results and the "Explaining Away" Effect

A core finding is the "explaining away" effect inherent in generative models. Once a word (e.g., "litigation") is assigned to a common label (e.g., Suits and Litigation), it is no longer available to be "claimed" by other labels. This allows specific, rare labels to be identified by the remaining words—a mechanism SVMs lack, as they evaluate all words for every label.

Example of word-label associations in SVM vs. LDA models.

Key results include:

  • Long-Tail Success: Dependency-LDA significantly outperformed tuned SVMs on the large-scale NYT and EUR-Lex datasets, particularly for labels with fewer than 10 training examples.
  • The RCV1 Exception: On the RCV1 dataset, which has massive training data per label, SVMs maintained a lead. This suggests discriminative models excel with abundant data, while generative models are more robust when data is sparse.

Conclusion

The study demonstrates that generative topic models are superior for large-scale, real-world multi-label classification where power-law distributions prevail. By modeling label dependencies and utilizing the "explaining away" effect, these models provide a clearer signal for rare categories. Future work may involve hybrid models that combine the strengths of both generative and discriminative approaches.

Summary updated

BibTeX
@article{rubin2012statistical,
  author = {Timothy N. Rubin and America Chambers and Padhraic Smyth and Mark Steyvers},
  title = {{Statistical topic models for multi-label document classification}},
  journal = {Machine Learning},
  year = {2012},
  doi = {10.1007/s10994-011-5272-5},
}
Figure