GloCOM: A Short Text Neural Topic Model via Global Clustering Context

Quang Duc Nguyen, Tung Nguyen, Duc Anh Nguyen, Linh Ngo Van, Sang Dinh, Thien Huu Nguyen · DOI

Abstract

Short text topic modeling is a challenging task due to severe data and label sparsity. Traditional models struggle with the lack of word co-occurrence patterns in brief snippets like tweets or headlines. This paper introduces GloCOM (Global Clustering Ontexts for Topic Models), a neural topic model that leverages global context to enhance sparse local data. By using pre-trained language models (PLMs) to cluster similar documents, GloCOM generates "global documents" that provide rich thematic signals. A latent adaptive variable then fuses this global knowledge with individual document features. Experimental results across four benchmarks show that GloCOM achieves state-of-the-art topic coherence and document clustering performance while being orders of magnitude faster than existing neighbor-based approaches.

Introduction: The Sparsity Challenge

Topic modeling is a fundamental NLP task used to organize large document collections. However, when applied to short texts—such as search snippets, news titles, or social media posts—standard models often fail. These texts suffer from two primary issues:

  1. Data Sparsity: With only a few words per document, models cannot easily learn that semantically related terms (e.g., "Apple" and "iPhone") belong to the same topic because they rarely appear together in the same short snippet.
  2. Label Sparsity: In Variational Autoencoder (VAE) based models, the objective is to reconstruct the input. If the input is missing relevant words, the model is penalized for predicting them, leading to biased and incomplete document representations.

While previous "document aggregation" strategies attempted to solve this by grouping texts, they often incurred high computational costs or lost the unique identity of individual documents within a group.

Methodology: Global-to-Local Inference

GloCOM introduces a novel three-pronged approach to overcome these limitations by bridging the gap between local document content and global thematic context.

  • PLM-based Clustering: Instead of relying on sparse bag-of-words representations, GloCOM utilizes dense embeddings from pre-trained language models (PLMs) like all-MiniLM-L6-v2. This allows the model to capture semantic similarity even when documents share no overlapping vocabulary, forming coherent clusters of related texts.
  • Global-to-Local Inference: The model treats each cluster as a "global document" with its own inferred topic distribution ($\theta^g$). To maintain document-level specificity, a latent adaptive variable ($\rho_d$) is learned for each document. This variable acts as a bridge, allowing the model to "tune" the global distribution to fit the specific nuances of an individual document ($d$).
  • Augmented Reconstruction: To mitigate label sparsity, GloCOM does not just reconstruct the original short text. It aims to reconstruct an "augmented" version that incorporates words from the broader global cluster context. This encourages the model to discover and associate words that should belong to a topic, even if they were absent from the original snippet.
The GloCOM architecture, showing the integration of global cluster context ($\theta^g$) and local document features ($\rho_d$).

Experimental Evaluation

The authors evaluated GloCOM against several state-of-the-art (SOTA) models, including ECRTM and kNNTM, across four standard short-text benchmarks: GoogleNews, SearchSnippets, StackOverflow, and Biomedical.

Performance and Quality

GloCOM consistently outperformed existing models in both Topic Coherence (TC)—a measure of how human-interpretable the topics are—and document representation metrics like Purity and Normalized Mutual Information (NMI). For instance, on the GoogleNews dataset, GloCOM achieved an NMI of 0.817, significantly surpassing the previous best of 0.795. This indicates that the topics discovered by GloCOM align much more closely with ground-truth categories.

Efficiency Gains

Perhaps the most practical breakthrough is GloCOM's computational efficiency. Previous SOTA methods like kNNTM rely on k-nearest-neighbors, requiring exhaustive pairwise distance calculations that can take up to two weeks on high-end A100 GPUs for large datasets. In contrast, GloCOM’s clustering-based approach allows it to complete training in under 30 minutes on consumer-grade RTX 3090 hardware, representing a massive reduction in resource requirements.

t-SNE visualizations of document representations. GloCOM (c) shows more distinct and structured thematic clusters compared to TSCTM (a) and kNNTM (b).

Conclusion and Future Directions

GloCOM demonstrates that global clustering context is a powerful "force multiplier" for short text analysis. By effectively creating synthetic "long documents" through clustering, it provides the necessary signals for robust topic discovery without the overhead of neighbor-based methods.

Despite its success, the authors note that the model currently requires a pre-defined number of clusters ($G$). Future research will focus on automatically determining the optimal cluster count and developing dynamic clustering mechanisms to handle real-time, streaming data where topics evolve constantly.

Summary updated

BibTeX
@inproceedings{nguyen2025glocom,
  author = {Quang Duc Nguyen and Tung Nguyen and Duc Anh Nguyen and Linh Ngo Van and Sang Dinh and Thien Huu Nguyen},
  title = {{GloCOM: A Short Text Neural Topic Model via Global Clustering Context}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-long.51},
}
Figure