Skip to main content
Log in

Discovering community structure in social networks based on the synergy of label propagation and simulated annealing

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Community detection is one of the critical research areas in the analysis of complex networks. Numerous algorithms have been devised for this purpose. Despite advances in this field, existing methods are far from accurately identifying the ground-truth community structures of many complex networks. In this paper, we propose a hybrid community detection method, named LPASA, to uncover communities in complex networks accurately. The proposed method is based on label propagation and the simulated annealing algorithm. Label propagation is a fast and straightforward community detection approach that utilizes the topological features of the input network. LPASA uses label propagation to provide the initial population and choose the best starting point for the next phase. Since community detection is an NP-complete problem, meta-heuristic methods such as Simulated Annealing (SA) can also be used for this problem. The SA Algorithm is a renowned and influential meta-heuristic algorithm for finding the global optimal. The proposed method uses a problem-specific variant of the SA algorithm to efficiently convergence to the best possible solution. To this end, instead of a completely random move from the current solution to a neighboring one, a pseudo-random motion is used that considers the network structure. LPASA needs no prior information to discover network communities. The experiments on synthetic and known real-world networks have shown that LPASA is accurate and comparable with the state-of-the-art community detection methods. The results showed that LPASA could improve the mean modularity up to 49.27% on real-world networks compared to various tested 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
Fig. 12
Fig. 13

Similar content being viewed by others

References

  1. Attal J-P, Malek M, Zolghadri M (2021) Overlapping community detection using core label propagation algorithm and belonging functions. Appl Intell 51:1–21

    Article  Google Scholar 

  2. Behera RK, … Dharavath R (2020) Genetic algorithm-based community detection in large-scale social networks. Neural Comput Applic 32(13):9649–9665

    Article  Google Scholar 

  3. Ben El Kouni I, Karoui W, Romdhane LB (2019) Node importance based label propagation algorithm for overlapping community detection in networks. Expert Syst Appl 162:113020

    Article  Google Scholar 

  4. Blondel VD, … Lefebvre E (2008) Fast unfolding of communities in large networks. J Statist Mech: Theory Exp 2008(10):P10008

    Article  MATH  Google Scholar 

  5. Cai B, … Li H (2020) Edge classification based on convolutional neural networks for community detection in complex network. Physica A: Stat Mech Appl 556:124826

    Article  Google Scholar 

  6. Cai Q, … Jiao L (2014) Discrete particle swarm optimization for identifying community structures in signed social networks. Neural Netw 58:4–13

    Article  Google Scholar 

  7. Danon L, … Arenas A (2005) Comparing community structure identification. J Stat Mech: Theory Exp 2005(09):P09008

    Article  Google Scholar 

  8. Donath WE and Hoffman AJ (2003) Lower bounds for the partitioning of graphs, in Selected Papers Of Alan J Hoffman: With Commentary. World Scientific. p. 437–442.

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

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MathSciNet  Google Scholar 

  11. Gabardo AC, Berretta R, Moscato P (2020) M-link: a link clustering memetic algorithm for overlapping community detection. Memetic Comput 12:1–13

    Article  Google Scholar 

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

    Article  MathSciNet  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  Google Scholar 

  15. Gui Q, … Cheng X (2018) A community discovery algorithm based on boundary nodes and label propagation. Pattern Recogn Lett 109:103–109

    Article  Google Scholar 

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

    Article  Google Scholar 

  17. Jin D, … He D (2021) Semi-supervised community detection on attributed networks using non-negative matrix tri-factorization with node popularity. Front Comput Sci 15(4):1–11

    Article  Google Scholar 

  18. Jin D et al (2019) Community detection via joint graph convolutional network embedding in attribute network. In international conference on artificial neural networks. 2019. Springer

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

    Article  MathSciNet  Google Scholar 

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

    Article  MATH  Google Scholar 

  21. Kipf TN and Welling M (2016) Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907

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

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  Google Scholar 

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

    Article  Google Scholar 

  25. Li W (2020) Improvement of stochastic competitive learning for social network. Comput, Mat Continua 63(2):755–768

    Google Scholar 

  26. Li Y, … Yu J (2018) Enhanced semi-supervised community detection with active node and link selection. Physica A: Stat Mech Appl 510:219–232

    Article  Google Scholar 

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

    Article  Google Scholar 

  28. Liu X, … Cannistraci CV (2017) Semi-supervised community detection based on non-negative matrix factorization with node popularity. Inf Sci 381:304–321

    Article  Google Scholar 

  29. Lu H et al. (n.d.) Community Detection in Complex Networks Using Nonnegative Matrix Factorization and Density-Based Clustering Algorithm. Neural Process Lett. 1–18

  30. Lusseau D, … Dawson SM (2003) The bottlenose dolphin community of doubtful sound features a large proportion of long-lasting associations. Behav Ecol Sociobiol 54(4):396–405

    Article  Google Scholar 

  31. Messaoudi I, Kamel N (2019) A multi-objective bat algorithm for community detection on dynamic social networks. Appl Intell 49(6):2119–2136

    Article  Google Scholar 

  32. Mu C, … Huang T (2019) Multi-objective ant colony optimization algorithm based on decomposition for community detection in complex networks. Soft Comput 23(23):12683–12709

    Article  Google Scholar 

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

    Article  Google Scholar 

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

    Article  Google Scholar 

  35. Pizzuti C (2008) Ga-net: a genetic algorithm for community detection in social networks. In international conference on parallel problem solving from nature. 2008. Springer.

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

    Article  Google Scholar 

  37. Poaka V et al (2016) A link-density-based algorithm for finding communities in social networks. In international conference on conceptual modeling. 2016. Springer.

  38. Psorakis I, … Sheldon B (2011) Overlapping community detection using bayesian non-negative matrix factorization. Phys Rev E 83(6):066114

    Article  Google Scholar 

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

    Article  Google Scholar 

  40. Shang R, … Jin C (2013) Community detection based on modularity and an improved genetic algorithm. Physica A: Stat Mech Appl 392(5):1215–1231

    Article  Google Scholar 

  41. Wang T, … Wang J (2020) Label propagation algorithm based on node importance. Physica A: Stat Mech Appl 551:124137

    Article  Google Scholar 

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

    Article  Google Scholar 

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

    Article  MathSciNet  Google Scholar 

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

    Article  Google Scholar 

  45. Yuan Q, Liu B (2021) Community detection via an efficient nonconvex optimization approach based on modularity. Comput Stat Data Anal 157:107163

    Article  MathSciNet  MATH  Google Scholar 

  46. Yuanyuan M, Xiyu L (2018) Quantum inspired evolutionary algorithm for community detection in complex networks. Phys Lett A 382(34):2305–2312

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  Google Scholar 

  48. Zadeh PM, Kobti Z (2015) Community detection in social networks by cultural algorithm. In 2015 international conference on collaboration technologies and systems (CTS). IEEE.

  49. Žalik KR, Žalik B (2018) Memetic algorithm using node entropy and partition entropy for community detection in networks. Inf Sci 445:38–49

    Article  MathSciNet  Google Scholar 

  50. Zhang B, Yu Z, Zhang W Community-centric graph convolutional network for unsupervised community detection. 2020. IJCAI.

  51. Zhang Y, … Wen C (2020) LILPA: a label importance based label propagation algorithm for community detection with application to core drug discovery. Neurocomputing 413:107–133

    Article  Google Scholar 

  52. Zhang Y, … Wen C (2020) WOCDA: a whale optimization based community detection algorithm. Physica A: Stat Mech Appl 539:122937

    Article  Google Scholar 

  53. Zhou X, … Zhang D (2015) An ant colony based algorithm for overlapping community detection in complex networks. Physica A: Stat Mech Appl 427:289–301

    Article  Google Scholar 

  54. Zhou X, … Huang T (2019) A novel modularity-based discrete state transition algorithm for community detection in networks. Neurocomputing 334:89–99

    Article  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. Discovering community structure in social networks based on the synergy of label propagation and simulated annealing. Multimed Tools Appl 81, 21449–21470 (2022). https://doi.org/10.1007/s11042-022-12745-y

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-022-12745-y

Keywords

Navigation