Skip to main content
Log in

Graph-based label propagation algorithm for community detection

  • Original Article
  • Published:
International Journal of Machine Learning and Cybernetics Aims and scope Submit manuscript

Abstract

Community detection is one of the most important topics in complex network analysis. Among a variety of approaches for detecting communities, the label propagation algorithm (LPA) is the simplest and time-efficient approach. However, the original label propagation algorithm is not stable due to the randomness in its propagation process. In this paper, we propose a graph-based label propagation algorithm (GLPA) to detect communities incorporating the node similarity and connectivity information during the propagation of the labels. First, we define node similarity between adjacent nodes, and change each node’s label to that of its most similar neighbor node. Based on the label propagation process, GLPA constructs a label propagation graph to get candidate communities. Then, GLPA calculates the connected components of the label propagation graph. Each connected component is treated as a candidate community in the next step. Second, GLPA constructs a weighted graph to obtain final communities, in which each connected component are treated as a super-node, and the number of edges lying between the corresponding components as the weight of edges. We compute the merging factor for each node in the weighted graph and merge super nodes with higher merging factor to its most similar node iteratively to reach the maximum complementary entropy. Compared with 8 other classical community detection algorithms on LFR artificial networks and 12 real world networks, the proposed algorithm GLPA shows preferable performance on stability, NMI, ARI, modularity.

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

Similar content being viewed by others

References

  1. Sara EG, Satu ES (2019) Community detection with the label propagation algorithm: a survey. Phys A 534:122058

    Article  MathSciNet  Google Scholar 

  2. Barabási AL, Albert R (1999) Emergence of scaling in random networks. Science 286(5439):509–512

    Article  MathSciNet  Google Scholar 

  3. Watts DJ, Strogatz SH (1998) Collective dynamics of ’small-world’ networks. Science 393(6684):440–442

    MATH  Google Scholar 

  4. Fortunato S, Hric D (2016) Community detection in networks: a user guide. Phys Rep 659:1–44

    Article  MathSciNet  Google Scholar 

  5. Newman MEJ, Reinert G (2016) Estimating the number of communities in a network. Phys Rev Lett 117(7):078301

    Article  Google Scholar 

  6. Chen Guanrong, Wang Xiaofan, Li Xiang (2015) Introduction to Complex Networks: Models, Structures and Dynamics. Higher Education Press, Beijing

    Google Scholar 

  7. Rolland T, Tasan M, Charloteaux B et al (2014) A proteome-scale map of the human interactome network. Cell 159(5):1212–1226

    Article  Google Scholar 

  8. Bo Yang, Jiming Liu, Jianfeng Feng (2012) On the Spectral characterization and scalable mining of network communities. IEEE Trans Knowl Data Eng 24(2):326–337

    Article  Google Scholar 

  9. Fortunato S, Barthélemy M (2007) Resolution limit in community detection. Proc Nat Acad Sci USA 104(1):36–41

    Article  Google Scholar 

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

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

    Article  Google Scholar 

  12. Liang Bai, Xueqi Cheng, Jiye Liang et al (2017) Fast graph clustering with a new description model for community detection. Inf Sci 388–389:37–47

    Google Scholar 

  13. Newman MEJ (2004) Fast algorithm for detecting community structure in networks. Phys Rev E 69(6):066133

    Article  Google Scholar 

  14. Blondel VD, Guillaume J, Lambiotte R et al (2008) Fast unfolding of communities in large networks. J Stat Mech: Theory Exp 2008(10):P10008

    Article  Google Scholar 

  15. Barber MJ, Clark JW (2009) Detecting network communities by propagating labels under constraints. Phys Rev E 80(2):026129

    Article  Google Scholar 

  16. Xin Liu, Murata T (2010) Advanced modularity-specialized label propagation algorithm for detecting communities in networks. Phys A 389(7):1493–1500

    Article  Google Scholar 

  17. Wei Li, Ce Huang, Miao Wang et al (2017) Stepping community detection algorithm based on label propagation and similarity. Phys A 472:145–155

    Article  Google Scholar 

  18. Lusseau D, Newman MEJ (2004) Identifying the role that animals play in their social networks. Proc R Soc B Biol Sci 271(Suppl 6):S477–S481

    Google Scholar 

  19. Linyuan Lü, Tao Zhou (2011) Link prediction in complex networks: A survey. Phys A 390(6):1150–1170

    Article  Google Scholar 

  20. Rosvall M, Bergstrom CT (2008) Maps of random walks on complex networks reveal community structure. Proc Natl Acad Sci USA 105(4):1118–1123

    Article  Google Scholar 

  21. Danon L, Diazguilera A, Duch J et al (2005) Comparing community structure identification. J Stat Mech: Theory Exp 2005(9):P09008

    Article  Google Scholar 

  22. Rand WM (1971) Objective criteria for the evaluation of clustering methods. J Am Stat Assoc 66(336):846–850

    Article  Google Scholar 

  23. Wenping Zheng, Chenhao Che, Yuhua Qian et al (2018) A two-stage community detection algorithm based on label propagation. J Comput Res Dev 55(9):1959–1971

    Google Scholar 

  24. Lancichinetti A, Fortunato S, Radicchi F (2008) Benchmark graphs for testing community detection algorithms. Phys Rev E 78(4):046110

    Article  Google Scholar 

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

    Article  Google Scholar 

  26. Newman MEJ (2006) Modularity and community structure in networks. Proc Natl Acad Sci USA 2006(103):8577–8582

    Article  Google Scholar 

  27. Gavin M, Newman MEJ (2002) Community structure in social and biological networks. Proc Natl Acad Sci USA 99(12):7821–7826

    Article  MathSciNet  Google Scholar 

  28. Gui Yang, Wenping Zheng, Wenjian Wang et al (2017) Community detection algorithm based on weighted dense subgraphs. J Softw 28(11):3103–3114

    MathSciNet  MATH  Google Scholar 

  29. Newman MEJ (2006) Finding community structure in networks using the eigenvectors of matrices. Phys Rev E 74(3):036104

    Article  MathSciNet  Google Scholar 

  30. Guimerà R, Danon L, Diazguilera A et al (2003) Self-similar community structure in a network of human interactions. Phys Rev E 68(6):065103

    Article  Google Scholar 

  31. Yuhua Qian, Yebin Li, Min Zhang et al (2017) Quantifying edge significance on maintaining global connectivity. Sci Rep 7:45380

    Article  Google Scholar 

  32. Rossi Ryan A, Ahmed Nesreen K (2015) The network data repository with interactive graph analytics and visualization. In: Proceedings of the twenty-ninth AAAI conference on artificial intelligence

Download references

Acknowledgements

The authors of this paper are grateful to the National Natural Science Foundation of China (61673249, U1805263), the Natural Science Foundation of Shanxi (201801D121123)and the Research Project of Shanxi Scholarship Council of China (2017-014). The authors also gratefully acknowledge the anonymous referees for their constructive comments that improved this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wenjian Wang.

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

Yang, G., Zheng, W., Che, C. et al. Graph-based label propagation algorithm for community detection. Int. J. Mach. Learn. & Cyber. 11, 1319–1329 (2020). https://doi.org/10.1007/s13042-019-01042-0

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13042-019-01042-0

Keywords

Navigation