Scalable subgraph enumeration in MapReduce
Open Access
- 1 June 2015
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 8 (10) , 974-985
Abstract
Subgraph enumeration, which aims to find all the subgraphs of a large data graph that are isomorphic to a given pattern graph, is a fundamental graph problem with a wide range of applications. However, existing sequential algorithms for subgraph enumeration fall short in handling large graphs due to the involvement of computationally intensive subgraph isomorphism operations. Thus, some recent researches focus on solving the problem using MapReduce. Nevertheless, exiting MapReduce approaches are not scalable to handle very large graphs since they either produce a huge number of partial results or consume a large amount of memory. Motivated by this, in this paper, we propose a new algorithm TwinTwigJoin based on a left-deep-join framework in MapReduce, in which the basic join unit is a TwinTwig (an edge or two incident edges of a node). We show that in the Erdös-Rényi random-graph model, TwinTwigJoin is instance optimal in the left-deep-join framework under reasonable assumptions, and we devise an algorithm to compute the optimal join plan. Three optimization strategies are explored to improve our algorithm. Furthermore, we discuss how our approach can be adapted in the power-law random-graph model. We conduct extensive performance studies in several real graphs, one of which contains billions of edges. Our approach significantly outperforms existing solutions in all tests.Keywords
This publication has 29 references indexed in Scilit:
- Inexact subgraph isomorphism in MapReduceJournal of Parallel and Distributed Computing, 2013
- On graph query optimization in large networksProceedings of the VLDB Endowment, 2010
- Graph pattern matchingProceedings of the VLDB Endowment, 2010
- Power-Law Distributions in Empirical DataSIAM Review, 2009
- Biomolecular network motif counting and discovery by color codingBioinformatics, 2008
- Biological network comparison using graphlet degree distributionBioinformatics, 2007
- Patterns of Influence in a Recommendation Network2006
- Random Graphs1998
- Arboricity and Subgraph Listing AlgorithmsSIAM Journal on Computing, 1985
- Space/time trade-offs in hash coding with allowable errorsCommunications of the ACM, 1970