betaFeedback

WorksComputer Science

Deterministic Distributed Graph Connectivity Sketching: Beating the Naive Sketch

Abstract

In the distributed graph sketching model, each vertex in the graph is considered as a separate processor. Each vertex is given access to its neighbourhood, and is then responsible for composing a message to a central referee, with the goal being minimising the length of these messages. Classic problems in this model include computing spanning forests, connected components and connectivity of the full graph. In the case where the vertices have to act deterministically, it has long been suspected that the correct upper-bound for computing spanning forests, connected components or connectivity would be the naive method of reporting every edge, which can be done with per-vertex message length of ⌊n/2⌋\lfloor n/2\rfloor bits. In this paper we show that this is not true for connected components and connectivity, by presenting a protocol that only requires n/3+3log⁡2nn/3 +3\log_{2}n bits per vertex for n≥13n\geq 13. We also show that in this setting connected components and connectivity are closely related in the required message length of the vertices. Letting Ccc(n)C_{cc}(n) be the minimum required message length in bits per vertex to compute the connected components in a graph with nn vertices and letting Cconn(n)C_{conn}(n) be the minimum message length to compute if the graph is connected, we show that Ccc(n)≤Cconn(2n)C_{cc}(n) \le C_{conn}(2n) with a multiplicative blow-up in the error probability of (n−1)2(n-1)^2.

Introduction

Graph sketching asks how much information about a graph must be retained in order to recover a prescribed global property. We study the distributed graph-sketching model, closely related to the linear graph-sketching framework of Ahn, Guha, and McGregor [1, 2]. The input is a simple undirected graph G=(V,E)G=(V,E). Each vertex vv is viewed as a separate player that knows only its own neighbourhood NG(v)N_G(v). Without communicating with the other vertices, every player sends a single message to a central referee, and the referee must compute the desired property of GG from the labelled collection of messages. The cost of a protocol is the maximum message length, measured in bits, over all vertices and all possible local inputs. Equivalently, this is a simultaneous-message protocol specialised to graph inputs; it is also closely connected to one-round algorithms in the broadcast congested clique [9, 7].

Our focus is connectivity. More precisely, we ask the referee to recover the partition of VV into the connected components of GG. This task is stronger than merely deciding whether GG is connected, but weaker than outputting a spanning forest. It is a natural test case for local sketching: connectivity is determined by the interaction of edges throughout the graph, while no individual vertex likely has enough information to certify the global answer.

The amount of randomness available to the players has a decisive effect on the known bounds. With shared public randomness, the AGM framework gives sketches of O(log⁡3n)O(\log^{3} n) bits per vertex from which the referee can recover a spanning forest with high probability [1]. With only private randomness, Holm, King, Thorup, Zamir, and Zwick obtain an O(nlog⁡n)O(\sqrt{n}\log n)-bit protocol [4]. We instead study exact deterministic protocols, in which all encoding maps and the referee are fixed in advance.

A simple deterministic protocol uses ⌊n/2⌋\lfloor n/2\rfloor bits per vertex. Fix a near-regular orientation of the complete graph on VV, known to every player and to the referee, and assign each potential edge to its tail. Vertex vv reports one bit for every potential edge assigned to it, indicating whether that edge is present in GG. Since the orientation has maximum out-degree ⌊n/2⌋\lfloor n/2\rfloor, the referee reconstructs the entire graph within this message bound. In [4] the authors observed that this is the best known deterministic bound for producing a spanning forest and asked whether it is optimal.

Our main result shows that the n/2n/2 barrier is not inherent for connectivity or connected-component recovery. For n≥13n\geq13, we give an exact deterministic sketch using at most n/3+3log⁡nn/3+3\log n bits per vertex. The construction decomposes the complete graph into carefully balanced copies of K3,kK_{3,k}. Each such bipartite piece admits a component sketch that is shorter than its raw incidence vector, and the local sketches over all pieces can be concatenated without exceeding the stated budget. The referee first recovers the connected components inside every piece and then takes the transitive closure of these local component relations to obtain the components of the full graph.

This result does not settle the deterministic spanning-forest question, since recovering a component partition need not identify any actual forest edges. It does, however, separate that question from the weaker connectivity tasks and improves the deterministic upper bound for both connectivity and connected-component recovery by a constant factor. We also show that deciding connectivity and recovering all connected components are equivalent up to replacing an nn-vertex instance by a 2n2n-vertex instance and worsening the error probability. Thus, at the level of communication complexity, the decision and component-recovery versions are much closer than their output requirements might initially suggest.

Our Results and Technical Overview

We begin by isolating a simple principle that lets us reconstruct global connectivity from connectivity information on a family of smaller subgraphs. Let KVK_V denote the complete graph on a vertex set VV, and let ω:E(KV)→{0,1}\omega: E(K_V) \to\{0,1\} specify which potential edges are present. For F⊆E(KV)F \subseteq E(K_V), write

Fω=1={e∈F:ω(e)=1}.F^{\omega=1} = \{e \in F : \omega(e) = 1\}.

Lemma 1. Given a complete graph G=(V,E,ω)G = (V,E,\omega) and a covering of the edges E=E1∪⋯∪EnE = E_1 \cup\cdots\cup E_n, then given the connected components of Gi=(V,Eiω=1)G_i = (V,E_i^{\omega=1}) for each 1≤i≤n1 \le i \le n there exists an algorithm computing the connected components of G=(V,Eω=1)G = (V,E^{\omega=1}).

Proof. Follows from transitivity of connectivity.

From this, the general goal is to find some decomposition into graphs that are easier to handle than the complete graph of nn vertices. Our choice of graph is the complete bipartite graph K3,tK_{3,t} of 3 vertices on the left side and tt vertices on the right.

Lemma 2. Let (L⊎R,E,ω)(L \uplus R,E,\omega) be a complete bipartite graph where ω\omega labels each of the edges either 0 or 1, with ∣L∣=3|L| = 3 and ∣R∣=k|R| = k. Then there exist collections of maps mvL:2R→[k+1]m_v^L : 2^R \to[k+1] for each v∈Lv \in L and mvR:2L→[4]m_v^R : 2^L \to[4] for each v∈Rv \in R, and an algorithm A\mathcal{A} such that, given (v,mv(Nω=1(v)))(v,m_v(N^{\omega=1}(v))) for each vertex vv, A\mathcal{A} computes the connected components of (L⊎R,Eω=1)(L \uplus R,E^{\omega=1}), where mvm_v denotes the appropriate map for v∈L⊎Rv \in L \uplus R among mvLm_v^L and mvRm_v^R.

Using this protocol, vertices on the left will have to transmit ⌈lg⁡(k+1)⌉\lceil\lg(k+1)\rceil bits, while vertices on the right will only have to transmit 2 bits. Thus, the vertices on the right will save a bit each compared to reporting all 3 incident edges. This is what leads to the improvement in our protocol. The second ingredient is a balanced decomposition of a complete graph into such bipartite subgraphs.

Lemma 3. Let s,ts,t be positive integers, and let G=(V,E)G = (V,E) be the complete graph on 2st+12st+1 vertices. Then EE admits a partition into copies of Ks,tK_{s,t}, say with parts (Li,Ri)(L_i,R_i), such that every vertex occurs in exactly ss left parts and exactly tt right parts.

Taking s=3s = 3 and t=kt = k means that we are able to apply Lemma 2, thus giving that each vertex occurs 3 times on the left, which contributes ⌈3lg⁡(k+1)⌉\lceil3 \lg(k+1)\rceil bits, while occurring kk times on the right, contributing 2k2k bits. The graph we apply this theorem to will have 6k+16k+1 vertices, which 2k2k is roughly 1/3 of.

Theorem 4. Given a graph G=(V,E)G = (V,E) with ∣V∣=n|V| = n, there exists a collection of maps rv:2V→{0,1}tr_v : 2^V \to\{0,1\}^t for n≥13n \ge13 with t=n3+3lg⁡nt = \frac{n}{3} + 3 \lg n such that given {(v,rv(N(v)))}v∈V\{(v,r_v(N(v)))\}_{v \in V} one can uniquely determine the connected components of GG.

Proof. Let k=⌊n−16⌋k = \left\lfloor\frac{n-1}{6}\right\rfloor and n′=6k+1n' = 6k+1. First, apply Lemma 3 on Kn′K_{n'} with s=3s = 3 and t=kt = k. This gives a partition of the edges into (Li⊎Ri,Ei)i(L_i \uplus R_i,E_i)_i with ∣Li∣=3|L_i| = 3 and ∣Ri∣=k|R_i| = k, such that each vertex occurs 3 times as a vertex in some LiL_i and kk times as a vertex in some RiR_i. Now for each vertex v∈Vv \in V, we identify it with some vertex from Kn′K_{n'}. Then, let ω(e)=[e∈E]\omega(e) = [e \in E] and apply Lemma 2 on each of the edge partitions. Finally, let rvr_v for some vertex vv be the combined output of each mvm_v from the partitions of (Li⊎Ri,Ei)(L_i \uplus R_i, E_i). Since vv participates three times in LiL_i’s and kk times in RiR_i’s, we observe by Lemma 2 that the total length of the concatenation of messages is

⌈3lg⁡(k+1)⌉+2k≤n3+3lg⁡n\lceil3\lg(k+1)\rceil+ 2k \le\frac{n}{3} + 3\lg n

for n≥13n \ge13. One thing to note in this calculation is that to get the 3 on the left side inside the ceiling function, we encode the degrees together. There are then (k+1)3(k+1)^3 different possible degree triples, which requires 3lg⁡(k+1)3\lg(k+1) bits to encode, resulting in the presented expression. For all vertices of Kn′K_{n'} that were not identified with any vertices of GG, we know all of them are singletons, and so their messages can be easily simulated by the algorithm. Finally, applying Lemma 1 gives the connected components of GG.

The theorem is primarily of interest because it shows that for computing either connected components or connectivity of a graph, it is possible to have a protocol that performs better than the naive one, which was previously suspected could be optimal. The authors of [4] ask if the naive protocol for producing spanning forest is optimal, and at least for producing connected components, this shows it is not.

As an interesting note, while previous protocols generally have solved spanning forest which gives connected components and connectivity [1, 2, 4], we only solve the problem of connected components. In fact, it is in general not possible to extract a spanning forest from the messages that are transmitted in our protocol.

Finally, we also show that the question of determining the connected components in a graph indeed is equivalent up to a factor 2 in the size of the graph, with a polynomial blow-up in the error rate:

Theorem 5. Let SS be a randomized neighbourhood-sketching scheme for connectivity. Suppose that, on every graph of NN vertices, each vertex sends a sketch of at most t(N)t(N) bits and the referee decides connectivity with error probability at most δ(N)\delta(N).

Then there is a randomized neighbourhood-sketching scheme that, on every nn-vertex graph, outputs its connected components using sketches of length at most t(2n)t(2n) and with error probability at most

(n−1)2δ(2n).(n-1)^2\delta(2n).

In particular, connectivity sketches with error probability of at most N−(c+2)N^{-(c+2)} yield connected-component sketches with error probability of at most n−cn^{-c}.

Another way to frame this result is that if we let Ccc(n)C_{cc}(n) denote the minimum message length required per vertex to compute the connected components of graphs with nn vertices and let Cconn(n)C_{\mathrm{conn}}(n) be the minimum message length required to compute whether the graph is connected, then Ccc(n)≤Cconn(2n)C_{cc}(n) \le C_{\mathrm{conn}}(2n) with a multiplicative blow-up in the error probability of (n−1)2(n-1)^2.

The proof of this statement is shown by having the vertices of the graph compose messages as if the graph has double size, and each vertex is connected to some mirror vertex, that doesn’t exist in the original graph. The referee can then connect the mirror vertices as they want and simulate the resulting messages, and then query the connectivity algorithm on these messages.

Related Work

Public Randomness. As mentioned previously, graph sketching has been studied in various settings related to randomness. In the setting where all vertices have access to shared randomness, the framework by Ahn, Guha, and McGregor [1, 2] allow each vertex to send messages of length at most O(log⁡3n)O(\log^3 n) bits per vertex for the purpose of computing a spanning forest. Their sketch however only works in the case that the vertices need to have access to a shared source of randomness. This is due to the fact that they employ coordinated sampling of edges, which need to match between vertices.

Later Nelson and Yu [6] showed that this was tight for computing spanning forests, requiring Ω(log⁡3n)\Omega(\log^3 n) bits on average per vertex. This was subsequently strengthened by Yu [9] to show that this lower bound even holds for the problem of determining if the graph is connected. Both of these results rely only on public randomness, and as such it remains open if restricting to private randomness or deterministic protocols could strengthen the lower bounds.

Private Randomness. The reliance on public randomness was subsequently removed in exchange for significantly larger message sizes by Holm, King, Thorup, Zamir, and Zwick [4]. They showed that by having each vertex sample O(n)O(\sqrt{n}) neighbours independently of each other, and report these, only O(n)O(\sqrt{n}) edges remain between the connected components induced by the reported edges. The remaining edges could then be determined using error-correcting coding related techniques.

Deterministic protocols and lower bounds. The straightforward deterministic protocol fixes a balanced orientation of KnK_n and has each vertex report the presence or absence of the potential edges assigned to it, using at most ⌊n/2⌋\lfloor n/2\rfloor bits per vertex. The authors of [4] noted that no better deterministic protocol was known for producing a spanning forest and asked whether this bound is optimal. Our result beats this bound for the weaker task of recovering the connected-component partition, but it does not identify a spanning forest.

For ordinary connectivity, Yu’s Ω(log⁡3n)\Omega(\log^3 n) public-coin lower bound remains the strongest general lower bound and, as noted above, also holds for deterministic protocols [9]. A polynomial lower bound for deterministic connectivity is still open [3]. Robinson and Tan recently obtained the first super-polylogarithmic deterministic lower bound for a connectivity decision problem: deciding kk-edge connectivity requires worst-case messages of Ω(k)\Omega(k) bits for every super-constant k=O(n)k = O(\sqrt{n}) [8]. This result does not yield a polynomial lower bound for the ordinary k=1k = 1 case.

Finally, a similar reduction between connected components and connectivity has previously been shown by Lizama and Rapaport [5]. Using a construction with a number of similarities with our reduction, they showed that if C#cc(n)C_{\#\mathrm{cc}}(n) is the minimum message length required to compute the number of connected components, then C#cc(n)≤2Cconn(n+2)C_{\#\mathrm{cc}}(n) \le2C_{\mathrm{conn}}(n+2). Their bound, however only holds for protocols that are either deterministic or have exponentially small error probability.

Bipartite graph

In the following lemma, for the set SS of edges let Sω=1S^{\omega=1} denote the edges labelled with 1 by ω\omega. If instead we are considering the set of neighbours N(v)N(v) of some vertex vv, we let Nω=1(v)N^{\omega=1}(v) be the set {w∈N(v)∣ω(w,w)=1}\{w \in N(v) \mid\omega(w,w) = 1\}.

Lemma 2. Let (L⊎R,E,ω)(L \uplus R, E, \omega) be a complete bipartite graph where ω\omega labels each of the edges either 0 or 1, with ∣L∣=3|L| = 3 and ∣R∣=k|R| = k. Then there exist collections of maps mvL:2R→[k+1]m^L_v : 2^R \to[k+1] for each v∈Lv \in L and mvR:2L→[4]m^R_v : 2^L \to[4] for each v∈Rv \in R, and an algorithm A\mathcal{A} such that, given (v,mv(Nω=1(v)))(v,m_v(N^{\omega=1}(v))) for each vertex vv, A\mathcal{A} computes the connected components of (L⊎R,Eω=1)(L \uplus R,E^{\omega=1}), where mvm_v denotes the appropriate map for v∈L⊎Rv \in L \uplus R among mvLm^L_v and mvRm^R_v.

Proof. Let L={l0,l1,l2}L = \{l_0,l_1,l_2\}, with indices taken modulo 3. For li∈Ll_i \in L, let

mli(Nω=1(li))=∣Nω=1(li)∣.m_{l_i}(N^{\omega=1}(l_i)) = |N^{\omega=1}(l_i)|.

This requires k+1k+1 possible values. For r∈Rr \in R, put Sr=Nω=1(r)⊆LS_r = N^{\omega=1}(r) \subseteq L. If Sr=LS_r = L, output 0. Otherwise, if there is an i∈{0,1,2}i \in\{0,1,2\} such that

li∈Srandli+1∉Sr,l_i \in S_r \qquad\text{and}\qquad l_{i+1} \notin S_r,

output such an ii. Finally, if Sr=∅S_r = \varnothing, output 3. Thus, each right vertex sends one of four possible messages.

We first describe the reconstruction under the simplifying assumption that no right vertex has degree 3, i.e. Sr≠LS_r \ne L for all r∈Rr \in R. Let

di:=∣Nω=1(li)∣d_i := |N^{\omega=1}(l_i)|

be the message of lil_i, and let

ni:=∣{r∈R:mr(Sr)=i}∣n_i := |\{r \in R : m_r(S_r) = i\}|

for i=0,1,2i = 0,1,2 be the number of vertices reporting message ii. Vertices with message 3 are isolated.

Under the assumption Sr≠LS_r \ne L, the messages have the following meaning:

messagepossible neighbourhoods
0{l0},{l0,l2}\{l_0\},\{l_0,l_2\}
1{l1},{l0,l1}\{l_1\},\{l_0,l_1\}
2{l2},{l1,l2}\{l_2\},\{l_1,l_2\}
3∅\varnothing

Table 1.

Hence l0l_0 has a common neighbour with l1l_1 iff some message-1 vertex is also adjacent to l0l_0, which occurs iff

d0−n0>0.d_0 - n_0 > 0.

Similarly, l1l_1 has a common neighbour with l2l_2 iff

d1−n1>0,d_1 - n_1 > 0,

and l0l_0 has a common neighbour with l2l_2 iff

d2−n2>0.d_2 - n_2 > 0.

Thus the messages determine the graph on LL whose edges record which pairs of vertices in LL have a common neighbour in RR. The connected components of this auxiliary graph are exactly the connected components of (L⊎R,Eω=1)(L \uplus R,E^{\omega=1}) restricted to LL. Finally, each r∈Rr \in R with message mr∈{0,1,2}m_r \in\{0,1,2\} is adjacent to lmrl_{m_r}, so rr belongs to the component of lmrl_{m_r}. Vertices with message 3 are isolated. Hence, the components are determined.

It remains only to drop assumption of there being no degree 3 right vertices. We will use the exact same decoding process, and argue that it is still correct. If some right vertex has degree 3, then it is adjacent to all of LL, so all three vertices of LL lie in the same connected component. Such vertices are encoded by message 0, which is harmless: the above reconstruction may only underestimate pairwise connections inside LL, but the presence of a degree-3 vertex forces all of LL into one component. If we consider the previous analysis however, we see that any degree 3 vertex implies that d1−n1>0d_1-n_1>0 and d2−n2>0d_2-n_2>0, and so all vertices from LL are determined to belong to the same connected components.

Consequently, the collection of messages uniquely determines the connected components of (L⊎R,Eω=1)(L \mathbin{\uplus} R,E^{\omega=1}).

Covering a complete graph

In this section, we are going to show how to partition the edges of our graph into the bipartite subgraphs required by Lemma 2. We will show a simple explicit way to do this with the following lemma.

Lemma 3. Let s,ts,t be positive integers, and let G=(V,E)G=(V,E) be the complete graph on 2st+12st+1 vertices. Then EE admits a partition into copies of Ks,tK_{s,t}, say with parts (Li,Ri)(L_i,R_i), such that every vertex occurs in exactly ss left parts and exactly tt right parts.

Proof. Let n=2st+1n=2st+1 and identify VV with Zn\mathbb{Z}_n. Define

A={t,2t,…,st},B={0,1,…,t−1}.A=\{t,2t,\ldots,st\}, \qquad B=\{0,1,\ldots,t-1\}.

Then ∣A∣=s|A|=s, ∣B∣=t|B|=t, and A∩B=∅A\cap B=\varnothing. Moreover, the differences a−ba-b, with a∈Aa\in A and b∈Bb\in B, are precisely 1,2,…,st1,2,\ldots,st with each value occuring once. For each x∈Znx\in\mathbb{Z}_n, let

Lx=x+A,Rx=x+B,L_x=x+A,\qquad R_x=x+B,

and let ExE_x be the edge set of the complete bipartite graph between LxL_x and RxR_x. We claim that the sets ExE_x, x∈Znx\in\mathbb{Z}_n, partition the edges of KnK_n.

Given an edge {u,v}\{u,v\}, orient it so that

v−u≡d(modn)v-u\equiv d \pmod n

with d∈{1,…,st}d\in\{1,\ldots,st\}. By the preceding paragraph there is a unique pair (a,b)∈A×B(a,b)\in A\times B with a−b=da-b=d. Then with x=u−bx=u-b we have

{u,v}={x+b,x+a}∈Ex.\{u,v\}=\{x+b,x+a\}\in E_x.

The same uniqueness of (a,b)(a,b) also shows that this representation is unique, and hence the ExE_x are pairwise disjoint and cover all edges.

To show the correct number of occurrences in each left and right part, a fixed vertex vv lies in LxL_x exactly for the ss values x=v−ax=v-a with a∈Aa\in A, and lies in RxR_x exactly for the tt values x=v−bx=v-b with b∈Bb\in B. Thus the required incidence condition holds.

:::

Equivalence between connected components and connectivity

Finally, we will show that computing connectivity is essentially as hard as computing connected components. This is mostly relevant from the perspective of lower bounds, since it means that it is enough for most use-cases to only consider lower bounds for connected components, and then lower bounds for connectivity will immediately follow.

Theorem 5. Let SS be a randomized neighbourhood-sketching scheme for connectivity. Suppose that, on every graph of NN vertices, each vertex sends a sketch of at most t(N)t(N) bits and the referee decides connectivity with error probability at most δ(N)\delta(N).

Then there is a randomized neighbourhood-sketching scheme that, on every nn-vertex graph, outputs its connected components using sketches of length at most t(2n)t(2n) and with error probability at most

(n−1)2δ(2n).(n-1)^2\delta(2n).

In particular, connectivity sketches with error probability of at most N−(c+2)N^{-(c+2)} yield connected-component sketches with error probability of at most n−cn^{-c}.

Proof. For a labelled vertex set UU, write mU,v(S)m_{U,v}(S) for the random sketch produced by vertex vv when its neighbourhood is S⊆U∖{v}S \subseteq U \setminus\{v\}. Let G=(V,E)G=(V,E), let V′={v′:v∈V}V'=\{v' : v \in V\} be a disjoint copy of VV, and set V^=V∪V′\widehat{V}=V \cup V'. Each vertex v∈Vv \in V sends

mV^,v(NG(v)∪{v′}).(1)m_{\widehat{V},v}\left(N_G(v) \cup\{v'\}\right). \tag*{(1)}

This sketch has length at most t(2n)t(2n). For any F⊆(V2)F \subseteq\binom{V}{2}, let

F′={{u′,v′}:{u,v}∈F}F'=\{\{u',v'\} : \{u,v\} \in F\}

and define

HF=(V^,E∪{{v,v′}:v∈V}∪F′).H_F=\left(\widehat{V},E\cup\{\{v,v'\}:v\in V\}\cup F'\right).

The neighbourhood in HFH_F of every original vertex v∈Vv \in V is exactly the one used in Equation (1), independently of FF. Moreover, the referee knows the neighbourhood of every copied vertex:

NHF(v′)={v}∪{u′:{u,v}∈F}.N_{H_F}(v')=\{v\}\cup\{u':\{u,v\}\in F\}.

It can therefore generate the sketches of all vertices in V′V' and run the connectivity decoder for SS on HFH_F.

Contracting the edges {v,v′}\{v,v'\} gives

HF is connected⟺(V,E∪F) is connected.H_F\text{ is connected}\quad\Longleftrightarrow\quad(V,E\cup F)\text{ is connected}.

Thus the received sketches give the referee a randomized connectivity oracle for every graph (V,E∪F)(V,E\cup F), with error at most δ(2n)\delta(2n) per query.

Fix any spanning tree TT on the labelled set VV. Starting with F=E(T)F=E(T), process its edges one at a time, deleting ee whenever the oracle says that (V,E∪(F∖{e}))(V,E\cup(F\setminus\{e\})) remains connected. If all answers are correct, the resulting FF is inclusion-minimal subject to (V,E∪F)(V,E\cup F) being connected. After contracting each connected component of GG, the edges of FF therefore form a tree. In particular,

∣F∣≤n−1.|F|\le n-1.

It remains to identify the cut associated with each e={a,b}∈Fe = \{a,b\} \in F. Removing ee from (V,E∪F)(V,E \cup F) produces exactly two connected components, say AeA_e and BeB_e, with a∈Aea \in A_e and b∈Beb \in B_e. For every x∈V∖{a,b}x \in V \setminus\{a,b\}, query whether

(V,E∪(F∖{e})∪{{a,x}})(V,E \cup(F \setminus\{e\}) \cup\{\{a,x\}\})

is connected. The answer is yes exactly when x∈Bex \in B_e, so these queries recover the cut (Ae,Be)(A_e,B_e). Assign each vertex the signature

σ(x)=(1[x∈Be])e∈F.\sigma(x) = (\mathbf{1}[x \in B_e])_{e \in F}.

Two vertices have the same signature if and only if they belong to the same connected component of GG: vertices in one component cannot be separated by deleting an edge of FF, while any two distinct contracted components are separated by some edge of the tree formed by FF. Hence, the signatures determine the connected-component partition.

The reverse-deletion step uses n−1n - 1 oracle queries, and recovering the cuts uses at most (n−1)(n−2)(n - 1)(n - 2) more. Thus an error-free execution makes at most

(n−1)+(n−1)(n−2)=(n−1)2(n - 1) + (n - 1)(n - 2) = (n - 1)^2

queries. Although the queries are adaptive, before the first incorrect answer they coincide with the fixed error-free execution. A union bound over the possible first erroneous query therefore gives failure probability at most

(n−1)2δ(2n).(n - 1)^2\delta(2n).

Finally, if δ(N)≤N−(c+2)\delta(N) \le N^{-(c+2)}, then

(n−1)2δ(2n)≤n2(2n)−(c+2)≤n−c.(n - 1)^2\delta(2n) \le n^2(2n)^{-(c+2)} \le n^{-c}.

Acknowledgements

Both authors were supported by VILLUM Foundation Grant 54451, Basic Algorithms Research Copenhagen (BARC).

D.R.L was supported by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 101019564).

For open access purposes, the authors have applied a CC BY public copyright license to any author-accepted manuscript version arising from this submission. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.

References

  1. [1][AGM12a] Kook Jin Ahn, Sudipto Guha, and Andrew McGregor. Analyzing graph structure via linear measurements. In Proceedings of the 2012 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 459–467, 2012.
  2. [2][AGM12b] Kook Jin Ahn, Sudipto Guha, and Andrew McGregor. Graph sketches: sparsification, spanners, and subgraphs. In Proceedings of the 31st ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, PODS ’12, page 5–14, New York, NY, USA, 2012. Association for Computing Machinery.
  3. [3][Ass22] Sepehr Assadi. Lower bounds for distributed sketching. 11th Workshop on Advances in Distributed Graph Algorithms (ADGA), 2022. Slides available online.
  4. [4][HKT+19] Jacob Holm, Valerie King, Mikkel Thorup, Or Zamir, and Uri Zwick. Random k-out subgraph leaves only o(n/k) inter-component edges. In 2019 IEEE 60th Annual Symposium on Foundations of Computer Science (FOCS), pages 896–909, 2019.arxiv.org/abs/1909.11147
  5. [5][LR22] Antonio Lizama and Ivan Rapaport. Connectivity and Connected Components in the Number-in-Hand Computation Model, pages 71–74. Springer International Publishing, Cham, 2022.DOI
  6. [6][NY19] Jelani Nelson and Huacheng Yu. Optimal lower bounds for distributed and streaming spanning forest computation. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’19, page 1844–1860, USA, 2019. Society for Industrial and Applied Mathematics.arxiv.org/abs/1807.05135
  7. [7][Rob23] Peter Robinson. Distributed Sketching Lower Bounds for k-Edge Connected Spanning Subgraphs, BFS Trees, and LCL Problems. In Rotem Oshman, editor, 37th International Symposium on Distributed Computing (DISC 2023), volume 281 of Leibniz International Proceedings in Informatics (LIPIcs), pages 32:1–32:21, Dagstuhl, Germany, 2023. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.DOI
  8. [8][RT26] Peter Robinson and Ming Ming Tan. Deterministic lower bounds for k-edge connectivity in the distributed sketching model. Proc. ACM Manag. Data, 4(2), May 2026.arxiv.org/abs/2507.11257
  9. [9][Yu21] Huacheng Yu. Tight distributed sketching lower bound for connectivity. In Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1856–1873, 2021.arxiv.org/abs/2007.12323

Paper details

vlnc:W_ywfa4b39
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 2

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents