[Paper Review] Size Matters: A Comparative Analysis of Community Detection Algorithms
This paper introduces community size—specifically Dunbar's number (150)—as a critical, orthogonal dimension for evaluating community detection algorithms, proposing a clique-based Clique Augmentation Algorithm (CAA) to control community size and overlap. It finds that Infomap and CAA outperform others by producing more desirable-sized communities, while modularity-based algorithms like FastGreedy and Eigenvector generate extremely large, practically insignificant communities.
Understanding community structure of social media is critical due to its broad applications such as friend recommendations, user modeling and content personalizations. Existing research uses structural metrics such as modularity and conductance and functional metrics such as ground truth to measure the qualify of the communities discovered by various community detection algorithms, while overlooking a natural and important dimension, community size. Recently, anthropologist Dunbar suggests that the size of stable community in social media should be limited to 150, referred to as Dunbar's number. In this study, we propose a systematic way of algorithm comparison by orthogonally integrating community size as a new dimension into existing structural metrics for consistently and holistically evaluating the community quality in social media context. we design a heuristic clique based algorithm which controls the size and overlap of communities with adjustable parameters and evaluate it along with five state-of-the-art community detection algorithms on both Twitter network and DBLP network. Specifically, we divide the discovered communities based on their size into four classes called close friend, casual friend, acquaintance, and just a face, and then calculate the coverage, modularity, triangle participation ratio, conductance, transitivity, and the internal density of communities in each class. We discover that communities in different classes exhibit diverse structural qualities and many existing community detection algorithms tend to output extremely large communities.
Motivation & Objective
- To address the overlooked role of community size in evaluating community detection algorithms, especially in social networks.
- To integrate Dunbar’s number (150) as a sociological benchmark for identifying 'desirable' community sizes in social media.
- To systematically evaluate state-of-the-art algorithms not only by traditional structural metrics but also by community size distribution.
- To propose and evaluate a novel clique-based algorithm (CAA) that controls community size and overlap through adjustable thresholds.
- To compare algorithm performance across four size-based community classes: close friend, casual friend, acquaintance, and just_a_face.
Proposed method
- Proposes a Clique Augmentation Algorithm (CAA) that identifies maximal cliques and merges them into communities using a growing threshold and overlapping threshold.
- Uses a growing threshold to control community size and an overlapping threshold to regulate inter-community overlap.
- Divides detected communities into four size-based classes: 4–10 (close friend), 11–50 (casual friend), 51–150 (acquaintance), and >150 (just_a_face).
- Evaluates algorithms using six structural metrics: extended modularity, triangle participation ratio (TPR), conductance, internal density, transitivity, and coverage.
- Employs two real-world networks: a Twitter follower network and a DBLP co-authorship network, with consistent evaluation across both.
- Compares six algorithms: Infomap, Multilevel, FastGreedy, Eigenvector, Label Propagation, and the proposed CAA.
Experimental results
Research questions
- RQ1How do different community detection algorithms perform when community size is considered as a distinct evaluation dimension?
- RQ2To what extent do existing algorithms produce communities of sizes consistent with Dunbar’s number (150) as a cognitive limit for stable social groups?
- RQ3How do structural quality metrics (modularity, conductance, TPR, etc.) vary across different community size classes?
- RQ4Can a clique-based algorithm (CAA) effectively control community size and overlap while maintaining high structural quality?
- RQ5Which algorithms achieve the highest coverage of users in desirable community sizes (4–150) without producing extremely large, impractical communities?
Key findings
- Infomap and CAA achieve the highest coverage of users in desirable community sizes (4–150), with Infomap covering over 90% of users in both Twitter and DBLP networks.
- Modularity maximization algorithms (Multilevel, FastGreedy, Eigenvector) produce extremely large communities—Eigenvector identifies a community of 71.6% of users in Twitter and 99.5% in DBLP, rendering them practically meaningless.
- Infomap achieves high modularity not from a single large community but through balanced contributions from all four size classes, unlike other algorithms whose scores are dominated by massive communities.
- Conductance scores are better for modularity-based algorithms, indicating stronger separation from the rest of the network, though this comes at the cost of infeasibly large communities.
- CAA achieves the highest triangle participation ratio (TPR), reaching 90.1% in DBLP and 89.2% in Twitter, indicating strong local clustering and structural cohesion.
- Internal density and transitivity are comparable across algorithms, but CAA slightly outperforms others in these metrics for communities of desirable size (4–150).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.