Abstract
We propose a label propagation-based algorithm to extract community structure using a new similarity measure based on centrality and common neighbours. Initially, a distinct label is assigned to each vertex. Along the process, each vertex adopts the label that most of its similar neighbours have. Communities are defined when closely related groups of vertices agree on a single label. Experiments on both real-world and synthetic networks show that our algorithm has better stability than the label propagation algorithm and finds communities with small sizes and indistinct boundaries more effectively than most state-of-the-art community detection methods.










Similar content being viewed by others
Data availibility
The datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request.
References
Girvan M, Newman ME (2002) Community structure in social and biological networks. Proc Natl Acad Sci 99(12):7821–7826
Karataş A, Şahin S (2018) Application areas of community detection: a review. In: 2018 International Congress on Big Data, Deep Learning and Fighting Cyber Terrorism (IBIGDELFT), pp 65–70. https://doi.org/10.1109/IBIGDELFT.2018.8625349
Elezaj O, Yayilgan SY, Kalemi E (2021) Criminal network community detection in social media forensics. In: Yildirim Yayilgan S, Bajwa IS, Sanfilippo F (eds) Intelligent technologies and applications. Springer, Cham, pp 371–383
Cao C, Ni Q, Zhai Y (2015) An improved collaborative filtering recommendation algorithm based on community detection in social networks. In: Proceedings of the 2015 Annual Conference on Genetic and Evolutionary Computation. GECCO ’15, Association for Computing Machinery, New York, pp 1–8. https://doi.org/10.1145/2739480.2754670
Yudhoatmojo SB, Samuar MA (2017) Community detection on citation network of dblp data sample set using linkrank algorithm. Proced Comput Sci 124:29–37. https://doi.org/10.1016/j.procs.2017.12.126
Newman ME, Girvan M (2004) Finding and evaluating community structure in networks. Phys Rev E 69(2):026113
Newman MEJ (2004) Fast algorithm for detecting community structure in networks. Phys Rev E 69:066133. https://doi.org/10.1103/PhysRevE.69.066133
Clauset A, Newman ME, Moore C (2004) Finding community structure in very large networks. Phys Rev E 70(6):066111
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
Pons P, Latapy M (2005) Computing communities in large networks using random walks. In: Yolum P, Güngör T, Gürgen F, Özturan C (eds) Computer and information sciences - ISCIS. Springer, Berlin, Heidelberg, pp 284–293
Rosvall M, Bergstrom CT (2008) Maps of random walks on complex networks reveal community structure. Proc Natl Acad Sci 105(4):1118–1123. https://doi.org/10.1073/pnas.0706851105
Blondel VD, Guillaume J-L, Lambiotte R, Lefebvre E (2008) Fast unfolding of communities in large networks. J Stat Mech Theory Exp 2008(10):10008. https://doi.org/10.1088/1742-5468/2008/10/P10008
Jabbour S, Mhadbhi N, Raddaoui B, Sais L (2018) Triangle-driven community detection in large graphs using propositional satisfiability. In: 2018 IEEE 32nd International Conference on Advanced Information Networking and Applications (AINA), pp 437–444. https://doi.org/10.1109/AINA.2018.00072
Jabbour S, Mhadhbi N, Raddaoui B, Sais L (2020) Sat-based models for overlapping community detection in networks. Computing 102(5):1275–1299. https://doi.org/10.1007/s00607-020-00803-y
Koc I (2022) A fast community detection algorithm based on coot bird metaheuristic optimizer in social networks. Eng Appl Artif Intell 114:105202. https://doi.org/10.1016/j.engappai.2022.105202
Belkhiri Y, Kamel N, Drias H (2022) An efficient multi-swarm elephant herding optimization for solving community detection problem in complex environment. Concurr Comput Pract Exp 34(3):6590
Guendouz M, Amine A, Hamou RM (2017) A discrete modified fireworks algorithm for community detection in complex networks. Appl Intell 46(2):373–385
Messaoudi I, Kamel N (2019) Community detection using fireworks optimization algorithm. Int J Artif Intell Tools 28(03):1950010
Ballal A, Kion-Crosby WB, Morozov AV (2022) Network community detection and clustering with random walks. Phys Rev Res 4:043117. https://doi.org/10.1103/PhysRevResearch.4.043117
Gui Q, Deng R, Xue P, Cheng X (2018) A community discovery algorithm based on boundary nodes and label propagation. Pattern Recogn Lett 109:103–109. https://doi.org/10.1016/j.patrec.2017.12.018
Wang T, Chen S, Wang X, Wang J (2020) Label propagation algorithm based on node importance. Phys A 551:124137
Malhotra D, Chug A (2021) A modified label propagation algorithm for community detection in attributed networks. Int J Inf Manag Data Insights 1(2):100030. https://doi.org/10.1016/j.jjimei.2021.100030
Fortunato S (2010) Community detection in graphs. Phys Rep 486(3):75–174. https://doi.org/10.1016/j.physrep.2009.11.002
Fortunato S, Hric D (2016) Community detection in networks: a user guide. Phys Rep 659:1–44. https://doi.org/10.1016/j.physrep.2016.09.002
Garza SE, Schaeffer SE (2019) Community detection with the label propagation algorithm: a survey. Phys A Stat Mech Appl 534:122058. https://doi.org/10.1016/j.physa.2019.122058
Lin Z, Zheng X, Xin N, Chen D (2014) Ck-lpa: efficient community detection algorithm based on label propagation with community kernel. Phys A Stat Mech Appl 416:386–399. https://doi.org/10.1016/j.physa.2014.09.023
Lou H, Li S, Zhao Y (2013) Detecting community structure using label propagation with weighted coherent neighborhood propinquity. Phys A 392(14):3095–3105. https://doi.org/10.1016/j.physa.2013.03.014
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. https://doi.org/10.1016/j.physleta.2018.11.033
Šubelj L, Bajec M (2011) Robust network community detection using balanced propagation. Eur Phys J B 81(3):353–362. https://doi.org/10.1140/epjb/e2011-10979-2
Sun H, Huang J, Zhong X, Liu K, Zou J, Song Q (2014) Label propagation with \(\alpha \)-degree neighborhood impact for network community detection. Comput Intell Neurosci 2014:45–45
Laassem B, Idarrou A, Boujlaleb L, Iggane M (2022) Label propagation algorithm for community detection based on coulomb’s law. Phys A Stat Mech Appl 593:126881. https://doi.org/10.1016/j.physa.2022.126881
Das K, Samanta S, Pal M (2018) Study on centrality measures in social networks: a survey. Soc Netw Anal Min 8(1):13. https://doi.org/10.1007/s13278-018-0493-2
Fortunato S, Newman ME (2022) 20 years of network community detection. Nat Phys 18(8):848–850
Traag VA, Waltman L, Eck NJ (2019) From louvain to leiden: guaranteeing well-connected communities. Sci Rep 9(1):5233. https://doi.org/10.1038/s41598-019-41695-z
Tunali V (2021) Large-scale network community detection using similarity-guided merge and refinement. IEEE Access 9:78538–78552. https://doi.org/10.1109/ACCESS.2021.3083971
Zhang X-K, Tian X, Li Y-N, Song C (2014) Label propagation algorithm based on edge clustering coefficient for community detection in complex networks. Int J Mod Phys B 28(30):1450216
Steinhaeuser K, Chawla NV (2008) Community detection in a large real-world social network. In: Liu H, Salerno JJ, Young MJ (eds) Social computing, behavioral modeling and prediction. Springer, Boston, MA, pp 168–175
Huang B, Wang C, Wang B (2019) Nmlpa: uncovering overlapping communities in attributed networks via a multi-label propagation approach. Sensors 19(2):260
Murata T, Moriyasu S (2007) Link prediction of social networks based on weighted proximity measures. In: IEEE/WIC/ACM International Conference on Web Intelligence (WI’07), pp 85–88 . https://doi.org/10.1109/WI.2007.52
Traag VA, Šubelj L (2023) Large network community detection by fast label propagation. Sci Rep 13(1):2701. https://doi.org/10.1038/s41598-023-29610-z
Chen T, Singh P, Bassler KE (2018) Network community detection using modularity density measures. J Stat Mech Theory Exp 2018(5):053406
Yang Z, Algesheimer R, Tessone CJ (2016) A comparative analysis of community detection algorithms on artificial networks. Sci Rep 6(1):1–18
Emmons S, Kobourov S, Gallant M, Börner K (2016) Analysis of network clustering algorithms and cluster quality metrics at scale. PLoS ONE 11(7):1–18. https://doi.org/10.1371/journal.pone.0159161
Tandon A, Albeshri A, Thayananthan V, Alhalabi W, Radicchi F, Fortunato S (2021) Community detection in networks using graph embeddings. Phys Rev E 103:022316. https://doi.org/10.1103/PhysRevE.103.022316
Dao VL, Bothorel C, Lenca P (2020) Community structure: a comparative evaluation of community detection methods. Netw Sci 8(1):1–41. https://doi.org/10.1017/nws.2019.59
Newman ME (2006) Modularity and community structure in networks. Proc Natl Acad Sci 103(23):8577–8582
Fred ALN, Jain AK (2003) Robust data clustering. In 2003 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. 2
Danon L, Díaz-Guilera A, Duch J, Arenas A (2005) Comparing community structure identification. J Stat Mech Theory Exp 2005(09):09008–09008. https://doi.org/10.1088/1742-5468/2005/09/p09008
Rossetti G, Pappalardo L, Rinzivillo S (2016) A novel approach to evaluate community detection algorithms on ground truth. In: Cherifi, H., Gonçalves, B., Menezes, R., Sinatra, R. (eds.) Complex Networks VII: Proceedings of the 7th Workshop on Complex Networks CompleNet 2016, Springer, Cham, pp 133–144 https://doi.org/10.1007/978-3-319-30569-1_10
Newman M (2018) 158measures and metrics. Oxford University Press, Oxford. https://doi.org/10.1093/oso/9780198805090.003.0007
Zachary WW (1977) An information flow model for conflict and fission in small groups. J Anthropol Res 33(4):452–473. https://doi.org/10.1086/jar.33.4.3629752
Lusseau D, Schneider K, Boisseau O, Haase P, Slooten E, Dawson S (2003) The bottlenose dolphin community of doubtful sound features a large proportion of long-lasting associations - Can geographic isolation explain this unique trait? Behav Ecol Sociobiol 54:396–405. https://doi.org/10.1007/s00265-003-0651-y
Yang J, Leskovec J (2015) Defining and evaluating network communities based on ground-truth. Knowl Inf Syst 42(1):181–213. https://doi.org/10.1007/s10115-013-0693-z
Lancichinetti A, Fortunato S, Radicchi F (2008) Benchmark graphs for testing community detection algorithms. Phys Rev E 78(4):046110
Funding
The authors did not receive support from any organisation for the submitted work.
Author information
Authors and Affiliations
Contributions
All authors contributed to the study conception and design. Material preparation, data collection and analysis were performed by Asma Douadi. The first draft of the manuscript was written by Asma Douadi, and all authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Conflict of interest
All authors certify that they have no affiliations with or involvement in any organisation or entity with any financial interest or non-financial interest in the subject matter or materials discussed in this manuscript.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Douadi, A., Kamel, N. & Sais, L. Label propagation algorithm for community discovery based on centrality and common neighbours. J Supercomput 80, 11816–11842 (2024). https://doi.org/10.1007/s11227-024-05904-5
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-024-05904-5