Random Graph Generators for Hyperbolic Community Structures

  • Saskia MetzlerEmail author
  • Pauli Miettinen
Conference paper
Part of the Studies in Computational Intelligence book series (SCI, volume 812)


Proper testing of graph mining algorithms, for example, algorithms for community detection, requires the capability of creating realistic random graphs. As our understanding of real graph communities evolves, so should the random graph generators evolve, too. In this work, we propose a random graph generator called HyGen that, unlike the existing random graph generators, is designed to preserve the community structure of real networks, especially the commonly observed hyperbolic intra-community connectivity structure. The generated graphs will also preserve the total degree distributions and clustering coefficients of the original graph without introducing too much determinism. In addition, we also propose realistic distributions for the parameters controlling the hyperbolic shape of the communities.


Random graphs Graph generators Community detection Hyperbolic community structure 


  1. 1.
    Aggarwal, C.C., Wang, H. (eds.): Managing and Mining Graph Data. Springer, New York (2010)Google Scholar
  2. 2.
    Alba, R.D., Moore, G.: Elite social circles. Sociol. Methods Res. 7(2), 167–188 (1978)Google Scholar
  3. 3.
    Albert, R., Barabási, A.L.: Statistical mechanics of complex networks. Rev. Mod. Phys. 74, 47–97 (2002)Google Scholar
  4. 4.
    Araujo, M., Günnemann, S., Mateos, G., Faloutsos, C.: Beyond blocks: hyperbolic community detection. In: ECMLPKDD ’14, pp. 50–65 (2014)Google Scholar
  5. 5.
    Borgatti, S.P., Everett, M.G.: Models of core/periphery structures. Soc. Netw. 21, 375–395 (1999)Google Scholar
  6. 6.
    Chakrabarti, D., Zhan, Y., Faloutsos, C.: R-MAT: a recursive model for graph mining. In: SDM ’04, pp. 442–446 (2004)Google Scholar
  7. 7.
    Cover, T.M., Thomas, J.A.: Elements of Information Theory. Wiley, Hoboken, NJ (2006)Google Scholar
  8. 8.
    Erdős, P., Rényi, A.: On random graphs I. Publ. Math. Debrecen 6, 290 (1959)Google Scholar
  9. 9.
    Girvan, M., Newman, M.E.J.: Community structure in social and biological networks. Proc. Natl. Acad. Sci. 99(12), 7821–7826 (2002)Google Scholar
  10. 10.
    Holland, P., Laskey, K., Leinhardt, S.: Stochastic blockmodels: first steps. Soc. Netw. 5(2), 109–137 (1983)Google Scholar
  11. 11.
    Karrer, B., Newman, M.E.J.: Stochastic blockmodels and community structure in networks. Phys. Rev. E 83, 016,107 (2011)Google Scholar
  12. 12.
    Knuth, D.E.: The Art of Computer Programming. Seminumerical Algorithms, vol. 2, 2nd edn. Addison-Wesley, Reading, MA (1981)Google Scholar
  13. 13.
    Krioukov, D., Papadopoulos, F., Kitsak, M., Vahdat, A., Boguñá, M.: Hyperbolic geometry of complex networks. Phys. Rev. E 82, 036,106 (2010)Google Scholar
  14. 14.
    Lancichinetti, A., Fortunato, S., Radicchi, F.: Benchmark graphs for testing community detection algorithms. Phys. Rev. E 78(4), 046,110 (2008)Google Scholar
  15. 15.
    Leskovec, J., Chakrabarti, D., Kleinberg, J., Faloutsos, C., Ghahramani, Z.: Kronecker graphs: an approach to modeling networks. J. Mach. Learn. Res. 11, 985–1042 (2010)Google Scholar
  16. 16.
    Leskovec, J., Kleinberg, J., Faloutsos, C.: Graphs over time: densification laws, shrinking diameters and possible explanations. In: KDD ’05, pp. 177–187 (2005)Google Scholar
  17. 17.
    Leskovec, J., Krevl, A.: SNAP datasets: Stanford large network dataset collection (2014). Accessed 11 Feb 2016
  18. 18.
    Metzler, S., Günnemann, S., Miettinen, P.: Hyperbolae are no hyperbole: modelling communities that are not cliques. In: ICDM ’16, pp. 330–339 (2016)Google Scholar
  19. 19.
    Morgan, D.L., Neal, M.B., Carder, P.: The stability of core and peripheral networks over time. Soc. Netw. 19(1), 9–25 (1997)Google Scholar
  20. 20.
    Orbanz, P., Roy, D.M.: Bayesian models of graphs, arrays and other exchangeable random structures. IEEE Trans. Pattern. Anal. 37(2), 437–461 (2015)Google Scholar
  21. 21.
    Panzarasa, P., Opsahl, T., Carley, K.M.: Patterns and dynamics of users’ behavior and interaction: network analysis of an online community. J. Am. Soc. Inf. Sci. Technol. 60(5), 911–932 (2009)Google Scholar
  22. 22.
    Park, H., Kim, M.S.: EvoGraph: an effective and efficient graph upscaling method for preserving graph properties. In: KDD ’18, pp. 2051–2059 (2018)Google Scholar
  23. 23.
    Reed, P.B., Selbee, L.K.: The civil core in disproportionality in charitable giving, volunteering, civic participation. Nonprofit Volunt. Sect. Q. 30(4), 761–780 (2001)Google Scholar
  24. 24.
    Watts, D.J., Strogatz, S.H.: Collective dynamics of ‘small-world’ networks. Nature 393(6684), 440–442 (1998)Google Scholar
  25. 25.
    Zhang, J.W., Tay, Y.C.: GSCALER: synthetically scaling a given graph. In: EDBT’16, pp. 53–64 (2016)Google Scholar
  26. 26.
    Zhu, Y., Yan, X., Moore, C.: Oriented and degree-generated block models: generating and inferring communities with inhomogeneous degree distributions. J. Complex Netw. 2(1), 1–18 (2014)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.Max Planck Institute for InformaticsSaarbrückenGermany
  2. 2.University of Eastern FinlandKuopioFinland

Personalised recommendations