Skip to main content
Log in

GWBM: an algorithm based on grey wolf optimization and balanced modularity for community discovery in social networks

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

References

  1. Girvan M, Newman ME (2002) Community structure in social and biological networks. Proc Natl Acad Sci 99(12):7821–7826

    MathSciNet  MATH  Google Scholar 

  2. Wang Y et al (2021) Users’ mobility enhances information diffusion in online social networks. Inf Sci 546:329–348

    MathSciNet  Google Scholar 

  3. 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

    Article  Google Scholar 

  4. 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

    Google Scholar 

  5. Fortunato S (2010) Community detection in graphs. Phys Rep 486(3–5):75–174

    MathSciNet  Google Scholar 

  6. 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

    Google Scholar 

  7. Dhargupta S et al (2020) Selective opposition based grey wolf optimization. Expert Syst Appl 151:113389

    Google Scholar 

  8. 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

    Google Scholar 

  9. 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

    Article  Google Scholar 

  10. 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

    Google Scholar 

  11. Fu Y et al (2021) Stochastic optimization using grey wolf optimization with optimal computing budget allocation. Appl Soft Compu 103:107154

    Google Scholar 

  12. 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

    Google Scholar 

  13. Fan Q et al (2021) Beetle antenna strategy based grey wolf optimization. Expert Syst Appl 165:113882

    Google Scholar 

  14. 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

    Google Scholar 

  15. 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

    Article  Google Scholar 

  16. Zeng J, Yu H (2016) A study of graph partitioning schemes for parallel graph community detection. Parallel Comput 58:131–139

    MathSciNet  Google Scholar 

  17. Kernighan BW, Lin S (1970) An efficient heuristic procedure for partitioning graphs. Bell Syst Tech J 49(2):291–307

    MATH  Google Scholar 

  18. Bruglieri M, Cordone R (2021) Metaheuristics for the minimum gap graph partitioning problem. Comput Operat Res 132:105301

    MathSciNet  MATH  Google Scholar 

  19. Newman ME, Girvan M (2004) Finding and evaluating community structure in networks. Phys Rev E 69(2):026113

    Google Scholar 

  20. Blondel VD et al (2008) Fast unfolding of communities in large networks. J Stat Mech Theory Exp 2008(10):P10008

    MATH  Google Scholar 

  21. Li T et al (2020) Hierarchical community detection by recursive partitioning. J Am Stat Assoc. https://doi.org/10.1080/01621459.2020.1833888

    Article  Google Scholar 

  22. 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

    Article  Google Scholar 

  23. 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

    Article  Google Scholar 

  24. 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

    Google Scholar 

  25. Poaka V et al (2016) A Link-density-based algorithm for finding communities in social networks. In: International Conference on Conceptual Modeling. Springer

  26. Gui Q et al (2018) A community discovery algorithm based on boundary nodes and label propagation. Pattern Recogn Lett 109:103–109

    Google Scholar 

  27. 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

    Google Scholar 

  28. Wang T et al (2020) Label propagation algorithm based on node importance. Phys Stat Mech Appl, p 124137

  29. Garza SE, Schaeffer SE (2019) Community detection with the label propagation algorithm: a survey. Phys Stat Mech Appl 534:122058

    MathSciNet  Google Scholar 

  30. 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

    MathSciNet  Google Scholar 

  31. Mahabadi A, Hosseini M (2021) SLPA-based parallel overlapping community detection approach in large complex social networks. Multimed Tools Appl 80(5):6567–6598

    Google Scholar 

  32. 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

    Article  Google Scholar 

  33. Fiedler M (1973) Algebraic connectivity of graphs. Czechoslov Math J 23(2):298–305

    MathSciNet  MATH  Google Scholar 

  34. 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

  35. Xu Y (2019) Community detection based on network communicability distance. Physica A 515:112–118

    Google Scholar 

  36. Xu Y (2020) A spectral method to detect community structure based on the communicability modularity. Phys Stat Mech Appl 537:122751

    MathSciNet  Google Scholar 

  37. Ge Y, Peng P, Lu H (2021) Mixed-order spectral clustering for complex networks. Pattern Recognit 117:107964

    Google Scholar 

  38. Yin Y et al (2021) Multi-objective evolutionary clustering for large-scale dynamic community detection. Inf Sci 549:269–287

    MathSciNet  MATH  Google Scholar 

  39. 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

    Google Scholar 

  40. Pizzuti C (2011) A multiobjective genetic algorithm to find communities in complex networks. IEEE Trans Evol Comput 16(3):418–430

    Google Scholar 

  41. Shang R et al (2013) Community detection based on modularity and an improved genetic algorithm. Physica A 392(5):1215–1231

    Google Scholar 

  42. Tasgin M, Herdagdelen A, Bingol H (2007) Community detection in complex networks using genetic algorithms. arXiv preprint

  43. Li Z, Liu J (2016) A multi-agent genetic algorithm for community detection in complex networks. Physica A 449:336–347

    Google Scholar 

  44. Pizzuti C (2008) Ga-net: A genetic algorithm for community detection in social networks. In: International Conference on Parallel Problem Solving from Nature. Springer

  45. Guimera R, Sales-Pardo M, Amaral LAN (2004) Modularity from fluctuations in random graphs and complex networks. Phys Rev E 70(2):025101

    Google Scholar 

  46. Cai Q et al (2014) Discrete particle swarm optimization for identifying community structures in signed social networks. Neural Netw 58:4–13

    Google Scholar 

  47. Zhou X et al (2015) An ant colony based algorithm for overlapping community detection in complex networks. Physica A 427:289–301

    Google Scholar 

  48. Zhang Y et al (2020) WOCDA: a whale optimization based community detection algorithm. Phys Stat Mech Appl 539:122937

    Google Scholar 

  49. 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

    Google Scholar 

  50. Psorakis I et al (2011) Overlapping community detection using bayesian non-negative matrix factorization. Phys Rev E 83(6):066114

    Google Scholar 

  51. 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

    Article  Google Scholar 

  52. You X, Ma Y, Liu Z (2020) A three-stage algorithm on community detection in social networks. Knowl-Based Syst 187:104822

    Google Scholar 

  53. Mirjalili S, Mirjalili SM, Lewis A (2014) Grey wolf optimizer. Adv Eng Softw 69:46–61

    Google Scholar 

  54. Kirkpatrick S, Gelatt CD, Vecchi MP (1983) Optimization by simulated annealing. Science 220(4598):671–680

    MathSciNet  MATH  Google Scholar 

  55. Zhou X et al (2019) A novel modularity-based discrete state transition algorithm for community detection in networks. Neurocomputing 334:89–99

    Google Scholar 

  56. Zachary WW (1977) An information flow model for conflict and fission in small groups. J Anthropol Res 33(4):452–473

    Google Scholar 

  57. 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

    Google Scholar 

  58. Newman ME (2006) Modularity and community structure in networks. Proc Natl Acad Sci 103(23):8577–8582

    Google Scholar 

  59. Gleiser PM, Danon L (2003) Community structure in jazz. Adv Complex Syst 6(04):565–573

    Google Scholar 

  60. 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

    Google Scholar 

  61. 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

    Google Scholar 

  62. Danon L et al (2005) Comparing community structure identification. J Stat Mech Theory Exp 2005(09):P09008

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mohammad Mosleh.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-021-04174-9

Keywords

Navigation