11
11

Distributed Subgraph Detection

Abstract

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 Ω(\mboxpoly(n))\Omega(\mbox{poly}(n)) rounds in nn-node networks with constant diameter. Surprisingly, "local" tasks such as detecting the presence of a 4-cycle as a subgraph also requires Ω~(n)\widetilde{\Omega}(\sqrt{n}) rounds, even using randomized algorithms, and the best known upper bound for detecting the presence of a 3-cycle is O~(n23)\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 TT running in a \emph{constant} number of rounds, for every tree TT. Our algorithm provides a distributed implementation of a combinatorial technique due to Erd\H{o}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 HH composed of an edge and a tree connected in an arbitrary manner, there exists a distributed testing algorithm for HH-freeness, performing in a constant number of rounds. Although the class of graph patterns HH formed by a tree and an edge connected arbitrarily may look artificial, all previous results of the literature concerning testing HH-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.

View on arXiv
Comments on this paper