NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Rare Topic Discovery Model for Short Texts Based on Co-occurrence word Network

Chengjie Ma, Junping Du, Yingxia Shao, Ang Li, Zeli GuanarXiv 2022 · DOI

Abstract

Topic discovery in short texts, such as social media posts or news headlines, is hindered by severe data sparsity and the dominance of frequent topics. Traditional Latent Dirichlet Allocation (LDA) models often fail to capture "rare" topics in unbalanced datasets. This paper introduces the Co-occurrence Word Network-Based Model (CWIBTD), which leverages Pointwise Mutual Information (PMI) to weight word relationships within a global network. By filtering out common co-occurrences and generating pseudo-documents from the pruned network, CWIBTD enhances the visibility of scarce but significant topics. Our evaluation shows that while CWIBTD is a specialist tool, it achieves superior purity (0.963) on rare topic discovery compared to baseline models.

Introduction

The proliferation of short-form digital content presents a unique challenge for Natural Language Processing (NLP). Unlike long-form documents, short texts lack sufficient word co-occurrence context within individual records, leading to the "sparsity problem." Furthermore, real-world datasets are often imbalanced; a few massive topics frequently obscure rare topics. Standard models like LDA and its variants tend to bias toward the majority classes, leaving the "needle in the haystack" undiscovered.

Methodology: The CWIBTD Model

The CWIBTD model shifts the focus from document-level analysis to a corpus-wide graph-based approach. The workflow consists of several primary stages:

1. Network Construction and PMI Weighting

A word co-occurrence network is built by scanning the entire corpus with a sliding window. To distinguish between thematic associations and random noise, the model employs Pointwise Mutual Information (PMI). PMI measures the probability of two words appearing together relative to their individual frequencies. Edges with zero or negative PMI—often representing common "stop words" or unrelated high-frequency terms—are aggressively pruned.

Transformation of word co-occurrence counts to PMI-weighted edges, illustrating the pruning of non-significant relationships.

As shown in the figure above, raw co-occurrence counts are converted into activity degrees. This process effectively "levels the playing field," preventing high-frequency words from dominating the network structure and allowing rare, highly-correlated word pairs to stand out.

2. Pseudo-Document Generation

To utilize standard inference algorithms like Gibbs sampling, the weighted network must be converted back into a text-like format. The model generates "pseudo-documents" where the frequency of words reflects their weighted importance in the network.

Generation of pseudo-documents from the weighted word network to facilitate topic inference.

3. Topic Inference

Finally, a standard Gibbs sampling process is applied to these pseudo-documents to extract the latent topics. By aggregating word pairs across the whole dataset into a single network, the model artificially increases "semantic density," effectively solving the sparsity issue inherent in individual short messages.

Experimental Evaluation

The model was tested against three benchmarks: SearchSnippets, Tweet, and GoogleNews. To specifically measure rare topic discovery, an "Imbalance_SearchSnippets" dataset was created, featuring four "large" topics (300 samples each) and four "rare" topics (20 samples each).

Results and Discussion

The experiments revealed a distinct performance trade-off:

  • Balanced Datasets: On standard balanced datasets like GoogleNews, CWIBTD underperformed compared to the Word Network Topic Model (WNTM), yielding a purity of 0.721 versus WNTM's 0.837.
  • Rare Topic Discovery: On the imbalanced dataset, CWIBTD demonstrated exceptional precision. It achieved a purity of 0.963 for rare categories, significantly outperforming LDA (0.75) and WNTM (0.725).

Conclusion

CWIBTD is a specialized model designed for environments where identifying rare events is more critical than general categorization. By using PMI to prune the word network, it successfully filters out the noise of dominant topics. Future research will focus on hybrid weighting schemes to improve the model's performance on common topics without sacrificing its sensitivity to rare ones.

Summary updated

BibTeX
@misc{ma2022rare,
  author = {Chengjie Ma and Junping Du and Yingxia Shao and Ang Li and Zeli Guan},
  title = {{A Rare Topic Discovery Model for Short Texts Based on Co-occurrence word Network}},
  year = {2022},
  eprint = {2207.00432},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.00432},
}
Figure