Adaptive Community Detection Incorporating Topology and Content in Social Networks

Meng Qin, Di Jin, Dongxiao He, Bogdan Gabrys, Katarzyna Musial

Abstract

Traditional community detection in social networks often relies solely on topological structure or assumes a perfect alignment between network links and node content. However, the "Match Assumption"—the idea that social connections and shared content are inherently consistent—frequently fails in real-world scenarios, leading to degraded performance when mismatched data is integrated. This paper introduces Adaptive Semantic Community Detection (ASCD), a framework based on Non-negative Matrix Factorization (NMF) that adaptively balances topology and content. By utilizing a "safety valve" mechanism to weight content influence based on its consistency with the network structure, ASCD prevents noisy data from undermining detection accuracy while providing interpretable semantic labels for identified communities.

Introduction

In the study of social networks, communities are defined as clusters of nodes with dense internal connections and sparse external connections. While early algorithms focused exclusively on topology (the graph structure), modern "attributed" methods incorporate content (user-generated text, tags, or profiles) to refine these groupings. The prevailing logic is that users who share similar interests are more likely to connect.

However, this integration often relies on the flawed "Match Assumption." In practice, a user's social links (e.g., family or high school friends) may have little overlap with their specific content interests (e.g., niche hobbies or professional topics). When algorithms treat these two distinct data sources as equally valid without verification, the resulting "mismatch effect" can introduce significant noise, often yielding results inferior to those produced by topology-only methods.

The ASCD Framework

To address the mismatch effect, the authors propose the Adaptive Semantic Community Detection (ASCD) framework. Built upon Non-negative Matrix Factorization (NMF), ASCD decomposes complex network and content matrices into lower-dimensional representations of community membership and attribute importance.

Adaptive Weighting

The core innovation of ASCD is the introduction of an adaptive parameter ($f$) that dynamically scales the influence of content based on its alignment with the network topology. Two specific implementations were developed:

  1. ASCD-ARC: Employs an arctan-based function to automatically diminish the weight of content as the measured discrepancy between links and text increases.
  2. ASCD-NMI: Utilizes Normalized Mutual Information (NMI) to compare preliminary topology-only and content-only clusterings. The similarity between these two views determines the final weight of the content integration.

This mechanism acts as a "safety valve," allowing the model to ignore irrelevant or "garbage" content and fall back on reliable topological data when necessary.

Overlapping Communities

Recognizing that individuals often belong to multiple social circles, the framework includes an extension for overlapping community detection. Unlike traditional methods that require a manually defined membership threshold, ASCD uses a "maximum difference" sorting method to identify natural boundaries in membership propensity, making the process more automated and robust.

Experimental Evaluation

The researchers validated ASCD across a diverse range of datasets:

  • Synthetic Networks: 550 controlled environments were used to test the model's resilience against varying levels of topology-content mismatch.
  • Real-World Disjoint Datasets: Evaluations were conducted on WebKB university networks, citation networks (Cora, Citeseer), and social media snapshots from Twitter and Facebook.
  • Overlapping Datasets: The model was tested on Enron email data and three time-slices of Reddit communication data.
  • Qualitative Case Study: Last.fm music data was used to assess the model's ability to generate meaningful semantic labels.

Key Results and Insights

The experimental results demonstrate that ASCD significantly outperforms state-of-the-art methods such as SCI and DCSBM. On disjoint datasets, the framework achieved improvements of up to 38.8% in Accuracy and 60.8% in NMI.

Robustness and Refinement

In synthetic tests, while competing models saw their performance plummet as mismatch increased, ASCD remained stable and consistently outperformed the baseline. Conversely, when topology and content were well-aligned, the Attribute Refining (AR) capability of the model allowed it to "sharpen" community boundaries, providing higher precision than topological analysis alone.

Semantic Interpretability

Beyond grouping users, ASCD provides a window into a community's identity. Because the model uses NMF, it identifies specific keywords that define each group. In the Last.fm case study, the model successfully identified distinct musical subcultures (e.g., "Hip Hop," "Synth-rock," "Metal") and automatically tagged them with highly relevant keywords like "metallica" or "alternative hip hop."

Conclusion and Future Work

ASCD represents a significant step forward in making community detection more resilient to the complexities of real-world social data. By adaptively balancing multiple data sources, it avoids the pitfalls of the Match Assumption while leveraging content to provide semantic clarity.

Future research will focus on edge-induced content. While the current model focuses on node-level attributes (what a user posts generally), many networks—such as email or messaging platforms—attach content to the specific interactions (edges) between users. Incorporating this granular data will further refine the framework's ability to map the intricate structures of human interaction.

Summary updated

BibTeX
@inproceedings{qin2017adaptive,
  author = {Meng Qin and Di Jin and Dongxiao He and Bogdan Gabrys and Katarzyna Musial},
  title = {{Adaptive Community Detection Incorporating Topology and Content in Social Networks}},
  booktitle = {ASONAM},
  year = {2017},
  doi = {10.1145/3110025.3116199},
}
Figure