Abstract
One of the crucial research areas in the analysis of complex social networks is the identification of communities. Since community detection is an NP-complete problem, numerous meta-heuristic approaches have been used for this problem, mostly taking “modularity” as the objective function. However, modularity-based optimization methods suffer from resolution limit. In this paper, a novel community detection algorithm is proposed that aims to optimize a newly introduced fitness function “balanced modularity.” The proposed method, called grey wolf balanced modularity (GWBM), uses fast label propagation algorithm to form the initial population, relatively novel grey wolf algorithm as the main optimizer, and a problem-specific variant of simulated annealing algorithm for local search. The experiments on synthetic and known real-world networks, including Karate, American Football, and Facebook, have shown that GWBM is accurate and comparable with the state-of-the-art community detection methods.











Similar content being viewed by others
References
Girvan M, Newman ME (2002) Community structure in social and biological networks. Proc Natl Acad Sci 99(12):7821–7826
Wang Y et al (2021) Users’ mobility enhances information diffusion in online social networks. Inf Sci 546:329–348
Shamsi A et al (2020) Contribution of Iran in COVID-19 studies: a bibliometrics analysis. J Diabetes Metab Disord. https://doi.org/10.1007/s40200-020-00606-0
Hao Y, Zhang F (2021) An unsupervised detection method for shilling attacks based on deep learning and community detection. Soft Comput 25(1):477–494
Fortunato S (2010) Community detection in graphs. Phys Rep 486(3–5):75–174
Agrawal S, Patel A (2021) SAG icluster: an unsupervised graph clustering based on collaborative similarity for community detecton in complex networks. Phys Stat Mech Appl 563:125459
Dhargupta S et al (2020) Selective opposition based grey wolf optimization. Expert Syst Appl 151:113389
Sun X et al (2020) Grey wolf optimization algorithm based state feedback control for a bearingless permanent magnet synchronous machine. IEEE Trans Power Electron 35(12):13631–13640
Sun X et al (2021) Speed sensorless control for IPMSMs using a modified MRAS with grey wolf optimization algorithm. IEEE Trans Trans Electrif. https://doi.org/10.1109/TTE.2021.3093580
Alirahmi SM et al (2021) Soft computing analysis of a compressed air energy storage and SOFC system via different artificial neural network architecture and tri-objective grey wolf optimization. Energy 236:121412
Fu Y et al (2021) Stochastic optimization using grey wolf optimization with optimal computing budget allocation. Appl Soft Compu 103:107154
Adnan RM et al (2021) Improving streamflow prediction using a new hybrid ELM model combined with hybrid particle swarm optimization and grey wolf optimization. Knowl Based Syst 230:107379
Fan Q et al (2021) Beetle antenna strategy based grey wolf optimization. Expert Syst Appl 165:113882
Habibollahzade A, Ahmadi P, Rosen MA (2021) Biomass gasification using various gasification agents: optimum feedstock selection, detailed numerical analyses and tri-objective grey wolf optimization. J Clean Prod 284:124718
Sefati S, Mousavinasab M, Farkhady RZ (2021) Load balancing in cloud computing environment using the Grey wolf optimization algorithm based on the reliability: performance evaluation. J Supercomput. https://doi.org/10.1007/s11227-021-03810-8
Zeng J, Yu H (2016) A study of graph partitioning schemes for parallel graph community detection. Parallel Comput 58:131–139
Kernighan BW, Lin S (1970) An efficient heuristic procedure for partitioning graphs. Bell Syst Tech J 49(2):291–307
Bruglieri M, Cordone R (2021) Metaheuristics for the minimum gap graph partitioning problem. Comput Operat Res 132:105301
Newman ME, Girvan M (2004) Finding and evaluating community structure in networks. Phys Rev E 69(2):026113
Blondel VD et al (2008) Fast unfolding of communities in large networks. J Stat Mech Theory Exp 2008(10):P10008
Li T et al (2020) Hierarchical community detection by recursive partitioning. J Am Stat Assoc. https://doi.org/10.1080/01621459.2020.1833888
Li C et al (2021) A stable community detection approach for complex network based on density peak clustering and label propagation. Appl Intell. https://doi.org/10.1007/s10489-021-02287-5
Chin JH, Ratnavelu K (2021) Community detection using constrained label propagation algorithm with nodes exemption. Computing. https://doi.org/10.1007/s00607-021-00966-2
Raghavan UN, Albert R, Kumara S (2007) Near linear time algorithm to detect community structures in large-scale networks. Phys Rev E 76(3):036106
Poaka V et al (2016) A Link-density-based algorithm for finding communities in social networks. In: International Conference on Conceptual Modeling. Springer
Gui Q et al (2018) A community discovery algorithm based on boundary nodes and label propagation. Pattern Recogn Lett 109:103–109
El Kouni IB, Karoui W, Romdhane LB (2019) Node importance based label propagation algorithm for overlapping community detection in networks. Expert Syst Appl 162:113020
Wang T et al (2020) Label propagation algorithm based on node importance. Phys Stat Mech Appl, p 124137
Garza SE, Schaeffer SE (2019) Community detection with the label propagation algorithm: a survey. Phys Stat Mech Appl 534:122058
Jokar E, Mosleh M (2019) Community detection in social networks based on improved label propagation algorithm and balanced link density. Phys Lett A 383(8):718–727
Mahabadi A, Hosseini M (2021) SLPA-based parallel overlapping community detection approach in large complex social networks. Multimed Tools Appl 80(5):6567–6598
Li Z et al (2021) Cyclic label propagation for graph semi-supervised learning. World Wide Web. https://doi.org/10.1007/s11280-021-00906-2
Fiedler M (1973) Algebraic connectivity of graphs. Czechoslov Math J 23(2):298–305
Donath WE, Hoffman AJ (2003) Lower bounds for the partitioning of graphs, In: selected papers of Alan J Hoffman: with commentary. World Scientific. p 437-442
Xu Y (2019) Community detection based on network communicability distance. Physica A 515:112–118
Xu Y (2020) A spectral method to detect community structure based on the communicability modularity. Phys Stat Mech Appl 537:122751
Ge Y, Peng P, Lu H (2021) Mixed-order spectral clustering for complex networks. Pattern Recognit 117:107964
Yin Y et al (2021) Multi-objective evolutionary clustering for large-scale dynamic community detection. Inf Sci 549:269–287
Liu X et al (2020) Multiobjective particle swarm optimization based on network embedding for complex network community detection. IEEE Trans Comput Soc Syst 7(2):437–449
Pizzuti C (2011) A multiobjective genetic algorithm to find communities in complex networks. IEEE Trans Evol Comput 16(3):418–430
Shang R et al (2013) Community detection based on modularity and an improved genetic algorithm. Physica A 392(5):1215–1231
Tasgin M, Herdagdelen A, Bingol H (2007) Community detection in complex networks using genetic algorithms. arXiv preprint
Li Z, Liu J (2016) A multi-agent genetic algorithm for community detection in complex networks. Physica A 449:336–347
Pizzuti C (2008) Ga-net: A genetic algorithm for community detection in social networks. In: International Conference on Parallel Problem Solving from Nature. Springer
Guimera R, Sales-Pardo M, Amaral LAN (2004) Modularity from fluctuations in random graphs and complex networks. Phys Rev E 70(2):025101
Cai Q et al (2014) Discrete particle swarm optimization for identifying community structures in signed social networks. Neural Netw 58:4–13
Zhou X et al (2015) An ant colony based algorithm for overlapping community detection in complex networks. Physica A 427:289–301
Zhang Y et al (2020) WOCDA: a whale optimization based community detection algorithm. Phys Stat Mech Appl 539:122937
Harifi S et al (2021) Hybrid-EPC: an emperor penguins colony algorithm with crossover and mutation operators and its application in community detection. Prog Artif Intell 10(2):181–193
Psorakis I et al (2011) Overlapping community detection using bayesian non-negative matrix factorization. Phys Rev E 83(6):066114
Lu H et al (2020) Community detection in complex networks using nonnegative matrix factorization and density-based clustering algorithm. Neural Process Lett. https://doi.org/10.1007/s11063-019-10170-1
You X, Ma Y, Liu Z (2020) A three-stage algorithm on community detection in social networks. Knowl-Based Syst 187:104822
Mirjalili S, Mirjalili SM, Lewis A (2014) Grey wolf optimizer. Adv Eng Softw 69:46–61
Kirkpatrick S, Gelatt CD, Vecchi MP (1983) Optimization by simulated annealing. Science 220(4598):671–680
Zhou X et al (2019) A novel modularity-based discrete state transition algorithm for community detection in networks. Neurocomputing 334:89–99
Zachary WW (1977) An information flow model for conflict and fission in small groups. J Anthropol Res 33(4):452–473
Lusseau D et al (2003) The bottlenose dolphin community of Doubtful Sound features a large proportion of long-lasting associations. Behav Ecol Sociobiol 54(4):396–405
Newman ME (2006) Modularity and community structure in networks. Proc Natl Acad Sci 103(23):8577–8582
Gleiser PM, Danon L (2003) Community structure in jazz. Adv Complex Syst 6(04):565–573
Leskovec J, Sosič R (2016) Snap: a general-purpose network analysis and graph-mining library. ACM Trans Intell Syst Technol (TIST) 8(1):1–20
Lancichinetti A, Fortunato S (2009) Benchmarks for testing community detection algorithms on directed and weighted graphs with overlapping communities. Phys Rev E 80(1):016118
Danon L et al (2005) Comparing community structure identification. J Stat Mech Theory Exp 2005(09):P09008
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Jokar, E., Mosleh, M. & Kheyrandish, M. GWBM: an algorithm based on grey wolf optimization and balanced modularity for community discovery in social networks. J Supercomput 78, 7354–7377 (2022). https://doi.org/10.1007/s11227-021-04174-9
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-021-04174-9