Skip to main content
QUICK REVIEW

[Paper Review] Distributed Property Testing for Subgraph-Freeness Revisited

Orr Fischer, Tzlil Gonen|arXiv (Cornell University)|May 11, 2017
Complexity and Algorithms in GraphsComputer Science11 references4 citations
TL;DR

This paper revisits distributed property testing for subgraph-freeness in the CONGEST model, showing that $C_k$-freeness can be tested in $O(1/ heta)$ rounds for any cycle $C_k$, and triangle-freeness in $O(1)$ rounds when $ heta$ is not too small. It introduces a general class of graphs (excluding $K_5$) for which $H$-freeness is testable in $O(1/ heta)$ rounds, and provides a sublinear-round algorithm for $K_s$-freeness with explicit dependence on edge count and $ heta$. The work also establishes lower bounds showing inherent $ heta$-dependence for certain subgraphs.

ABSTRACT

In the subgraph-freeness problem, we are given a constant-size graph $H$, and wish to determine whether the network contains $H$ as a subgraph or not. The \emph{property-testing} relaxation of the problem only requires us to distinguish graphs that are $H$-free from graphs that are $ε$-far from $H$-free, meaning an $ε$-fraction of their edges must be removed to obtain an $H$-free graph. Recently, Censor-Hillel et. al. and Fraigniaud et al. showed that in the property-testing regime it is possible to test $H$-freeness for any graph $H$ of size 4 in constant time, $O(1/ε^2)$ rounds, regardless of the network size. However, Fraigniaud et. al. also showed that their techniques for graphs $H$ of size 4 cannot test $5$-cycle-freeness in constant time. In this paper we revisit the subgraph-freeness problem and show that $5$-cycle-freeness, and indeed $H$-freeness for many other graphs $H$ comprising more than 4 vertices, can be tested in constant time. We show that $C_k$-freeness can be tested in $O(1/ε)$ rounds for any cycle $C_k$, improving on the running time of $O(1/ε^2)$ of the previous algorithms for triangle-freeness and $C_4$-freeness. In the special case of triangles, we show that triangle-freeness can be solved in $O(1)$ rounds independently of $ε$, when $ε$ is not too small with respect to the number of nodes and edges. We also show that $T$-freeness for any constant-size tree $T$ can be tested in $O(1)$ rounds, even without the property-testing relaxation. Building on these results, we define a general class of graphs for which we can test subgraph-freeness in $O(1/ε)$ rounds. This class includes all graphs over 5 vertices except the 5-clique, $K_5$. For cliques $K_s$ over $s \geq 3$ nodes, we show that $K_s$-freeness can be tested in $O(m^{1/2-1/(s-2)}/ε^{1/2+1/(s-2)})$ rounds, where $m$ is the number of edges.

Motivation & Objective

  • To determine which subgraphs $H$ can be tested for freeness in constant time in the distributed CONGEST model.
  • To close the gap between known constant-time algorithms for small graphs ($|H| \leq 4$) and the impossibility of testing $C_5$-freeness in constant time under prior techniques.
  • To explore whether sublinear or constant-time algorithms exist for $H$-freeness without property-testing relaxation, especially for trees and cliques.
  • To establish tight bounds on round complexity for $H$-freeness, particularly for cycles and cliques, and to identify necessary dependencies on the distance parameter $\epsilon$.

Proposed method

  • Introduces a novel sampling-based protocol where each vertex independently samples itself with probability $1/n$, ensuring with constant probability that exactly one vertex is sampled per required role in a subgraph.
  • Uses a layered construction $BC(s,n)$ to simulate potential $s$-cliques or $s$-cycles, where vertices are grouped into $s$ color classes and edges are restricted to consecutive layers.
  • Employs a $j$-safe vertex definition: a vertex is $j$-safe if it has exactly one neighbor in each of the $s$ vertex sets except $V^j$, ensuring it belongs to $V^j$.
  • Applies a weighted priority BFS from $1$-safe vertices using random weights from $[1,n^4]$, enabling a single vertex to detect a full cycle or clique with high probability.
  • Amplifies success probability via repetition to achieve constant success probability in $O(n^{o(1)})$ rounds, leveraging the $1$-sided error property of the protocol.
  • Derives lower bounds showing that $\Omega(1/\sqrt{\epsilon})$ rounds are necessary for $C_k$-freeness when no global graph parameters are known.

Experimental results

Research questions

  • RQ1Can $C_k$-freeness be tested in $O(1/\epsilon)$ rounds for all $k$, improving over the $O(1/\epsilon^2)$ bound for $k=3,4$?
  • RQ2Is it possible to test $H$-freeness in constant time for graphs $H$ of size 5 other than $K_5$, and if so, under what structural conditions?
  • RQ3Can $H$-freeness be tested exactly (without property-testing relaxation) for certain $H$, such as trees or cliques, and in how many rounds?
  • RQ4What is the optimal round complexity for $K_s$-freeness, and how does it depend on $\epsilon$, $m$, and $n$?
  • RQ5Is there a lower bound that shows a necessary dependence on $\epsilon$ for testing $C_k$-freeness, even in the worst-case graph structure?

Key findings

  • For any cycle $C_k$, $C_k$-freeness can be tested in $O(1/\epsilon)$ rounds, improving the prior $O(1/\epsilon^2)$ bound for triangles and $C_4$.
  • Triangle-freeness can be tested in $O(1)$ rounds when $\epsilon \geq \min\{m^{-1/3}, n/m\}$, eliminating $\epsilon$-dependence under mild conditions on the graph.
  • For any constant-size tree $T$, $T$-freeness can be tested exactly (without relaxation) in $O(1)$ rounds, even in the directed CONGEST model.
  • A general class $\mathcal{H}$ of graphs (all $H$ on 5 vertices except $K_5$) admits $H$-freeness testing in $O(1/\epsilon)$ rounds, defined by the existence of an edge whose removal covers all cycles.
  • For $K_s$-freeness, the round complexity is $O(\epsilon^{-1/2 - 1/(s-2)} m^{1/2 - 1/(s-2)})$, which for $s=5$ and constant $\epsilon$ yields $O(m^{1/6})$ rounds.
  • A lower bound of $\Omega(1/\sqrt{\epsilon})$ rounds is required for $C_k$-freeness when no global graph parameters are available, showing inherent $\epsilon$-dependence is necessary.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.