Finding Communities with Hierarchical Semantics by Distinguishing General and Specialized topics

Ge Zhang, Di Jin, Jian Gao, Pengfei Jiao, Françoise Fogelman-Soulié, Xin Huang

Abstract

Traditional community detection often fails to distinguish between broad, shared interests and specific, community-defining topics. We present the Two-Level Semantic Community (TLSC) model, which utilizes a hierarchical generative process to separate "general" and "specialized" semantics. By integrating network topology with this two-level content modeling, TLSC achieves superior accuracy and provides highly interpretable community profiles.

Introduction

Community detection in social and citation networks typically leverages both topology (who is connected to whom) and node attributes (content). However, existing models often treat all attributes as having equal importance. In reality, topics exhibit a hierarchical structure. For instance, in a citation network, the term "Network" is a general descriptor shared across many sub-fields, whereas "Community Detection" specifically identifies a particular research group. Failing to distinguish these levels leads to blurred community boundaries and poor interpretability.

The TLSC Model

The proposed Two-Level Semantic Community (TLSC) model addresses this by explicitly modeling the hierarchy between general and specialized topics.

Conceptual hierarchy of general vs. specialized semantics.

Key Innovations:

  1. Hierarchical Generative Process: TLSC assumes a two-step process where a community belongs to a broad "general topic" which then branches into "specialized topics."
  2. Binary Switch ($\delta$): The model uses a latent binary variable for every word to decide if it was generated from the general topic pool or the specialized topic pool. This allows the model to "filter out" common jargon to find the core essence of a community.
  3. Integrated Topology: It utilizes a Degree-Corrected Stochastic Block Model (DCSBM) to handle network links, ensuring the model finds groups that are both semantically and topologically coherent.

Experimental Results

TLSC was evaluated against eight state-of-the-art algorithms on diverse datasets including Last.fm, WebKB, Twitter, Cora, CiteSeer, and Pubmed. The model consistently outperformed baselines in accuracy and overlapping community detection metrics. On the Cora dataset, TLSC achieved an accuracy of 47.62%, a significant improvement over the 30.28% achieved by the next best competitor.

Case Study: Last.fm

A deep-dive into the Last.fm dataset demonstrates the model's semantic richness. TLSC successfully grouped communities under four primary general topics: Electronic, Rock, Jazz, and Pop.

Word clouds showing general topics and their associated specialized communities in the Last.fm dataset.

As shown in the figure, while different communities might share a "General Topic" (e.g., "Rock" or "Electronic"), their "Specialized Topic" clouds reveal distinct sub-genres like "heavy-metal," "punk-rock," or "progressive-metal." This multi-layered representation provides a much clearer explanation of community identity than flat models.

Conclusion and Future Work

TLSC represents a significant step forward in semantic community detection by acknowledging the hierarchical nature of information. While highly effective, the model currently requires pre-specified parameters for the number of topics. Future work could explore automated methods for determining these parameters and extending the model to deeper hierarchies beyond two levels.

Summary updated

BibTeX
@inproceedings{zhang2018finding,
  author = {Ge Zhang and Di Jin and Jian Gao and Pengfei Jiao and Françoise Fogelman-Soulié and Xin Huang},
  title = {{Finding Communities with Hierarchical Semantics by Distinguishing General and Specialized topics}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/507},
}
Figure