Source-linked AI summary

Community extraction for social networks

Yunpeng Zhao, Elizaveta Levina, Ji Zhu

arXiv:1005.3265v1stat.MEphysics.data-anphysics.soc-ph

TL;DR

Existing community-detection methods generally partition every network node, even though some nodes may be background rather than members of any community. The paper proposes sequential community extraction based on internal and external ties, and reports strong simulated and real-network performance together with asymptotic consistency under a block-model assumption.

  • Problem

    Standard community detection usually partitions the entire network, although some nodes have no ties to any community and forcing them into groups can distort the structure.

  • Method

    The method sequentially extracts one community at a time using internal links and links to the rest of the network, while ignoring links within the remainder.

  • Results

    The extraction criterion performs well on simulated and real networks and is asymptotically consistent under the stochastic block model.

  • Takeaways & Limitations

    Community extraction provides an alternative or complement to partitioning by identifying tight communities while allowing background nodes.

  • Takeaways & Limitations

    The original extraction criterion can favor very small communities in large sparse networks, and the block-model theory assumes a specified background structure.

Abstract

from arXiv · show

Analysis of networks and in particular discovering communities within networks has been a focus of recent work in several fields, with applications ranging from citation and friendship networks to food webs and gene regulatory networks. Most of the existing community detection methods focus on partitioning the entire network into communities, with the expectation of many ties within communities and few ties between. However, many networks contain nodes that do not fit in with any of the communities, and forcing every node into a community can distort results. Here we propose a new framework that focuses on community extraction instead of partition, extracting one community at a time. The main idea behind extraction is that the strength of a community should not depend on ties between members of other communities, but only on ties within that community and its ties to the outside world. We show that the new extraction criterion performs well on simulated and real networks, and establish asymptotic consistency of our method under the block model assumption.

1 Introduction

The paper broadens community detection from whole-network partitioning to sequential extraction, allowing background nodes that need not belong to any tight community. Its method focuses on each candidate community’s internal and external ties, and is evaluated against partitioning approaches on toy, simulated, and real networks.

  • Many networks contain nodes that do not fit any tight community, but standard methods typically force every node into a partition.
  • Community extraction sequentially identifies tight communities with sparse external connections and classifies the remaining nodes as background.
  • The extraction criterion ignores edges within the rest of the network, judging a candidate only by its internal links and connections to the outside.
  • 15 of 60 toy-example nodes formed a dense community, and extraction separated it perfectly whereas modularity included background nodes.
  • The paper presents the methodology, establishes asymptotic consistency under the stochastic block model, and compares extraction with partitioning on simulated and real networks.

2 The community extraction methodology

The methodology extracts one asymmetric community at a time by rewarding internal connectivity and penalizing ties to the remainder, whose internal structure is ignored. An adjusted criterion addresses small-community bias, while sequential optimization and stopping rules determine the extracted set and background.

  • Partitioning methods treat the two groups symmetrically, making them ill-suited to separating a tight community from sparse background nodes.
  • The community extraction criterion: The extraction criterion searches for a set with many internal links and few links to the rest of the network, ignoring links within its complement.
  • The community extraction criterion: The criterion’s normalized terms estimate within-community and community-to-background connection probabilities under the stochastic block model.
  • The community extraction criterion: In large sparse networks, the original criterion can favor very small communities because the complement-size denominator makes external connections negligible.
  • The community extraction criterion: Multiplying by |S||S^c| penalizes very small and very large communities, producing more balanced solutions; the adjustment matters empirically in sparse networks.
  • The procedure repeatedly extracts communities from the complement, stopping at a preset size threshold or after a desired number of communities.
  • Because exact maximization is NP-hard, the implementation uses tabu search with random starts and node orders to find a high-scoring solution.

3 Asymptotic Consistency

Under block-model assumptions, the extraction criteria consistently recover true community labels as network size grows, including the adjusted criterion. The theory covers sparse networks through a scaling of edge probabilities and expected degree.

  • Block-model setup: The consistency analysis models networks with block assignments and edge probabilities, allowing a background block with sparser connections than community blocks.Background can be represented by requiring its connection probabilities to be lower than within-community probabilities.
  • Asymptotic regime: The asymptotic framework scales edge probabilities as P_n = ρ_nP, with expected degree λ_n = nρ_n controlling sparsity as n grows.This avoids networks becoming dense when the number of nodes increases.
  • Consistency analysis: For sequential extraction, the consistency proof focuses on K = 2: one extracted community versus the remainder of the network.The block matrix then has parameters p11, p22, and p12, with class proportions determined by π.
  • Adjusted criterion: The adjusted criterion has the same asymptotic consistency result because its additional |S||Sc| factor has no effect in the limit.The corresponding recovery probability also tends to one as n →∞.

4 Numerical evaluation

The numerical evaluation compares original extraction, adjusted extraction, and modularity using PPV and NPV across simulated community structures. The adjusted criterion is especially effective for sparse networks containing background nodes, while the original criterion performs best in dense settings without background.

  • Evaluation design: The evaluation compares original extraction, adjusted extraction, and modularity using PPV for purity and NPV for completeness.Results are reported for simulated networks with different community and background configurations.
  • Two communities without background: In two-community networks without background, all methods achieve perfect PPV, while the original criterion gives the best NPV for the smallest community.The simulation uses 1000 nodes and reports means and standard deviations over 50 replications for n1 = 100.
  • Two communities without background: The original criterion performs best in the dense no-background setting because splitting off small clusters does not occur.The adjusted criterion performs worse there, although methods converge for larger community sizes.
  • Sparse background: For weakly connected communities with sparse background, the original criterion tends to favor small clusters, as reflected by lower NPV values.The sparse-background simulations vary community size and within-community probability.
  • Sparse background: The adjusted criterion performs best overall in the sparse-background simulations, despite modularity having slightly higher NPV values.Modularity roughly splits background nodes between its two detected parts, whereas adjusted extraction handles the background setting more effectively.

5 Examples

The paper applies sequential community extraction to real networks, identifying tight groups while allowing weakly connected or background nodes to remain outside communities.

  • Method: The method extracts communities sequentially, using tabu search with ten starting values and stopping when a proposed community has fewer than five nodes.Extraction is compared with modularity-based partitioning on several real-world networks.
  • Karate club network: In the karate club network, extraction identified the cores of both factions plus a small tight subgroup within one faction.No extracted community mixed members of the two factions.
  • Political books network: The political-books analysis represents political-spectrum position with principal-eigenvector colors and the modularity partition with node shapes.
  • School friendship network: In the school friendship network, extraction produced six groups matching the number of grades and a seven-group solution whose additional group contained the four-node orange grade.
  • School friendship network: Modularity partitioning differed noticeably from the school grades and extracted communities, merging much of one grade and splitting the smallest grade into three groups.It also assigned two completely unlinked nodes to communities.

6 Summary and Discussion

The paper proposes community extraction as an alternative or complement to partitioning, allowing background nodes and providing additional insight into social-network structure. It also identifies unresolved issues in stopping, community-number selection, quality assessment, and null-model formulation.

  • Contribution: The framework extracts tight communities while allowing background nodes that need not have tight connections elsewhere in the network.
  • Contribution: In the considered examples, extraction offered additional insight into network structure and could complement or replace network partitioning.
  • Open questions: The stopping criterion and determining the correct number of communities remain open issues, although choosing the number of communities is common to community-detection methods.
  • Open questions: Assessing extraction or partition quality and formulating suitable null models remain areas for further work.

Appendix: Proofs of Theorems

The appendix proves consistency by analyzing population versions of the extraction criteria over confusion matrices and showing that the correct diagonal assignment uniquely maximizes them under stated conditions.

  • Proof framework: The proof framework represents label assignments with a confusion matrix and defines the population criterion as F(RP R^T, R1).
  • Proof framework: The consistency condition requires the population criterion to be uniquely maximized by the correct diagonal confusion matrix.
  • Assumptions: The theorem assumptions include distinct columns of P and regularity conditions on F and its directional derivatives.
  • Theorem 1: For the first theorem, transforming the confusion-matrix parameters yields a unique maximizer at t1 = 1 and t2 = 1 under p11 − 2p12 + p22 > 0 and p11 > p22.
  • Theorem 2: For the adjusted criterion, the feasible-region analysis shows the maximum occurs on the boundary, with the unique maximizer satisfying t1 = 1, t2 = 1 and r11 = π, r22 = 1 − π.
Loading 1005.3265v1…