Detection of Community Structures in Networks With Nodal Features based on Generative Probabilistic Approach

Hadi Zare, Mahdi Hajiabadi, Mahdi JaliliIEEE TKDE 2019 · DOI

TL;DR

This paper introduces a novel generative probabilistic graphical model (PFCD) for community detection in networks that effectively integrates both network structure and nodal features. By distinguishing between "assortative" (personal attributes) and "generative" (community-influenced) features, PFCD offers a more nuanced understanding of community formation and achieves superior detection accuracy compared to existing methods, especially when features strongly influence community structure.

What Problem Does This Paper Address?

Community detection is a fundamental task in network analysis, aiming to uncover groups of nodes that are more densely connected internally than externally. While many existing methods rely solely on network connectivity, real-world networks often possess rich nodal features (e.g., gender, location, interests) that can significantly enhance community detection. However, effectively leveraging these features, especially understanding their distinct roles in community formation, remains a challenge. Existing approaches often treat all features uniformly or struggle to model the interplay between different types of features and network structure. This paper addresses the need for a unified framework that can model the influence of both network topology and diverse nodal features, distinguishing between features that drive community formation (assortative) and those that are shaped by it (generative).

Methods

The core of this paper is the proposed Probabilistic Feature-based Community Detection (PFCD) model, a generative probabilistic graphical model. Key methodological contributions include:

  • Distinguishing Feature Types: PFCD explicitly categorizes nodal features into two types:
  • Assortative Features (S): These are personal attributes (e.g., age, gender, location) that are assumed to causally influence community formation.
  • Generative Features (F): These are features that are influenced by or generated from the community structure (e.g., shared interests, common activities).
  • Generative Probabilistic Framework: The model uses a probabilistic approach to define the probability of an edge between two nodes based on their community memberships and the interaction levels between communities. This framework also incorporates the influence of assortative features on community membership and the interaction of communities with generative features.
  • Learning and Inference: The model parameters (community membership, feature weights, community interaction matrices) are learned using an iterative Block Coordinate Ascent algorithm. This approach efficiently handles the latent variables in the model by alternately updating membership functions and other parameters.
  • Feature Influence Quantification: A key output of PFCD is the learned weights that quantify the influence of each feature on community structure, allowing for interpretation of how features shape communities.

Datasets

The paper evaluates PFCD on a combination of synthetic and real-world datasets:

  • Synthetic Networks: Generated using a degree-corrected stochastic block model. These networks were created with varying sizes (1000, 2000, 5000 nodes) and different levels of feature influence (μ = 2, 3, 5). This allowed for controlled experiments to demonstrate the impact of features on community detection performance.
  • Real-World Networks: A diverse set of networks from various domains were used, including:
  • Social Networks: Lawyer, CalTech, Rice (Facebook-100), PolBlogs.
  • Information Networks: DBLP, ArXiv, World Trade, Internet.
  • Biological Networks: Predator-Prey, Malaria.
  • Other: Patent.

Key Insights and Ideas

  • Feature Type Matters: The distinction between assortative and generative features is crucial. Assortative features directly drive community formation, while generative features are shaped by it. This nuanced view allows for a more accurate modeling of community dynamics.
  • Features Enhance Detection: Integrating nodal features, especially when they are strongly correlated with community structure, significantly improves community detection accuracy compared to methods relying solely on network topology.
  • Interpretability of Feature Influence: PFCD provides learned weights that explicitly reveal the strength and direction of influence of individual features on community formation, offering valuable insights into why certain communities form.
  • Unified Framework: The model offers a principled way to combine network structure and diverse nodal features within a single generative probabilistic framework, avoiding the limitations of methods that handle features in isolation or ad-hoc ways.

Key Results

  • Synthetic Networks: PFCD consistently outperformed other feature-based methods (CESNA, JCDC, NC, BAGC, SDP, CASC) on synthetic networks, particularly as the influence of features (μ) increased. Figures 5 and 6 show higher F1-scores and NMI values for PFCD.
  • Real Networks:
    • When compared to structure-based methods (BigClam, Fast-Greedy, Infomap, Louvain, COMBO) using only connectivity, PFCD showed competitive or superior performance, especially on networks where features are highly influential (Figures 7, 8, 9, 10).
  • When compared to other feature-based methods (CESNA, JCDC, NC, BAGC, SDP, CASC), PFCD generally achieved higher F1-scores and NMI values across a wide range of real-world networks (Figure 11, 12).
  • The paper highlights that PFCD performs particularly well on networks where features are highly dependent on community structure (e.g., Lawyer, CalTech, Malaria, DBLP, ArXiv, Internet).
  • Computational Efficiency: While not as fast as some structure-based methods like Louvain (which doesn't use features), PFCD's execution time is competitive with other feature-based methods, especially considering its ability to handle complex feature interactions. The complexity is reported as max(O(|E| × k²), O(|V| × k × |F|)).
  • Case Study (Lawyer Network): Figure 13 and Table 6 demonstrate PFCD's ability to extract unique sets of features for each community and quantify their importance (e.g., "Partner" status having a positive impact on one community, while "Associate" status and "Boston" location are important for another).

Limitations and Future Work

  • Limitations:
    • The paper notes that while PFCD performs well, there can be a slight difference compared to other feature-enabled methods when a large number of features are used in network generation.
  • The computational complexity, while competitive for feature-based methods, is higher than purely structure-based methods like Louvain.
  • The model's performance can be sensitive to the correctness of the model specification, as is common with probabilistic graphical models.
  • Future Work:
    • Developing representation learning approaches to automatically derive features from network structure.
  • Extending the proposed method to handle temporal networks, where community structures evolve over time.

Summary updated

BibTeX
@article{zare2019detection,
  author = {Hadi Zare and Mahdi Hajiabadi and Mahdi Jalili},
  title = {{Detection of Community Structures in Networks With Nodal Features based on Generative Probabilistic Approach}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2019},
  doi = {10.1109/tkde.2019.2960222},
}
Figure