Enumerating Subgraph Instances Using Map-Reduce
Preprint
Abstract
The theme of this paper is how to find all instances of a given "sample" graph in a larger "data graph," using a single round of map-reduce. For the simplest sample graph, the triangle, we improve upon the best known such algorithm. We then examine the general case, considering both the communication cost between mappers and reducers and the total computation cost at the reducers. To minimize communication cost, we exploit the techniques of (Afrati and Ullman, TKDE 2011)for computing multiway joins (evaluating conjunctive queries) in a single map-reduce round. Several methods are shown for translating sample graphs into a union of conjunctive queries with as few queries as possible. We also address the matter of optimizing computation cost. Many serial algorithms are shown to be "convertible," in the sense that it is possible to partition the data graph, explore each partition in a separate reducer, and have the total computation cost at the reducers be of the same order as the computation cost of the serial algorithm.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- Enumerating subgraph instances using map-reduce2013
- Colorful triangle counting and a MapReduce implementationInformation Processing Letters, 2012
- Counting and detecting small subgraphs via equations and matrix multiplication2011
- Subgraph Enumeration in Large Social Contact Networks Using Parallel Color Coding and Streaming2010
- COSI: Cloud Oriented Subgraph Identification in Massive Social Networks2010
- Graph Twiddling in a MapReduce WorldComputing in Science & Engineering, 2009
- Size Bounds and Query Plans for Relational Joins2008
- Biomolecular network motif counting and discovery by color codingBioinformatics, 2008
- Some results on the containment and minimization of (in) equality queriesInformation Processing Letters, 1994
- Asymmetric graphsActa Mathematica Hungarica, 1963