Abstract
The subgraph counting problem is the problem of counting the number of occurrences of graph patterns in the target graph and is widely used as a fundamental technique for network analyses in different domains. The computational cost of subgraph counting grows drastically as the size of the pattern increases; it takes much time even with the state-of-the-art algorithms when counting 5-vertex patterns. To this problem, this paper proposes a subgraph counting method using GPUs. More precisely, we employ one of the state-of-the-art algorithms for 5-vertex subgraph counting and extend it so that counting is executed in parallel using massive threads. We conducted experiments for evaluating the performance of our proposed method by using real-world datasets, and the results demonstrate that our proposed method is about 4x to 10x and about 3\(\times \) to 5\(\times \) times faster than the original method in computing 5-vertex and 4-vertex subgraphs, respectively.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
We have slightly changed the definition from the original one in the ESCAPE paper to maintain the consistency of the theorem.
References
Openacc-standard.org. https://www.openacc.org/sites/default/files/inline-images/Specification/OpenACC.3.0.pdf
Ahmed, N.K., Neville, J., Rossi, R.A., Duffield, N.: Efficient graphlet counting for large networks. In: 2015 IEEE International Conference on Data Mining, pp. 1–10. IEEE (2015)
Bhuiyan, M.A., Rahman, M., Rahman, M., Al Hasan, M.: Guise: uniform sampling of graphlets for large graph analysis. In: 2012 IEEE 12th International Conference on Data Mining, pp. 91–100. IEEE (2012)
Chiba, N., Nishizeki, T.: Arboricity and subgraph listing algorithms. SIAM J. Comput. 14(1), 210–223 (1985)
Choobdar, S., Ribeiro, P., Bugla, S., Silva, F.: Comparison of co-authorship networks across scientific fields using motifs. In: 2012 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining, pp. 147–152. IEEE (2012)
Durak, N., Pinar, A., Kolda, T.G., Seshadhri, C.: Degree relations of triangles in real-world networks and graph models. In: Proceedings of the 21st ACM International Conference on Information and Knowledge Management, pp. 1712–1716 (2012)
Elenberg, E.R., Shanmugam, K., Borokhovich, M., Dimakis, A.G.: Distributed estimation of graph 4-profiles. In: Proceedings of the 25th International Conference on World Wide Web, pp. 483–493 (2016)
Ho č evar, T.ž., Dem š ar, J.: A combinatorial approach to graphlet counting. Bioinformatics 30(4), 559–565 (2014)
Hayes, W., Sun, K., Pr ž ulj, N.š.a.: Graphlet-based measures are suitable for biological network comparison. Bioinformatics 29(4), 483–491 (2013)
Jha, M., Seshadhri, C., Pinar, A.: Path sampling: a fast and provable method for estimating 4-vertex subgraph counts. In: Proceedings of the 24th International Conference on World Wide Web, pp. 495–505 (2015)
Leskovec, J., Krevl, A.: SNAP Datasets : Stanford large network dataset collection. http://snap.stanford.edu/data June 2014
Marcus, D., Shavitt, Y.: Rage-a rapid graphlet enumerator for large networks. Comput. Netw. 56(2), 810–819 (2012)
Ortmann, Mark, Brandes, Ulrik: Quad census computation: simple, efficient, and orbit-aware. In: Wierzbicki, Adam, Brandes, Ulrik, Schweitzer, Frank, Pedreschi, Dino (eds.) NetSci-X 2016. LNCS, vol. 9564, pp. 1–13. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-28361-6_1
Pinar, A., Seshadhri, C., Vishal, V.: Escape: efficiently counting all 5-vertex subgraphs. In: Proceedings of the 26th International Conference on World Wide Web, pp. 1431–1440. International World Wide Web Conferences Steering Committee (2017)
Rahman, M., Bhuiyan, M., Hasan, M.A.: Graft: an approximate graphlet counting algorithm for large graph analysis. In: Proceedings of the 21st ACM International Conference on Information and Knowledge Management, pp. 1467–1471 (2012)
Rahman, M., Bhuiyan, M.A., Al Hasan, M.: Graft: an efficient graphlet counting method for large graph analysis. IEEE Trans. Knowl. Data Eng. 26(10), 2466–2478 (2014)
Ribeiro, P., Paredes, P., Silva, M.E., Aparicio, D., Silva, F.: A survey on subgraph counting: concepts, algorithms and applications to network motifs and graphlets. arXiv preprint arXiv:1910.13011 (2019)
Rossi, R.A., Ahmed, N.K.: The network data repository with interactive graph analytics and visualization. In: AAAI (2015). http://networkrepository.com
Rossi, R.A., Zhou, R.: Leveraging multiple GPUS and CPUS for graphlet counting in large networks. In: Proceedings of the 25th ACM International on Conference on Information and Knowledge Management, pp. 1783–1792. ACM (2016)
Rupp, M., Schneider, G.: Graph kernels for molecular similarity. Molecular Inform. 29(4), 266–273 (2010)
Schank, Thomas, Wagner, Dorothea: Finding, counting and listing all triangles in large graphs, an experimental study. In: Nikoletseas, Sotiris E. (ed.) WEA 2005. LNCS, vol. 3503, pp. 606–609. Springer, Heidelberg (2005). https://doi.org/10.1007/11427186_54
Shizuka, D., McDonald, D.B.: A social network perspective on measurements of dominance hierarchies. Animal Behav. 83(4), 925–934 (2012)
Sporns, O., Kötter, R.: Motifs in brain networks. PLoS Biology 2(11) 56–62 (2004)
Tsourakakis, C.E., Pachocki, J., Mitzenmacher, M.: Scalable motif-aware graph clustering. In: Proceedings of the 26th International Conference on World Wide Web, pp. 1451–1460 (2017)
Wang, P., Zhao, J., Zhang, X., Li, Z., Cheng, J., Lui, J.C., Towsley, D., Tao, J., Guan, X.: Moss-5: a fast method of approximating counts of 5-node graphlets in large graphs. IEEE Trans. Knowl. Data Eng. 30(1), 73–86 (2017)
Acknowledgement
We thank to Prof. Hiroaki Shiokawa and Prof. Ryohei Kobayashi at the Center for Computational Sciences, University of Tsukuba for their useful discussions and support. This research was supported (in part) by Multidisciplinary Cooperative Research Program in CCS, University of Tsukuba.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Appendices
Appendix
A Counting Other Subgraphs
For other subgraphs, we can use simple formulas as described below. We can easily parallelize them.
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Suganami, S., Amagasa, T., Kitagawa, H. (2020). Accelerating All 5-Vertex Subgraphs Counting Using GPUs. In: Hartmann, S., Küng, J., Kotsis, G., Tjoa, A.M., Khalil, I. (eds) Database and Expert Systems Applications. DEXA 2020. Lecture Notes in Computer Science(), vol 12391. Springer, Cham. https://doi.org/10.1007/978-3-030-59003-1_4
Download citation
DOI: https://doi.org/10.1007/978-3-030-59003-1_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-59002-4
Online ISBN: 978-3-030-59003-1
eBook Packages: Computer ScienceComputer Science (R0)