Dynamic Community Detection Algorithm Based on Automatic Parameter Adjustment

  • Kai Lu
  • Xin WangEmail author
  • Xiaoping Wang
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10585)


Community detection is widely used in social network analysis. It clusters densely connected vertices into communities. As social networks get larger, scalable algorithms are drawing more attention. Among those methods, the algorithm named Attractor is quite outstanding both in terms of accuracy and scalability. However, it is highly dependent on the parameter, which is abstract for users. The improper parameter value can bring about some problems. There can be a huge community (monster) sometimes; other time the communities are generally too small (fragments). The existing fragments also need eliminating. Such phenomenon greatly deteriorates the performance of Attractor. We modify the algorithm and propose mAttractor, which adjusts the parameter automatically. We introduce two constraints to limit monsters and fragments and to narrow the parameter range. An optional parameter is also introduced. The proposed algorithm can choose to satisfy or ignore the optional parameter by judging whether it is reasonable. Our algorithm also eliminates the existing fragments. A delicate pruning is designed for fast determination. Experiments show that our mAttractor outperforms Attractor by 2%–270%.


Community detection Social network Data mining 



This work is partially supported by The National Key Research and Development Program of China (2016YFB0200401), by program for New Century Excellent Talents in University, by National Science Foundation (NSF) China 61402492, 61402486, 61379146, by the laboratory pre-research fund (9140C810106150C81001).


  1. 1.
    Adamic, L.A., Glance, N.: The political blogosphere and the 2004 US election: divided they blog. In: Proceedings of the 3rd International Workshop on Link Discovery, pp. 36–43. ACM (2005)Google Scholar
  2. 2.
    Cross, R., Parker, A., Christensen, C.M., Anthony, S.D., Roth, E.A.: The hidden power of social networks. J. Appl. Manag. Entrepreneurship 9 (2004)Google Scholar
  3. 3.
    De Nooy, W., Mrvar, A., Batagelj, V.: Exploratory Social Network Analysis with Pajek, vol. 27. Cambridge University Press, Cambridge (2011)CrossRefGoogle Scholar
  4. 4.
    Fortunato, S.: Community detection in graphs. Phys. Rep. 486(3), 75–174 (2010)MathSciNetCrossRefGoogle Scholar
  5. 5.
    Fortunato, S., Barthelemy, M.: Resolution limit in community detection. Proc. Nat. Acad. Sci. U.S.A. 104(1), 36–41 (2007)CrossRefGoogle Scholar
  6. 6.
    Gil-Mendieta, J., Schmidt, S.: The political network in Mexico. Soc. Netw. 18(4), 355–381 (1996)CrossRefGoogle Scholar
  7. 7.
    Girvan, M., Newman, M.E.J.: Community structure in social and biological networks. Proc. Nat. Acad. Sci. U.S.A. 99(12), 7821–7826 (2002)MathSciNetCrossRefzbMATHGoogle Scholar
  8. 8.
    Gleiser, P.M., Danon, L.: Community structure in jazz. Adv. Complex Syst. 6(04), 565–573 (2003)CrossRefGoogle Scholar
  9. 9.
    Guimera, R., Danon, L., Diaz-Guilera, A., Giralt, F., Arenas, A.: Self-similar community structure in a network of human interactions. Phys. Rev. E 68(6), 065103 (2003)CrossRefGoogle Scholar
  10. 10.
    Hubert, L., Arabie, P.: Comparing partitions. J. Classif. 2(1), 193–218 (1985)CrossRefzbMATHGoogle Scholar
  11. 11.
    Knuth, D.E.: The Stanford GraphBase: A Platform for Combinatorial Computing, vol. 37. Addison-Wesley, Reading (1993)zbMATHGoogle Scholar
  12. 12.
    Lancichinetti, A., Fortunato, S.: Benchmarks for testing community detection algorithms on directed and weighted graphs with overlapping communities. Phys. Rev. E Stat. Nonlinear Soft Matter Phys. 80(1), 016118 (2009)CrossRefGoogle Scholar
  13. 13.
    Lancichinetti, A., Fortunato, S., Radicchi, F.: Benchmark graphs for testing community detection algorithms. Phys. Rev. E Stat. Nonlinear Soft Matter Phys. 78(4), 046110 (2008)CrossRefGoogle Scholar
  14. 14.
    Leskovec, J., Kleinberg, J., Faloutsos, C.: Graph evolution: densification and shrinking diameters. ACM Trans. Knowl. Discov. Data (TKDD) 1(1), 2 (2007)CrossRefGoogle Scholar
  15. 15.
    Leung, I.X.Y., Hui, P., Lio, P., Crowcroft, J.: Towards real-time community detection in large networks. Phys. Rev. E Stat. Nonlinear Soft Matter Phys. 79(6), 066107 (2009)CrossRefGoogle Scholar
  16. 16.
    Lusseau, D., Schneider, K., Boisseau, O.J., Haase, P., Slooten, E., Dawson, S.M.: The bottlenose dolphin community of doubtful sound features a large proportion of long-lasting associations. Behav. Ecol. Sociobiol. 54(4), 396–405 (2003)CrossRefGoogle Scholar
  17. 17.
    Mislove, A., Marcon, M., Gummadi, K.P., Druschel, P., Bhattacharjee, B.: Measurement and analysis of online social networks. In: Proceedings of the 7th ACM SIGCOMM Conference on Internet Measurement, pp. 29–42. ACM (2007)Google Scholar
  18. 18.
    Newman, M.E.J.: Modularity and community structure in networks. Proc. Nat. Acad. Sci. U.S.A. 103(23), 8577–8582 (2006)CrossRefGoogle Scholar
  19. 19.
    Porter, M.A., Onnela, J.P., Mucha, P.J.: Communities in networks. Not. Am. Math. Soc. 56(9), 4294–4303 (2009)MathSciNetzbMATHGoogle Scholar
  20. 20.
    Raghavan, U.N., Albert, R., Kumara, S.: Near linear time algorithm to detect community structures in large-scale networks. Phys. Rev. E Stat. Nonlinear Soft Matter Phys. 76(3), 036106 (2007)CrossRefGoogle Scholar
  21. 21.
    Rand, W.M.: Objective criteria for the evaluation of clustering methods. J. Am. Stat. Assoc. 66(336), 846–850 (1971)CrossRefGoogle Scholar
  22. 22.
    Shao, J., Han, Z., Yang, Q., Zhou, T.: Community detection based on distance dynamics. In: Proceedings of the 21st ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1075–1084. ACM (2015)Google Scholar
  23. 23.
    Shi, J., Malik, J.: Normalized cuts and image segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 22(8), 888–905 (2000)CrossRefGoogle Scholar
  24. 24.
    Van Dongen, S.M.: Graph clustering by flow simulation. Ph.D. thesis, University of Utrecht (2001)Google Scholar
  25. 25.
    Zachary, W.W.: An information flow model for conflict and fission in small groups. J. Anthropol. Res. 33(4), 452–473 (1977)CrossRefGoogle Scholar
  26. 26.
    Zhang, X.-K., Fei, S., Song, C., Tian, X., Ao, Y.-Y.: Label propagation algorithm based on local cycles for community detection. Int. J. Mod. Phys. B 29(05), 1550029 (2015)MathSciNetCrossRefGoogle Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  1. 1.College of Computer ScienceNational University of Defense TechnologyChangshaPeople’s Republic of China
  2. 2.Science and Technology on Parallel and Distributed Processing LaboratoryNational University of Defense TechnologyChangshaPeople’s Republic of China

Personalised recommendations