Skip to main content
QUICK REVIEW

[Paper Review] Finding Community Structure in Mega-scale Social Networks

Ken Wakita, Toshiyuki Tsurumi|ArXiv.org|Feb 8, 2007
Complex Network Analysis TechniquesPhysics and Astronomy16 references202 citations
TL;DR

This paper proposes three optimized variants of the CNM community detection algorithm by introducing consolidation ratio heuristics to balance community merging, significantly improving scalability and performance. The fastest variant processes a 1M-node network in 5 minutes and scales to 5.5 million nodes—achieving up to 7× speedup and improved modularity over the original CNM algorithm.

ABSTRACT

Community analysis algorithm proposed by Clauset, Newman, and Moore (CNM algorithm) finds community structure in social networks. Unfortunately, CNM algorithm does not scale well and its use is practically limited to networks whose sizes are up to 500,000 nodes. The paper identifies that this inefficiency is caused from merging communities in unbalanced manner. The paper introduces three kinds of metrics (consolidation ratio) to control the process of community analysis trying to balance the sizes of the communities being merged. Three flavors of CNM algorithms are built incorporating those metrics. The proposed techniques are tested using data sets obtained from existing social networking service that hosts 5.5 million users. All the methods exhibit dramatic improvement of execution efficiency in comparison with the original CNM algorithm and shows high scalability. The fastest method processes a network with 1 million nodes in 5 minutes and a network with 4 million nodes in 35 minutes, respectively. Another one processes a network with 500,000 nodes in 50 minutes (7 times faster than the original algorithm), finds community structures that has improved modularity, and scales to a network with 5.5 million.

Motivation & Objective

  • Address the poor scalability of the original CNM algorithm, which struggles beyond 500,000 nodes due to unbalanced community merging.
  • Improve computational efficiency by introducing metrics that promote balanced merging of communities during the hierarchical clustering process.
  • Enable community detection on mega-scale social networks (up to 5.5 million nodes) that were previously infeasible with the original CNM algorithm.
  • Evaluate the trade-off between computational speed, modularity quality, and community structure consistency across different heuristics.
  • Demonstrate practical feasibility of community analysis on real-world SNS data using standard hardware.

Proposed method

  • Introduce the concept of 'consolidation ratio' as a measure of balancedness between two communities being merged, defined as the ratio of the smaller to the larger community size.
  • Propose three heuristics—HE, HN, and HE'—that use the consolidation ratio in combination with modularity gain to guide the selection of community pairs for merging.
  • Modify the original CNM algorithm’s greedy merging step to prioritize pairs with higher consolidation ratios, aiming to reduce unbalanced merges that degrade performance.
  • Implement the three heuristics as single-threaded Java programs and evaluate them on real-world SNS datasets with up to 5.5 million nodes.
  • Use modularity as a primary metric to assess the quality of the resulting community structures, comparing it against the original CNM algorithm.
  • Analyze performance using execution time, modularity trends, and community size distributions across different network scales.

Experimental results

Research questions

  • RQ1How does unbalanced community merging in the original CNM algorithm limit its scalability on large-scale networks?
  • RQ2To what extent can introducing a consolidation ratio heuristic improve the execution efficiency of community detection algorithms?
  • RQ3Can the proposed heuristics maintain or improve modularity while significantly reducing runtime compared to the original CNM algorithm?
  • RQ4How do the community structures generated by different heuristics compare in terms of modularity and community size distribution?
  • RQ5What is the upper scalability limit of the proposed algorithm on standard hardware, and how does it scale with increasing network size?

Key findings

  • The HE heuristic achieved a 7-fold speedup on the 500,000-node dataset compared to the original CNM algorithm, processing it in 50 minutes versus 350 minutes.
  • The HE heuristic improved modularity by 8–11% compared to the original CNM algorithm, indicating higher-quality community structures.
  • The fastest variant processed a 1 million-node network in 5 minutes and a 4 million-node network in 35 minutes, demonstrating strong performance scaling.
  • HE' showed the highest modularity improvement in early stages of computation, suggesting it may be suitable for approximate community detection with early termination.
  • Scalability analysis showed that HE and HN exhibit near-linear speedup up to 5.5 million nodes, while HE' shows slightly declining scalability but is estimated to handle up to 10 million nodes.
  • All heuristics produced community structures with similar patterns: few large communities (>10,000 members) and many small ones (<10 members), with minimal middle-sized communities.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.