A Bayesian Framework for Community Detection Integrating Content and Link

Tianbao Yang, Rong Jin, Yun Chi, Shenghuo Zhu

Introduction

Community detection is a fundamental task in network analysis, aiming to identify groups of related nodes in domains such as social networks and citation mappings. Traditional approaches often rely solely on link structure or node content. While hybrid models attempt to integrate both, they frequently suffer from two major issues: popularity bias and the "generative trap" for content. Popularity bias occurs when high-degree nodes (e.g., seminal papers) are linked across community boundaries, leading to blurred results. Meanwhile, generative content models often struggle with "noise"—irrelevant attributes that do not contribute to community structure.

This paper introduces the Combined Popularity-driven Link and Discriminative Content (C-PLDC) model, a Bayesian framework designed to address these challenges by explicitly modeling node popularity and employing a discriminative approach for content analysis.

Methodology

The C-PLDC framework is built upon two core innovations: discriminative content modeling and popularity-driven link modeling.

Discriminative Content Modeling

Unlike traditional generative models (e.g., Latent Dirichlet Allocation) that attempt to explain every word in a document, C-PLDC uses a discriminative model—specifically Gaussian Processes—to predict community membership from content. This allows the model to prioritize informative features while assigning lower weights to irrelevant noise attributes.

To account for the "popularity bias," the authors introduce a latent variable $t$ representing a node's inherent popularity. The probability of a link forming is modeled as a joint function of community similarity and the target node's popularity. This prevents high-degree nodes from erroneously merging unrelated communities in the latent space.

Graphical model of the C-PLDC framework showing the interaction between content (x), community membership (z), and popularity (t).

Inference

Due to the intractability of the full Bayesian posterior, the authors developed an approximate inference algorithm using a variational Expectation-Maximization (EM) approach to estimate hidden variables efficiently.

Experimental Evaluation

The model was evaluated on two benchmark citation networks: Cora (2,708 publications, 7 classes) and Citeseer (3,312 publications, 6 classes). Performance was measured using Normalized Mutual Information (NMI), Pairwise F-measure (PWF), and Modularity.

Key Results

C-PLDC significantly outperformed state-of-the-art baselines, including PHITS-PLSA and LDA-Link-Content. On the Cora dataset, C-PLDC achieved an NMI of 0.4887, representing a substantial improvement over the best baseline's 0.3587.

Performance comparison of C-PLDC against baseline algorithms on the Cora dataset.

An ablation study where popularity was held constant ($t=1$) confirmed that both the discriminative content model and the popularity variable are critical for optimal performance. While the $t=1$ version still outperformed baselines, it lagged behind the full C-PLDC model.

Conclusion

The C-PLDC framework demonstrates that treating popularity as a latent variable and adopting a discriminative stance toward node content can drastically improve community detection accuracy. While the current implementation faces computational challenges due to Gaussian Process matrix inversions, it sets a new standard for hybrid network analysis. Future work will focus on scaling the model for massive networks and exploring its application in link prediction.

Summary updated

BibTeX
@inproceedings{yang2009bayesian,
  author = {Tianbao Yang and Rong Jin and Yun Chi and Shenghuo Zhu},
  title = {{A Bayesian Framework for Community Detection Integrating Content and Link}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2009},
  url = {https://openreview.net/forum?id=EraddjYQrp},
}
Figure