Introduction
Short text clustering—the task of grouping brief snippets such as social media posts, news headlines, or search queries—presents unique challenges in natural language processing. Unlike long-form documents, short texts lack sufficient contextual information and are frequently characterized by high noise levels and significant class imbalance. In many real-world scenarios, data follows a "long-tail" distribution where a few dominant categories coexist with numerous smaller ones.
Traditional deep clustering methods often struggle with these conditions, leading to "cluster degeneracy," where smaller clusters are subsumed by larger ones, or "vanishing" entirely during the learning process. To address these issues, this paper introduces RSTC (Robust Short Text Clustering), a framework that leverages Self-Adaptive Optimal Transport (SAOT) and dual-level contrastive learning to achieve stable and accurate clustering on imbalanced, noisy datasets.
Methodology
The RSTC framework operates through a synergistic relationship between pseudo-label generation and representation learning, creating a "virtuous circle" where improvements in one module enhance the performance of the other.
Self-Adaptive Optimal Transport (SAOT)
The primary innovation of RSTC is the SAOT mechanism for pseudo-labeling. While standard Optimal Transport (OT) is a powerful tool for mapping samples to clusters, it typically assumes a uniform distribution across categories. This assumption fails in imbalanced datasets, forcing the model to assign samples to incorrect clusters to maintain equal sizes.
SAOT introduces a self-adaptive penalty function that allows the model to dynamically estimate the underlying class distribution. By relaxing the uniform constraint, SAOT can identify the true proportions of clusters while providing a mathematical safeguard that prevents any single cluster from shrinking to zero. This ensures that even "tail" categories receive reliable pseudo-labels.
Robust Representation Learning
The generated pseudo-labels serve as supervision for a representation learning module. This module employs two distinct contrastive objectives to ensure the model remains resilient to the inherent messiness of short texts:
- Instance-wise Contrastive Learning: By comparing different augmented versions of the same text (e.g., using synonym substitution), the model learns to ignore superficial noise and focus on essential semantic features.
- Class-wise Contrastive Learning: Using the SAOT pseudo-labels, the model pulls samples belonging to the same predicted cluster closer together in the latent space while pushing samples from different clusters apart.
Experimental Evaluation
The authors evaluated RSTC against several baselines, including the previous state-of-the-art model, SCCL, across eight real-world datasets. These datasets ranged from balanced (e.g., AgNews, StackOverflow) to heavily imbalanced (e.g., GoogleNews-S, Tweet). Notably, the experiments were conducted on raw, unpreprocessed text to rigorously test the model's robustness to noise.
Key Findings
- Superior Performance on Imbalance: RSTC demonstrated significant improvements on heavily imbalanced datasets. On the GoogleNews-S dataset, the model achieved a 4.84% increase in Accuracy (ACC) over the next best performing method.
- Cluster Stability: The SAOT mechanism effectively prevented cluster collapse. While competing models often converged to a few large clusters early in training, RSTC maintained the integrity of smaller categories throughout the process.
- Representation Quality: Qualitative analysis using t-SNE visualizations indicated that RSTC produces more distinct and well-separated cluster boundaries compared to traditional methods, which often suffer from significant overlap in the latent space.
Conclusion and Future Work
RSTC represents a significant step forward in making short text clustering more robust for real-world applications. By moving away from rigid distribution assumptions and incorporating dual-level contrastive learning, the framework handles noise and imbalance more effectively than previous approaches.
However, the authors identify two primary areas for future improvement. First, the model currently requires a pre-defined number of clusters ($K$), which is often unknown in practice. Second, the $O(n^2)$ computational complexity of the Optimal Transport calculation presents a challenge for scaling to massive datasets. Future research will focus on "open-world" clustering—where the model discovers the number of clusters autonomously—and optimizing the underlying mathematics for better scalability.
Summary updated