Extensive Benchmarking of Community Detection Algorithms
Abstract
The detection of clusters or community in networks is an important problem in network science. We systematically evaluate many widely used community detection algorithms and their variants to identify clusters in complex networks. As the ground truth for assessing accuracy, we use artificial networks modeled on power-law distributions and real-world social networks. In addition, we also performed gene enrichment analysis on human and yeast protein-protein interaction networks to evaluate algorithms on their ability to uncover enriched communities. We implement and adapt an extensive suite of classical algorithms and their modern variants, classified into five types: stochastic, kernel-based, modularity-based, hierarchical, and local search-based. The algorithms are benchmarked primarily using the Normalized Mutual Information metric, with additional analyses focused on granularity by examining cluster ratio and computational time complexity. We find that decreasing the modularity of networks leads to a consistent decline in performance that follows a sigmoidal trajectory as communities become less defined. Algorithms with greater granularity remain stable when community structures are less distinct, while computation time remains independent of network modularity. Additionally, algorithms tend to perform poorly on smaller networks, and higher accuracy often requires a time complexity trade-off for specific high-performing methods. However, as the analysis expands to more extensive networks, this trade-off becomes more pronounced, highlighting the need for efficient scalability. Based on our benchmark and gene enrichment analysis results, we also present recommendations to practitioners. Our robust Python package, complete with a user-friendly command-line interface, empowers users to easily apply these algorithms to their datasets. Author summaryIn the era of big data, clustering has become an essential tool for processing and analyzing vast amounts of information. By dividing large data sets into smaller, meaningful clusters, we can simplify complex data structures, parallelize tasks, and reveal hidden patterns. This has become an essential preprocessing step that is widely used in various computational domains. Although traditional clustering algorithms remain popular, our work implements range of hybrid techniques that combine classical methods and some novel approaches. We also benchmark the performance of these approaches, their efficiency and efficacy in handling different types of networks.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Organism
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- TSCDA: A novel greedy approach for community discovery in networks
Arman Ferdowsi, Alireza Khanteymoori, Maryam Dehghan Chenary·bioRxiv·Oct 8, 2021
- Benchmarking overlapping community detection methods for applications in human connectomics
Annie G. Bryant, Aditi Jha, … Ben Fulcher·Network NeurosciencePeer-reviewed·Aug 22, 2025
- Prioritizing network communities
Marinka Žitnik, Rok Sosič, Jure Leskovec·Nature CommunicationsPeer-reviewed·Jun 25, 2018
- VICTOR: A visual analytics web application for comparing cluster sets
Evangelos Karatzas, Maria Gkonta, … Georgios A. Pavlopoulos·Computers in Biology and MedicinePeer-reviewed·Jun 8, 2021
- BoCluSt: bootstrap clustering stability algorithm for community detection in networks
Carlos Garcia·bioRxiv·Sep 2, 2014
- Protein complex prediction for large protein protein interaction networks with the Core&Peel Method
Marco Pellegrini, Miriam Baglioni, Filippo Geraci·bioRxiv·May 17, 2016