Introduction
Microblogging platforms like Twitter and Sina Weibo have become essential repositories of real-time public opinion and news. However, extracting meaningful topics from these streams is notoriously difficult. Microblog posts are typically short, sparse, and contain significant linguistic noise. Traditional methods like Latent Dirichlet Allocation (LDA) often struggle with these characteristics. Furthermore, most existing clustering techniques require a predefined number of topics ($K$), which is rarely known in dynamic real-world scenarios.
This paper presents a novel unsupervised approach to topic detection that addresses these issues. The proposed system consists of two primary components: a Power-mean and Attention-based Neural Model (PANM) for generating robust sentence embeddings, and a Relationship-Aware DBSCAN (RADBSCAN) algorithm that utilizes social network structures to improve clustering accuracy without requiring a prior value for $K$.
Methodology
PANM: Attention-Based Sentence Embedding
The first stage of the pipeline involves converting raw microblog text into dense vector representations. The PANM model is specifically designed to handle the noise and segmentation errors common in Chinese microblogs.
As illustrated in the architecture diagram above, the model filters text to retain only feature words (nouns, verbs, and adjectives). These are processed through a word embedding layer followed by a p-mean pooling layer that captures various statistical features (mean, max, and min) of the sentence. A critical innovation is the attention mechanism, which assigns weights to words based on their topical relevance. This allows the model to prioritize key terms while mitigating the impact of segmentation errors or irrelevant noise, resulting in a refined output sentence vector $z_r$.
RADBSCAN: Relationship-Aware Clustering
To group these embeddings into topics, the authors developed RADBSCAN. While standard DBSCAN relies solely on spatial density in the embedding space (defined by a radius eps), RADBSCAN incorporates social signals—specifically, forwarding or retweeting relationships.
In this model, if one post forwards another, they are treated as "density-reachable" regardless of their distance in the vector space. This "bridge" mechanism allows the algorithm to connect posts that might be semantically distinct but belong to the same discussion thread, effectively overcoming the limitations of short-text semantics and providing a more stable clustering result.
Experimental Evaluation
The researchers evaluated their method on a real-world dataset of 15,000 microblogs crawled from Sina Weibo, covering topics such as technology, sports, and social issues.
Performance Metrics
The PANM embedding model was compared against several baselines, including SIF and TF-IDF-SVD. Using K-means clustering as a benchmark, PANM achieved a Normalized Mutual Information (NMI) score of 0.628, significantly outperforming SIF (0.576) and TF-IDF-SVD (0.570).
Topic Discovery and Stability
RADBSCAN demonstrated remarkable accuracy in identifying the number of topics. In tests where the ground truth was known, the algorithm correctly identified the number of core topics. Interestingly, on a dataset with 5 broad manual labels, RADBSCAN identified 7 clusters. Qualitative analysis revealed that the algorithm had successfully discovered granular subtopics—such as distinguishing between different public reactions to environmental news—that manual broad labeling had overlooked.
Furthermore, RADBSCAN showed high stability. While standard DBSCAN is highly sensitive to the eps parameter—often leading to an explosion of small, fragmented clusters—RADBSCAN maintained a consistent cluster count by leveraging the underlying social network structure as an anchor.
Conclusion
The combination of PANM and RADBSCAN provides a robust, $K$-free solution for topic detection in microblogs. By integrating neural attention with social relationship data, the system effectively handles the sparsity and noise of short-form social media content. While the method relies on active user sharing behavior, it represents a significant step forward in automated, real-time public opinion analysis.
Summary updated