Skip to main content
Log in

A new metric to compare local community detection algorithms in social networks using geodesic distance

  • Published:
Journal of Combinatorial Optimization Aims and scope Submit manuscript

Abstract

Community detection problem is a well-studied problem in social networks. One major question to this problem is how to evaluate different community detection algorithms. This issue is even more challenging in the problem of local community detection where only local information of communities is available. Normally, two community detection algorithms are compared by evaluating their resulted communities. In this regard, the most widely used technique to evaluate the quality of communities is to compare them with the ground-truth communities. However, for a large number of networks, the ground-truth communities are not known. As a result, it is necessary to have a comprehensive metric to evaluate the quality of communities. In this study, improving a local quality metric, a number of local community detection algorithms are compared through assessing their detected communities. Furthermore, using some small graphs as example communities, some drawbacks of a number of existing local metrics are discussed. Finally, according to the experimental results, it is illustrated that the local community detection algorithms are fairly compared using the proposed metric, GDM. It is also shown that the judgment of GDM is almost the same as that of F1-score, i.e. the metric which compares the community with its ground-truth community.

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

Similar content being viewed by others

Notes

  1. http://snap.stanford.edu/.

  2. http://snap.stanford.edu/.

  3. https://www.amazon.com/.

References

  • Abdallah L, Aicha C, Hadda C, Abdelmounaam R (2016) A link strength based label propagation algorithm for community detection. In: 2016 IEEE international conferences on big data and cloud computing (BDCloud), social computing and networking (SocialCom), sustainable computing and communications (SustainCom)(BDCloud-SocialCom-SustainCom)

  • Amir G, Homa H, Aaron C (2019) Evaluating overfit and underfit in models of network community structure. IEEE Trans Knowl Data Eng

  • Ann ES, Jennifer EP-C, Robert G, Danielle SB (2019) The importance of the whole: topological data analysis for the network neuroscientist. Netw Neurosci 3(3):656–673

    Article  Google Scholar 

  • Clauset A (2005) Finding local community structure in networks. Phys Rev E 72(2):

    Article  Google Scholar 

  • Darko H, Richard KD, Santo F (2014) Community detection in networks: structural communities versus ground truth. Phys Rev E 90(6):

    Article  Google Scholar 

  • David L, Karsten S, Oliver JB, Patti H, Elisabeth S, Steve MD (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 

  • Donghwoon K, Hyunjoo K, Jinoh K, Sang CS, Ikkyun K, Kuinam JK (2019) A survey of deep learning-based network anomaly detection. Cluster Comput, pp 1–13

  • Feng L, James ZW, Eric P (2006) Exploring local community structures in large networks. In: 2006 IEEE/WIC/ACM international conference on web intelligence (WI 2006 Main Conference Proceedings)(WI’06), pp 233–239. IEEE

  • Fortunato S, Barthelemy M (2007) Resolution limit in community detection. Proc Natl Acad Sci 104(1):36–41

    Article  Google Scholar 

  • Gao Y, Zhang H, Zhang Y (2019) Overlapping community detection based on conductance optimization in large-scale networks. Phys A Stat Mech Appl 522:69–79

    Article  MathSciNet  Google Scholar 

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

    Article  MathSciNet  Google Scholar 

  • Jebabli M, Cherifi H, Cherifi C, Hamouda A (2018) Community detection algorithm evaluation with ground-truth data. Phys A Stat Mech Appl 492:651–706

    Article  Google Scholar 

  • Jiyang C, Osmar Z, Randy G (2009) Local community identification in social networks. In: 2009 international conference on advances in social network analysis and mining, pp 237–242. IEEE

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

    Article  Google Scholar 

  • Lee S, Huh J-H (2019) An effective security measures for nuclear power plant using big data analysis approach. J Supercomput 75(8):4267–4294

    Article  Google Scholar 

  • Liu S, Xia Z (2020) A two-stage bfs local community detection algorithm based on node transfer similarity and local clustering coefficient. Phys A Stat Mech Appl 537:4267–4294

    Article  Google Scholar 

  • Longju W, Tian B, Zhe W, Limei W, Yu H, Jinchao J (2013) A new community detection algorithm based on distance centrality. In: 2013 10th international conference on fuzzy systems and knowledge discovery (FSKD), pp 898–902. IEEE

  • Luo W, Zhang D, Jiang H, Ni L, Yamin H (2018) Local community detection with the dynamic membership function. IEEE Trans Fuzzy Syst 26(5):3136–3150

    Article  Google Scholar 

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

    Article  Google Scholar 

  • Reid A, Fan C, Kevin L (2006) Local graph partitioning using pagerank vectors. In: 2006 47th annual IEEE symposium on foundations of computer science (FOCS’06), pp 475–486. IEEE

  • Sahar B, Mohammad SG, Hovhannes AH (2020) A new metric to evaluate communities in social networks using geodesic distance. In: International conference on computational data and social networks, pp 202–216. Springer

  • Shao L, Xiao Y, Feng C(2019) Evaluating the eco-efficiency of China’s industrial sectors: a two-stage network data envelopment analysis. J Environ Manag 247:551–560

  • Van Laarhoven T, Marchiori E (2016) Local network community detection with continuous optimization of conductance and weighted kernel k-means. J Mach Learn Res 17(1):5148–5175

    MathSciNet  MATH  Google Scholar 

  • Vinh-Loc D, Cécile B, Philippe L (2018) Estimating the similarity of community detection methods based on cluster size distribution. In: International conference on complex networks and their applications, pp 183–194. Springer

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

    Article  Google Scholar 

  • Wenjian L, Daofu Z, Li N, Nannan L (2019) Multiscale local community detection in social networks. IEEE Trans Knowl Data Eng

  • Zhang Y, Bin W, Liu Yu, Lv J (2019) Local community detection based on network motifs. Tsinghua Sci Technol 24(6):716–727

    Article  Google Scholar 

  • Zhen-Qing Y, Zhang KH, Song-Nian YJ (2012) A new definition of modularity for community detection in complex networks. Chin Phys Lett 29(9):098901

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sahar Bakhtar.

Additional information

Publisher's Note

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

The results of Section 3 and most of the Sections 1 and 2 of this paper, are presented by (International Conference on Computational Data and Social Networks, pp. 202–216, Bakhtar et al. 2020). All results in Section 4 and all proofs in Section 3 are new and original results.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Bakhtar, S., Harutyunyan, H.A. A new metric to compare local community detection algorithms in social networks using geodesic distance. J Comb Optim 44, 2809–2831 (2022). https://doi.org/10.1007/s10878-021-00794-2

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10878-021-00794-2

Keywords

Navigation