Automatic Labelling of Topic Models

Jey Han Lau, Karl Grieser, David Newman, Timothy Baldwin

Abstract

Topic modeling algorithms like Latent Dirichlet Allocation (LDA) represent topics as lists of terms, which can be difficult for humans to interpret. This paper presents a supervised approach to automatically generate human-readable labels for these topics. By querying Wikipedia for candidate labels and ranking them using a Support Vector Regression (SVR) model with lexical and search-based features, the proposed method produces labels that are semantically accurate and naturally phrased. Evaluation across four diverse domains—Blogs, Books, News, and PubMed—demonstrates that this approach significantly outperforms previous unsupervised methods and exhibits strong cross-domain robustness.

Introduction

Topic modeling is a powerful tool for organizing large document collections, but it suffers from a significant "usability" problem. Standard models represent a topic as a list of terms ranked by probability (e.g., stock, market, investor, fund). While mathematically sound, these lists impose a high cognitive load on users who must interpret the underlying concept.

Previous attempts to automate labeling often relied on extracting phrases directly from the source text. However, this frequently resulted in labels that were either too specific, too generic, or ungrammatical. This research seeks a method to generate labels that are both semantically accurate and naturally phrased by leveraging external knowledge.

Methodology

The proposed system utilizes a two-stage pipeline: Candidate Generation and Candidate Ranking.

Candidate Generation

Instead of restricting the search to source documents, the system queries Wikipedia using the top-10 terms of a topic. It retrieves the titles of top-ranked articles (Primary Candidates) and decomposes them into noun chunks and n-grams (Secondary Candidates). To ensure relevance, a novel measure called RACO (Related Article Conceptual Overlap) is employed, using Wikipedia’s link and category structure to filter out noise.

Candidate Ranking

A pool of approximately 30–40 candidates is ranked using a Support Vector Regression (SVR) model. The model incorporates several feature types:

  • Lexical Association: Measures such as Pointwise Mutual Information (PMI) and Chi-square ($\chi^2$) calculated over the Wikipedia corpus.
  • Search Engine Scores: BM25-based scores reflecting how well a candidate matches topic terms.
  • Lexical Features: Label length and overlap with original topic terms.
Table 1: Examples of topic terms from different domains and their corresponding label candidates with human-assigned average ratings.

Evaluation and Datasets

The method was evaluated across four distinct domains to test for domain independence:

  • BLOGS: 120,000 articles from the Spinn3r dataset.
  • BOOKS: 1,000 English books from the Internet Archive.
  • NEWS: 29,000 New York Times articles (Gigaword corpus).
  • PUBMED: 77,000 biomedical abstracts.

A gold-standard dataset was created using Amazon Mechanical Turk, where humans rated label candidates on a scale of 0 (inappropriate) to 3 (very good).

Results and Discussion

The supervised SVR approach consistently outperformed unsupervised baselines and previous state-of-the-art methods.

Performance Metrics

The system achieved Top-1 average ratings between 1.79 (PubMed) and 2.02 (News) on a 0–3 scale. For comparison, the theoretical "Upper Bound" (the best possible label in the candidate set) ranged from 2.3 to 2.4. Ranking quality was also high, with nDCG (normalized Discounted Cumulative Gain) scores often exceeding 0.80, indicating effective prioritization of high-quality labels.

Table 2: Performance comparison of the SVR model across different test domains and training configurations, showing Top-1 average ratings and nDCG scores.

Key Insights

  • Wikipedia as a Concept Proxy: Approximately 60% of human-suggested labels matched existing Wikipedia article titles, validating its use as a knowledge base.
  • Beyond "Best Term": Simply selecting the most probable word is an ineffective strategy; multi-word phrases often capture concepts more accurately (e.g., "STOCK MARKET TRADING" vs. just "stock").
  • Cross-Domain Robustness: Models trained on one domain (e.g., News) performed remarkably well on others (e.g., Blogs), suggesting universal characteristics of "good" labels.

Conclusion

This paper demonstrates that leveraging external knowledge bases like Wikipedia, combined with supervised ranking, provides a robust solution for topic labeling. While performance was slightly lower in highly specialized domains like PubMed due to the general nature of Wikipedia, the approach remains a significant advancement over document-internal methods. Future work may explore domain-specific corpora for feature training and generative approaches for label synthesis.

Summary updated

BibTeX
@inproceedings{lau2011automatic,
  author = {Jey Han Lau and Karl Grieser and David Newman and Timothy Baldwin},
  title = {{Automatic Labelling of Topic Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2011},
}
Figure