Distributed Subgraph Detection

In the standard CONGEST model for distributed network computing, it is known that "global" tasks such as minimum spanning tree, diameter, and all-pairs shortest paths, consume large bandwidth, for their running-time is $\Omega(\mbox{poly}(n))$ rounds in $n$-node networks with constant diameter. Surprisingly, "local" tasks such as detecting the presence of a 4-cycle as a subgraph also requires $\widetilde{\Omega}(\sqrt{n})$ rounds, even using randomized algorithms, and the best known upper bound for detecting the presence of a 3-cycle is $\widetilde{O}(n^{\frac{2}{3}})$ rounds. The objective of this paper is to better understand the landscape of such subgraph detection tasks. We show that, in contrast to \emph{cycles}, which are hard to detect in the CONGEST model, there exists a deterministic algorithm for detecting the presence of a subgraph isomorphic to $T$ running in a \emph{constant} number of rounds, for every tree $T$. Our algorithm provides a distributed implementation of a combinatorial technique due to Erdős et al. for sparsening the set of partial solutions kept by the nodes at each round. Our result has important consequences to \emph{distributed property-testing}, i.e., to randomized algorithms whose aim is to distinguish between graphs satisfying a property, and graphs far from satisfying that property. In particular, we get that, for every graph pattern $H$ composed of an edge and a tree connected in an arbitrary manner, there exists a distributed testing algorithm for $H$-freeness, performing in a constant number of rounds. Although the class of graph patterns $H$ formed by a tree and an edge connected arbitrarily may look artificial, all previous results of the literature concerning testing $H$-freeness for classical patterns such as cycles and cliques can be viewed as direct consequences of our result, while our algorithm enables testing more complex patterns.

[1]  Noga Alon,et al.  A note on regular Ramsey graphs , 2008, J. Graph Theory.

[2]  Boaz Patt-Shamir,et al.  Distributed discovery of large near-cliques , 2011, Distributed Computing.

[3]  N. Alon,et al.  Testing triangle-freeness in general graphs , 2006, SODA 2006.

[4]  Eldar Fischer,et al.  Fast distributed algorithms for testing graph properties , 2016, Distributed Computing.

[5]  Ron Shamir,et al.  Faster subtree isomorphism , 1997, Proceedings of the Fifth Israeli Symposium on Theory of Computing and Systems.

[6]  Roger Wattenhofer,et al.  Networks cannot compute their diameter in sublinear time , 2012, SODA.

[7]  Keren Censor-Hillel,et al.  Near-Linear Lower Bounds for Distributed Distance Computations, Even in Sparse Networks , 2016, DISC.

[8]  Julian R. Ullmann,et al.  An Algorithm for Subgraph Isomorphism , 1976, J. ACM.

[9]  Taisuke Izumi,et al.  Filling Logarithmic Gaps in Distributed Complexity for Global Problems , 2015, SOFSEM.

[10]  E T. Leighton,et al.  Introduction to parallel algorithms and architectures , 1991 .

[11]  Fabian Kuhn,et al.  On the power of the congested clique model , 2014, PODC.

[12]  Boaz Patt-Shamir,et al.  Fast Partial Distance Estimation and Applications , 2014, PODC.

[13]  B. Monien How to Find Long Paths Efficiently , 1985 .

[14]  Shay Kutten,et al.  Fast Distributed Construction of Small k-Dominating Sets and Applications , 1998, J. Algorithms.

[15]  Georg Schnitger,et al.  Triangle-Freeness Is Hard To Detect , 2002, Comb. Probab. Comput..

[16]  David Eppstein,et al.  The Polyhedral Approach to the Maximum Planar Subgraph Problem: New Chances for Related Problems , 1994, GD.

[17]  Dana Ron,et al.  Property Testing in Bounded Degree Graphs , 2002, STOC '97.

[18]  Dana Ron,et al.  Finding cycles and trees in sublinear time , 2010, Random Struct. Algorithms.

[19]  Noga Alon,et al.  Efficient Testing of Large Graphs , 2000, 40th Annual Symposium on Foundations of Computer Science (Cat. No.99CB37039).

[20]  Ivan Rapaport,et al.  Distributed Testing of Excluded Subgraphs , 2016, DISC.

[21]  Vojtech Rödl,et al.  The asymptotic number of graphs not containing a fixed subgraph and a problem for hypergraphs having no exponent , 1986, Graphs Comb..

[22]  Noga Alon,et al.  Finding and counting given length cycles , 1997, Algorithmica.

[23]  Pierre Fraigniaud,et al.  Distributed Detection of Cycles , 2017, SPAA.

[24]  Christian Sohler,et al.  Counting triangles in data streams , 2006, PODS.

[25]  Judea Pearl,et al.  Fusion, Propagation, and Structuring in Belief Networks , 1986, Artif. Intell..

[26]  Roger Wattenhofer,et al.  Optimal distributed all pairs shortest paths and applications , 2012, PODC '12.

[27]  David Peleg,et al.  Distributed Computing: A Locality-Sensitive Approach , 1987 .

[28]  Danupon Nanongkai,et al.  Distributed approximation algorithms for weighted shortest paths , 2014, STOC.

[29]  Paul Erdös,et al.  On a Problem in Graph Theory , 1963, The Mathematical Gazette.

[30]  François Le Gall,et al.  Triangle Finding and Listing in CONGEST Networks , 2017, PODC.

[31]  Christoph Lenzen,et al.  Algebraic methods in the congested clique , 2015, Distributed Computing.

[32]  David Conlon,et al.  Graph removal lemmas , 2012, Surveys in Combinatorics.

[33]  Dana Ron,et al.  Property Testing in Bounded Degree Graphs , 1997, STOC.

[34]  Christoph Lenzen,et al.  "Tri, Tri Again": Finding Triangles and Small Subgraphs in a Distributed Setting - (Extended Abstract) , 2012, DISC.