The Complexity Landscape of Dynamic Distributed Subgraph Finding
Abstract
Bonne and Censor-Hillel (ICALP 2019) initiated the study of distributed subgraph finding in dynamic networks of limited bandwidth. For the case where the target subgraph is a clique, they determined the tight bandwidth complexity bounds in nearly all settings. However, several open questions remain, and very little is known about finding subgraphs beyond cliques. In this work, we consider these questions and explore subgraphs beyond cliques in the deterministic setting.
For finding cliques, we establish an bandwidth lower bound for one-round membership-detection under edge insertions only and an bandwidth lower bound for one-round detection under both edge insertions and node insertions. Moreover, we demonstrate new algorithms to show that our lower bounds are tight in bounded-degree networks when the target subgraph is a triangle. Prior to our work, no lower bounds were known for these problems.
For finding subgraphs beyond cliques, we present a complete characterization of the bandwidth complexity of the membership-listing problem for every target subgraph, every number of rounds, and every type of topological change: node insertions, node deletions, edge insertions, and edge deletions. We also show partial characterizations for one-round membership-detection and listing.
Keywords and phrases:
Distributed algorithms, dynamic algorithms, subgraph findingCopyright and License:
2012 ACM Subject Classification:
Theory of computation Distributed algorithmsFunding:
The research is supported by the Ministry of Education, Singapore, under its Academic Research Fund Tier 1 (24-1323-A0001). Any opinions, findings and conclusions or recommendations expressed in this material are those of the authors and do not reflect the views of the Ministry of Education, Singapore.Editor:
Dariusz R. KowalskiSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Detecting small subgraphs in distributed networks has recently attracted significant research interest [6, 9, 12, 16, 17, 20, 22, 25, 26, 27, 33, 30, 36]. Distributed subgraph finding plays an important role in understanding the bandwidth limitation in distributed networks: It is a classical problem where a straightforward -round solution exists with unlimited bandwidth, but becomes significantly more complex when bandwidth constraints are imposed.
Previous works on distributed subgraph findings mostly assumed a model in which the underlying network is static. However, distributed systems in real life may undergo topological changes over time: A node might crash, and a new connection might be formed between two existing nodes. To address this gap, Bonne and Censor-Hillel [6] initiated the study of distributed subgraph finding in dynamic networks to better capture the real-world behavior of networks of limited bandwidth. For the case where the target subgraph is a clique, they determined the tight bandwidth complexity bounds in nearly all settings. Later, Liu [36] extended this study to dynamic graphs with batched updates and resolved an open question of Bonne and Censor-Hillel [6, Open question 4]. However, several open questions remain, and very little is known about finding subgraphs beyond cliques. In this paper, we build upon their works [6, 36] to consider the remaining open questions and explore other target subgraphs beyond cliques.
1.1 Models
We now formally describe the models considered in this paper, which were introduced by Bonne and Censor-Hillel [6]. A dynamic network is a sequence of graphs . The superscript notation should not be confused with graph powers. The initial graph represents the state of the network at some starting point. For each , the graph is either identical to its preceding graph or obtained from by a single topological change.
Each node in the network is equipped with a unique identifier , and it knows the list of identifiers of all its neighbors. The communication is synchronous. In each round of communication, each node can send to each of its neighbors a message of bits, where denotes the bandwidth of the network.
We assume that each node initially knows the entire topology of the initial graph . In particular, the set of all identifiers is global knowledge, so we may assume that the range of the identifiers is exactly , where is the number of nodes in the network.
Topological changes.
We consider four types of topological changes: node insertions, node deletions, edge insertions, and edge deletions. In the case of a node insertion, the adversary may connect the new node to an arbitrary subset of the existing nodes. Each node can only indirectly deduce that a topological change has occurred by comparing its list of neighbors in the current round and its list of neighbors in the previous round . At most one topological change can occur in each round. Suppose at some round , node detects that exactly one new node appears in its neighborhood list, then from this information only, node cannot distinguish whether edge is added or node is added in round , if we are in the model where both edge insertions and node insertions are allowed. Similarly, suppose node detects that exactly one node disappears in its list. In that case, cannot distinguish whether edge is deleted or node is deleted, if we are in the model where both edge deletions and node deletions are allowed.
Algorithms.
An algorithm can be designed to handle only one type of topological change or any combination of them. Throughout this paper, we only consider deterministic algorithms. We say an algorithm is an -round algorithm if works in the following setting.
-
Each topological change is followed with at least quiet rounds. Specifically, if a topological change occurs in round , then we must have . Rounds are quiet in the sense that no topological changes occur in these rounds.
-
The output w.r.t. must be computed correctly by round .
A one-round algorithm is not called a zero-round algorithm because, within each round, topological change occurs before any communication takes place. This setup allows the nodes to have one round of communication between the topological change and deciding the output within a single round. For example, if an edge is inserted in a round, then and can immediately communicate with each other along this edge within the same round.
We emphasize that all our algorithms and lower bounds in this paper are deterministic, although many of our lower bounds also extend to the randomized setting, as shown in the full version [15] of the paper.
1.2 Problems
We consider the four types of distributed subgraph finding problems introduced by Bonne and Censor-Hillel [6].
- Membership Listing
-
For the membership-listing () problem, each node lists all the copies of containing . In other words, for each copy of and each node in , node lists .
- Membership Detection
-
For the membership-detection () problem, each node decides whether belongs to at least one copy of .
- Listing
-
For the listing () problem, every appearance of is listed by at least one node in the network. In other words, for each copy of , there exists some node that lists .
- Detection
-
For the detection () problem, the existence of any must be detected by at least one node. Specifically, if the network does not contain as a subgraph, then all nodes must output No. Otherwise, at least one node must output Yes.
For both membership-detection and detection, the output of each node is binary () only, with no requirement to report the actual target subgraph. For both membership-listing and listing, each node outputs a list of the target subgraphs, using the node identifiers in the network. For the listing problem, the node responsible for listing is not required to be in , and it is allowed that each copy of is listed by multiple nodes.
In the literature, the problem of deciding whether a subgraph isomorphic to exists is often referred to as -freeness, whereas detection sometimes denotes the task of outputting a copy of . We emphasize that our use of detection differs from this convention: In both and , outputting a copy of is not required.
Bandwidth complexities.
The -round bandwidth complexity of a problem is defined as the minimum bandwidth for which there exists an -round algorithm solving that problem with bandwidth . Fix a target subgraph , a round number , and some type of topological changes. Let , , , and denote the -round bandwidth complexities of , , , and , respectively. The following observations were made by Bonne and Censor-Hillel [6].
Observation 1.1 ([6]).
Given any target subgraph and any integer ,
under any type of topological change.
Observation 1.2 ([6]).
Given any target subgraph and any integer ,
under any type of topological change.
Nontrivial target subgraphs.
In this paper, we only focus on nontrivial target subgraphs , meaning that we implicitly assume that is connected and contains at least three nodes:
-
If is not connected, then all four problems are trivially impossible to solve, as we allow the network to be disconnected.
-
If is connected with exactly two nodes, then all four problems are trivially solvable with zero communication.
For example, when we say that the one-round bandwidth complexity of under edge insertions is , we implicitly assume that .
1.3 Our Contributions
While Bonne and Censor-Hillel [6] settled most of the bandwidth complexity bounds for clique finding, they left five open questions, one of which [6, Open question 4] was resolved by Liu [36]. In this paper, we investigate the remaining ones.
Finding cliques under edge insertions.
In [6, Open question 1] and [6, Open question 3], Bonne and Censor-Hillel asked for the tight bound on the one-round bandwidth complexity of membership-detection for triangles and larger cliques under edge insertions only. For triangles, they obtained two upper bounds and [6]. For larger cliques, they obtained an upper bound which works even for the membership-listing problem [6]. In this work, we show that these problems admit a bandwidth lower bound of , which holds even in bounded-degree networks.
Theorem 1.3.
For any constant , the one-round bandwidth complexity of under edge insertions is , even in bounded-degree dynamic networks.
Prior to our work, no lower bound was known for this problem. Moreover, we complement our lower bound with a new -bandwidth triangle finding algorithm in bounded-degree networks, which is capable of solving the more challenging problem of membership-listing.
Theorem 1.4.
There exists a one-round algorithm of under edge insertions with bandwidth , where is the maximum degree of the dynamic network.
Combining Theorem 1.3 and Theorem 1.4, we obtain a tight bound of membership-detection for triangles in bounded-degree dynamic networks.
Corollary 1.5.
The one-round bandwidth complexity of under edge insertions is in bounded-degree dynamic networks.
Finding cliques under edge insertions and node insertions.
The remaining two open questions of Bonne and Censor-Hillel [6] considered the model where two types of topological changes are allowed. Specifically, [6, Open question 2] and [6, Open question 5] asked for the tight bound on the one-round bandwidth complexity of the listing problem for triangles and larger cliques under both edge insertions and node insertions. Previously, these problems were known to have an upper bound of [6]. In this work, we show that these problems admit a bandwidth lower bound of , which applies to the easier problem of detection and holds in bounded-degree networks.
Theorem 1.6.
For any constant , the one-round bandwidth complexity of under both node insertions and edge insertions is , even in bounded-degree dynamic networks.
Same as Theorem 1.3, prior to our work, no lower bound was known for this problem. Interestingly, we are also able to match this lower bound with a new -bandwidth algorithm for listing triangles in bounded-degree networks.
Theorem 1.7.
There exists a one-round algorithm of under edge insertions and node insertions with bandwidth , where is the maximum degree of the dynamic network.
Combining Theorem 1.6 and Theorem 1.7, we obtain a tight bound for triangle detection in bounded-degree dynamic networks.
Corollary 1.8.
The one-round bandwidth complexity of under edge insertions and node insertions is in bounded-degree dynamic networks.
Beyond cliques.
It appears to be a challenging task to extend the current results beyond cliques. In the static setting, while the round complexity for -clique listing has been settled [9, 12, 16, 17, 22, 30], far less is known about target subgraphs that are not cliques. In the dynamic setting, Bonne and Censor-Hillel [6] highlighted that cliques are unique in that they can be found trivially in one round if bandwidth is unrestricted.
In this work, we demonstrate that it is possible to achieve meaningful results beyond cliques, despite the inherent difficulties. For subgraph finding beyond cliques, we present a complete characterization of the bandwidth complexity for the membership-listing problem across all target subgraphs, all numbers of rounds, and all four types of topological changes: node insertions, node deletions, edge insertions, and edge deletions (Table 1). Moreover, we show partial characterizations for one-round membership-detection (Table 2) and listing (Table 3).
Our contribution lies in finding structures in the apparent chaos: We identify relevant graph classes (e.g., complete multipartite graphs) and parameters (e.g., node-edge versions of distance, radius, and diameter) in the area of dynamic distributed subgraph finding. For the cases where a full characterization has yet to be achieved, we identify remaining challenging open problems and outline future research directions. Addressing these challenges will likely require developing novel techniques.
1.4 Additional Related Work
König and Wattenhofer [32] conducted a systematic study of classical network problems under various types of topological changes, such as node or edge insertions and deletions. They said that a combination of a problem and a topological change is locally fixable if an existing solution can be repaired in rounds following a topological change in the network. Several subsequent studies have investigated dynamic distributed algorithms for local problems, such as independent set [3, 13], matching [39], and coloring [37]. The dynamic- model was formalized in [1]. Distributed algorithms for highly dynamic networks, where multiple topological changes can occur within a single communication round, were examined in [4, 10]. Global distributed problems, such as consensus and information dissemination, have also been studied in the dynamic setting [18, 21, 28, 31, 34, 35, 40]. Dynamic distributed algorithms are closely related to the concept of self-stabilization – a key notion in distributed computing – where a distributed network undergoes various changes and must rapidly return to a stable state after some quiet time [19].
There is a long line of research studying distributed subgraph finding in the model. The first breakthrough in triangle detection was achieved by Izumi and Le Gall [30], who demonstrated that triangle detection and listing can be completed in and rounds, respectively. After a series of work [9, 12, 14, 16, 17, 22], it was shown that is the tight bound for -clique listing via the use of expander decomposition and routing. Distributed cycle findings have also been extensively studied [20, 22, 25, 33]. Property-testing variants of the distributed subgraph finding problem have been explored [7, 11, 24, 26, 27]. The subgraph finding problem has also been investigated in other computational models beyond distributed and parallel computing [2, 5, 23]. For more on the distributed subgraph finding problem, see the survey by Censor-Hillel [8].
The study of distributed subgraph finding is partially motivated by the fact that many algorithms can be significantly improved if the underlying network does not contain certain small subgraphs. For instance, Pettie and Su showed distributed coloring algorithms for triangle-free graphs using fewer colors and rounds [38]. Similarly, Hirvonen, Rybicki, Schmid, and Suomela developed an efficient distributed algorithm to find large cuts in triangle-free graphs [29].
1.5 Roadmap
In Section 2, we review essential graph terminology and parameters and demonstrate how certain graph parameters determine the minimum number of rounds required for certain subgraph-finding tasks. In Section 3, we present a technical overview of our proofs. In Section 4, we conclude the paper with some open questions. In Appendix A, we provide tables that summarize our results for subgraph finding beyond cliques.
2 Preliminaries
In this section, we present the basic definitions used in the paper. In Section 2.1, we review essential graph terminology and parameters. In Section 2.2, we discuss some basic properties of these graph parameters. In Section 2.3, we demonstrate how specific graph parameters determine the minimum number of rounds required for and , independent of any bandwidth constraints.
2.1 Graph Terminology
Given a graph , an edge , and a node subset , we write to denote the subgraph of induced by node set , write to denote the subgraph of induced by node set , and write to denote the subgraph of induced by edge set .
For a graph , we have the following definitions.
Definition 2.1 (Eccentricity, diameter, radius, and center).
| Eccentricity of : | ||||
| Diameter of : | ||||
| Radius of : | ||||
| Center of : |
In other words, the eccentricity of a node is the maximum of its distance to other nodes, the diameter of a graph is the maximum eccentricity of its nodes, the radius of a graph is the minimum eccentricity of its nodes, and the center of a graph is a node subset containing all nodes with eccentricity equal to the radius.
We consider the “node-edge” version of the definitions above.
Definition 2.2 (Node-edge distance).
For any and any , the node-edge distance between them is defined as .
We overload the notation since it is easy to distinguish and .
Definition 2.3 (Node-edge eccentricity, diameter, radius, and center).
| Node-edge eccentricity of : | ||||
| Node-edge diameter of : | ||||
| Node-edge radius of : | ||||
| Node-edge center of : | ||||
The node-edge distance definition is needed to capture the complexity bounds for various problems discussed in this paper. For example, in , any node can detect an edge deletion within one round, whereas in , the node opposite the deleted edge cannot detect the topological change in a single round. This is reflected by the fact that , while the standard radius definition is insufficient to capture the difference.
2.2 Properties of Graph Parameters
These distance-based parameters and their node-edge versions are closely related. Specifically, we have the following observation.
Observation 2.4.
For any connected graph , .
Proof.
Since for any node and any edge , , the observation follows directly from the definition of and .
The class of complete multipartite graphs plays a crucial role in the study of the complexity landscape of dynamic distributed subgraph finding, as it can be characterized in terms of node-edge diameter or node-edge independence.
Definition 2.5 (Complete multipartite graphs).
A graph is complete -partite if its node set can be partitioned into independent sets such that for any two nodes , if and only if and for some . For any , a complete -partite graph is called a complete multipartite graph.
Definition 2.6 (Node-edge independence).
In a graph , a node and an edge are independent if is adjacent to neither nor in . A graph is node-edge independent if at least one of its node-edge pairs are independent.
In other words, a graph is node-edge independent if and only if it contains a co- (complement of a path with three nodes) as an induced subgraph. See Figure 1.
Lemma 2.7.
A graph has no induced if and only if its connected components are cliques.
Proof.
If every connected component of is a clique, then any three nodes selected cannot induce a . Conversely, suppose a graph has no induced and there is a connected component that is not a clique, then there is a pair of disconnected nodes and in the same component. The two nodes and must be connected by some minimum-length path whose length is at least , since they are in the same connected component. Any three consecutive nodes on the path induce a , which is a contradiction.
Lemma 2.8.
A graph is complete multipartite if and only if it is not node-edge independent.
Proof.
Observe that a graph is complete multipartite if and only if its complement is a disjoint union of cliques. Hence Lemma 2.7 implies that a graph is not node-edge independent does not contain a co- as an induced subgraph complement of is -free is complete multipartite.
Now we characterize complete multipartite graphs in terms of node-edge diameter.
Observation 2.9.
For any connected graph with at least three nodes, if and only if is complete multipartite.
Proof.
If , then is not node-edge independent, since if node is independent of edge , then . Hence, is complete multipartite by Lemma 2.8. Conversely, suppose is complete multipartite, then it is not node-edge independent, and for all and . Hence, . Since has at least three nodes, for any edge , there is a node such that . We have and .
2.3 Locality Constraints
In this section, we investigate the minimum number of rounds required for the two problems and regardless of any bandwidth constraints, for any given target subgraph . Due to the local nature of topological changes, the appearance or disappearance of a copy of might not be detectable for some nodes in in the same round or even after several rounds of communication.
See Figure 2 for an example. Suppose at some round , edge is inserted, so the current graph is . Assuming unlimited bandwidth, after one round of messaging, all the nodes highlighted can detect the appearance of due to the messages from or . The only remaining node is unable to detect the appearance of after one round of messaging, as the information about the topological change has not reached .
In the subsequent discussion, we define two graph parameters and , and use them to show the locality constraints for and .
First, we define threshold and show that is a lower bound on the number of rounds needed for or under edge insertions or under edge deletions.
Definition 2.10 (Threshold ).
For any given graph , define .
Theorem 2.11 (Locality constraints, edge insertions/deletions).
Given any graph , for any , there exists no -round algorithm for or under edge insertions or under edge deletions.
Proof.
Suppose , for a node and an edge . Consider the following dynamic graph under edge insertions:
-
1.
Initially, .
-
2.
At round , consider two cases:
-
(a)
The edge is inserted. Thus .
-
(b)
There is no change. Thus does not contain any subgraph isomorphic to .
-
(a)
Since , within rounds of communication, node must receive identical messages in both cases and cannot distinguish two cases, so any correct algorithm requires at least rounds.
A similar proof applies to the case of edge deletion. The only required modification is to start with and then replace the insertion of with the deletion of .
Next, we define the threshold and show that is a lower bound on the number of rounds needed for or under node insertions or under node deletions.
Definition 2.12 (Threshold ).
For any given graph , define .
Theorem 2.13 (Locality constraints, node insertions/deletions).
Given any graph , for any , there exists no -round algorithm for or under node insertions or under node deletions.
Proof.
Suppose for nodes . For node insertions, we start with the graph , the subgraph of induced by . Consider two cases:
-
1.
Insert node , along with all its incident edges in . Thus .
-
2.
No topological change.
Since , node receives the same information within rounds in both cases. Therefore, for any -round algorithm, is unable to correctly decide whether appears. We can use a similar design to prove the case of node deletions: Start with graph , and then at round , either delete node or do nothing. Since , the same analysis shows that node cannot decide whether disappears.
We show a tighter bound in terms of for the case of node insertions. We remark that the same argument does work for node deletion since nodes are assumed to know the entire topology before any deletion and hence may decide based on one-sided information along the shortest path from to in the following example.
Theorem 2.14 (Locality constraints, node insertions).
Given any graph , for any , there exists no -round algorithm for or under node insertions.
Proof.
According to ˜2.4, we have either or . If , then the proof follows from Theorem 2.13. For the rest of the proof, we focus on the case where .
Suppose for node and edge . We must have . Otherwise, if , then , contradicting our assumption. Now, consider the following dynamic graph .
-
1.
Initially .
-
2.
At round , consider two cases:
-
(a)
Node is inserted with all its incident edges in . Thus .
-
(b)
Node is inserted with all its incident edges in excluding . Thus .
-
(a)
For any , node receives the same information within rounds in both cases. Therefore, for any -round algorithm, cannot distinguish the two cases and cannot output correctly.
One-round solvability and complete multipartite graphs.
By Theorems 2.11 and 2.14 with , we know that , or equivalently , characterizes the class of target subgraphs that permits one-round and algorithms for edge insertions, edge deletions, and node insertions. Observe that if and only if is a single edge, so all non-trivial target subgraphs satisfy . Therefore, ˜2.9 implies that, excluding trivial target subgraphs, complete multipartite graphs are exactly the class of graphs that permits one-round and algorithms for edge insertions, edge deletions, and node insertions.
3 Technical Overview
In this section, we present a technical overview of our proofs.
3.1 Lower Bounds for Finding Cliques
We start with the lower bounds for finding cliques.
lower bound.
We present the core idea underlying the bandwidth lower bound for one-round under edge insertions, as shown in Theorem 1.3. For simplicity and clarity, we focus on the case of membership-detecting triangles ().
We start by describing the hard instance. Consider a set of nodes and an independent set . By connecting each to two distinct nodes from , we form disjoint paths of length two, each resembling a triangle missing one edge. The graph is constructed by edge insertions over rounds.
After constructing these paths, a single edge is inserted. Two scenarios are possible:
-
Edge connects the two endpoints of one of the constructed paths, completing a triangle.
-
Edge connects endpoints from two different paths, forming no triangle.
Let be one such path, and suppose is one endpoint of the newly inserted edge . To correctly detect whether a triangle has been formed, node must determine whether the other endpoint of is node . We show that if the bandwidth of the algorithm is , then no mechanism exists for to reliably make this distinction.
-
Before the insertion of , node might try to learn through during the initial rounds. However, due to bandwidth limitations, can receive only bits, which is far too little to uniquely identify from the space of possible identifiers .
-
After the insertion of , the two endpoints of can exchange -bit messages. However, distinguishing whether they are part of the same path among candidates requires bits, while is again insufficient.
lower bound.
We now turn to the proof of Theorem 1.6, which establishes that the one-round bandwidth complexity of under both node insertions and edge insertions is . For clarity, we again focus on the case of membership-detecting triangles.
The key reason this lower bound is exponentially smaller than the previous one is that is inherently a much simpler problem than . In particular, if only edge insertions are allowed, then triangle detection is solvable with bandwidth : When an edge is inserted, its endpoints can simply broadcast a signal to their neighbors, and any node receiving two such signals can locally infer the existence of a triangle.
However, this strategy breaks down when node insertions are also permitted. Again, consider a path of the form . Now, it is impossible to distinguish whether an edge has been inserted – completing a triangle – or whether a new node has been inserted with incident edges and , where no triangle is created. The ambiguity arises because both scenarios lead to receiving signals from and .
To formalize this, we use a construction similar to the one from the previous lower bound, but with a smaller parameter: . We show that distinguishing the two scenarios requires bits of bandwidth.
Here is a brief sketch of the argument. We label each pair , for , according to the messages transmitted across the edges and in the first rounds, under the assumption that the path is formed. Since each message consists of bits and communication lasts rounds, the total number of distinct labels is . Since node insertion is allowed, nodes in without incident edges are considered as not yet inserted.
A Ramsey-type argument then implies the existence of a subset such that all of , , receive the same label. This means that, from the perspective of node , the insertion of an edge versus the insertion of a node with two incident edges and becomes indistinguishable.
For the proof to work, the set must be sufficiently large relative to the number of distinct labels, which is . This requirement is precisely why we set instead of the larger value used in the previous argument, resulting in a weaker lower bound of . The full proof of Theorem 1.6 is more intricate, as it involves analyzing not only the perspective of each , but also the views of the endpoints of the newly inserted edge . For instance, the actual labeling in the proof requires quantifying over all , which increases the number of distinct labels to .
3.2 Upper Bounds for Finding Triangles
We now discuss our two triangle-finding algorithms, both of which achieve optimal bandwidth complexity in bounded-degree networks, matching our lower bounds.
Our algorithms build upon the one-round algorithm for under edge insertions by Bonne and Censor-Hillel [6], which operates with bandwidth . Their approach uses two types of messages: one with bits, and another with bits. The overall bandwidth complexity is optimized by choosing .
upper bound.
To prove Theorem 1.4, we extend the algorithm of Bonne and Censor-Hillel to design a one-round algorithm for under edge insertions with a bandwidth complexity of . In their original algorithm for , each -bit message is a binary string where the th bit indicates whether an incident edge was inserted rounds ago. We observe that this binary string can be compactly represented using bits: For each recently inserted incident edge, use a number in to indicate its insertion time. Setting gives a bandwidth complexity of for .
To handle the more demanding problem, we introduce several modifications to the algorithm. Most notably, we must account not only for the edges incident to a node but also for those incident to its neighbors. This additional layer of information increases the size of the message by a factor of , resulting in a total bandwidth complexity of .
upper bound.
We now turn to the proof of Theorem 1.7, where we design a one-round algorithm for that handles both edge and node insertions with bandwidth . The exponential improvement stems from improving the size of the -bit message in the algorithm of Bonne and Censor-Hillel [6] to bits. The purpose of this message is to transmit the list of neighborhood s, which contains bits of information. As the transmission is done in rounds, the required message size is .
Our key idea lies in a new method for identifying triangles. Recall that a core challenge in our lower bound proof is to understand the inherent difficulty for a node , with two non-adjacent neighbors and , to distinguish between the insertion of an edge and the insertion of a node with two incident edges and .
We develop a new algorithm to handle this instance. We let select an index such that the th bits of and differ. Nodes and then report the th bit of the identifier of their new neighbor. If an edge is inserted, then the reported bits will differ. If a node , along with two incident edges and , is inserted, then the bits will match. This comparison allows to distinguish between the two cases.
Sending an index requires only bits, which is exponentially more efficient than sending the full identifier, which requires bits. Consequently, the size of the -bit message in the algorithm of Bonne and Censor-Hillel [6] is reduced to bits. Setting then yields the improved bandwidth complexity .
3.3 Membership-Listing
We obtain a complete characterization of the bandwidth complexity of for every target subgraph , every number of rounds , and every type of topological change: node insertions, node deletions, edge insertions, and edge deletions. The full characterization is summarized in Table 1. In this overview, we omit node insertions and deletions, as they closely mirror the respective cases of edge insertions and deletions.
We begin with the case of edge insertions. For , we have an impossibility result from Theorem 2.11. For , the -round bandwidth complexity depends on the structure of :
-
If is a complete multipartite graph that is not a clique, the complexity is .
-
If is not a complete multipartite graph, the complexity increases to .
Upper bounds.
The upper bounds follow from the observation that a node can list all subgraphs that contain it once it has an accurate view of its -radius neighborhood. A brute-force approach would be to flood the entire graph topology using messages of size after each topological change. Within rounds, this ensures all nodes acquire the required local view. If , this communication can be spread over multiple rounds, reducing the bandwidth requirement to .
For the special case where is a complete multipartite graph, we have . This allows a more efficient approach: Each node simply broadcasts its list of neighbors as a binary string of length , leading to a reduced bandwidth complexity of .
Lower bounds.
We first discuss a general lower bound for any non-clique subgraph . Let be a non-edge in . Consider the graph resulting from replacing with an independent set , so each member of corresponds to a copy of . We then construct the graph via edge insertions, ensuring that the edges incident to are added last, leaving only rounds to gather information about the graph. For to list all copies of , it must learn the set , which requires bits of information, yielding a lower bound of .
To strengthen the bound to when is not a complete multipartite graph, we use the fact that such a graph must contain an edge and a node such that neither endpoint of is adjacent to . Now we apply a similar construction where is replaced with a bipartite graph, forcing to learn the bipartite graph in order to list all copies of , which requires bits of information.
Edge deletions.
We now consider the case of edge deletions. As with insertions, we have an impossibility result for from Theorem 2.11. For , the -round bandwidth complexity is whenever is not a clique.
A key difference between insertions and deletions is that edge insertions can merge disjoint components, potentially introducing many new subgraphs and requiring extensive information dissemination. In contrast, to handle deletions, it suffices to propagate the identifiers of the two endpoints of the deleted edge to a radius of , which requires only bits of information. This yields an upper bound of .
To prove a matching lower bound, we reuse the construction from the lower bound. Suppose an edge deletion causes one of the copies of to disappear. For a node to correctly identify which copy was affected, it must learn bits. By letting contain a polynomial number of nodes, this yields the desired lower bound.
3.4 One-Round Membership-Detection
We now turn to the one-round bandwidth complexity of the problem, for which we provide a partial characterization, see Table 2. Compared to , establishing lower bounds for is more challenging, as it is harder to quantify the minimum information a node must obtain to detect the presence of a subgraph. On the algorithmic side, obtaining optimal upper bounds is also trickier: Since detection does not require listing the subgraph, there is greater flexibility in how the subgraph can be found. This flexibility enables a wider range of algorithmic techniques. In this overview, we focus on two representative results.
Lower bound.
We show that the one-round bandwidth complexity of under edge insertions is for any complete multipartite graph that is neither a star nor a clique. While the corresponding lower bound for appears inherently tied to the listing requirement, we demonstrate that, with suitable modifications, the core idea can be adapted to the detection setting.
Since we cannot require a node to list all copies of in the constructed graph, we instead frame the argument in a preprocessing-plus-query model. We first build a graph that initially contains no copy of , but is structured so that a copy can be formed in many different ways. The goal is to ensure that, in order for to detect the presence of following an edge insertion, it must have already learned a significant amount of information about the initial graph during the construction phase.
Specifically, we identify two non-adjacent nodes and in that share a common neighbor . We construct a graph by removing the edge from and replacing node with an independent set . The graph is built via edge insertions, with the edges incident to and added at the end, leaving them only rounds to learn about . We then insert a new edge incident to , creating two possible scenarios: If the other endpoint of lies in , a copy of is formed; otherwise, it is not. For to decide correctly, and must learn the set before the insertion of , which requires bits of information.
Upper bound.
As in the case of , membership-detection becomes significantly easier when the allowed topological change is a deletion rather than an insertion. In particular, we present a one-round -bandwidth algorithm for that applies to any complete multipartite graph , improving upon the bound required for under the same conditions.
For clarity, we describe our algorithm for the special case , which captures the key ideas behind the more general algorithm that works for an arbitrary complete multipartite graph . The core observation is that to detect a , it suffices for each node to maintain, for every pair of its neighbors and , the number of common neighbors they share, excluding . Each such shared neighbor corresponds to a distinct copy of containing , , and .
Maintaining these counters requires only one-bit messages. When a node detects that one of its neighbors has been deleted, it sends a one-bit signal to all its remaining neighbors. If a node receives such a signal from two neighbors and in the same round, it decrements the counter for the pair by one.
3.5 One-Round Listing
We study the one-round bandwidth complexity of the problem for edge deletions and node deletions. See Table 3 for a summary of our results. In this overview, we focus on the case of edge deletions, as the case of node deletions is analogous.
We begin with the simpler cases. When , is a star, so is trivially solvable with zero bandwidth by allowing the star center to handle the listing. When , cannot be solved in one round, since there exists at least one edge in whose deletion cannot be communicated to all nodes within one round.
When , the graph has a center node adjacent to all other nodes, enabling a simple one-round one-bit algorithm: Whenever an edge is deleted, its endpoints send a signal to all their neighbors, allowing the center of to determine whether still exists.
We now turn to the remaining nontrivial case, where and . In this setting, we prove a tight bound. The upper bound is achieved by a simple protocol: When an edge is deleted, both and broadcast and to all their neighbors. This guarantees that if the deletion eliminates a copy of , its center, who is responsible for listing the subgraph, can detect the change.
The lower bound is more involved and requires a novel construction. Let , , , . We replace each node in with an independent set of nodes . Moreover, we assume, based on the structure of , that there exists a path of length two from to via , but no direct edge between and .
Using symmetry and the pigeonhole principle, we can assume that node must list at least distinct copies of of the form for . Among these copies of , there must be at least copies with distinct -values, or at least with distinct -values.
Assume the former holds, and let be the set of distinct values. Now consider deleting the edge for some . Node must then stop listing all copies of that include this edge. Since there is no direct connection between and , it must receive a message from that uniquely identifies among candidates, which requires bits. The argument for the latter case (distinct -values) is similar.
4 Conclusions and Open Problems
In this work, we substantially extend the study of dynamic distributed subgraph finding initiated by Bonne and Censor-Hillel [6] in the deterministic setting. We establish tight one-round bandwidth bounds for triangle finding in bounded-degree dynamic networks: for membership-detection under edge insertions only (Corollary 1.5), and for detection when both edge and node insertions are allowed (Corollary 1.8). Before our work, no lower bound was known for these two problems. Moreover, we provide a complete characterization of the -round bandwidth complexity of the membership-listing problem across all subgraphs and types of topological changes (Table 1). Despite these advances, many intriguing open problems remain.
- Beyond bounded-degree networks
-
While we obtain tight bounds for triangle finding in bounded-degree networks, the current upper and lower bounds remain unmatched for general unbounded-degree networks. Can stronger lower bounds be established for networks with higher degrees?
Specifically, for membership-detection, in Theorem 1.3, we establish a new lower bound of for the one-round bandwidth complexity of under edge insertions for any . While we provide a matching upper bound for in bounded-degree networks in Theorem 1.4, this lower bound is not yet known to be tight for unbounded-degree networks, where the current best upper bound is for and for [6]. Closing these gaps remains an intriguing open question.
- Randomized algorithms
-
While we focus on deterministic algorithms in this paper, many of our lower bounds extend to randomized algorithms, as shown in the full version [15] of the paper. Yet the role of randomness in reducing bandwidth complexity for dynamic distributed subgraph finding is not well understood: Which problems exhibit an advantage for randomized over deterministic algorithms?
- Round-bandwidth tradeoffs
-
While our complete characterization of the membership-listing problem applies to -round algorithms with an arbitrary round number , the remainder of our results – and much of the existing literature – primarily focuses on the one-round scenario.
A particularly illustrative case is the membership-listing of cliques: In the one-round setting, the bandwidth complexity is , whereas allowing two rounds reduces the bandwidth complexity to [6]. This stark contrast shows the potential benefits of additional communication rounds in lowering bandwidth requirements. Exploring how increased round numbers influence bandwidth complexity remains an interesting avenue for future research.
- Toward complete characterizations of the remaining problems
-
In this work, we provide partial characterizations for one-round membership-detection and listing. Can these characterizations be completed? What can be said about the detection problem? We discuss several specific open questions in the full version [15] of the paper.
References
- [1] Amirreza Akbari, Navid Eslami, Henrik Lievonen, Darya Melnyk, Joona Särkijärvi, and Jukka Suomela. Locality in Online, Dynamic, Sequential, and Distributed Graph Algorithms. In Kousha Etessami, Uriel Feige, and Gabriele Puppis, editors, 50th International Colloquium on Automata, Languages, and Programming (ICALP 2023), volume 261 of Leibniz International Proceedings in Informatics (LIPIcs), pages 10:1–10:20, Dagstuhl, Germany, 2023. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2023.10.
- [2] Noga Alon, Tali Kaufman, Michael Krivelevich, and Dana Ron. Testing triangle-freeness in general graphs. SIAM Journal on Discrete Mathematics, 22(2):786–819, 2008. doi:10.1137/07067917X.
- [3] Sepehr Assadi, Krzysztof Onak, Baruch Schieber, and Shay Solomon. Fully dynamic maximal independent set with sublinear update time. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, pages 815–826, New York, NY, USA, 2018. Association for Computing Machinery. doi:10.1145/3188745.3188922.
- [4] Philipp Bamberger, Fabian Kuhn, and Yannic Maus. Local distributed algorithms in highly dynamic networks. In 2019 IEEE International Parallel and Distributed Processing Symposium (IPDPS), pages 33–42. IEEE, 2019. doi:10.1109/IPDPS.2019.00015.
- [5] Luca Becchetti, Paolo Boldi, Carlos Castillo, and Aristides Gionis. Efficient semi-streaming algorithms for local triangle counting in massive graphs. In Proceedings of the 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD 2008), pages 16–24, 2008. doi:10.1145/1839490.1839494.
- [6] Matthias Bonne and Keren Censor-Hillel. Distributed detection of cliques in dynamic networks. In 46th International Colloquium on Automata, Languages, and Programming (ICALP 2019). Schloss-Dagstuhl-Leibniz Zentrum für Informatik, 2019. doi:10.4230/LIPIcs.ICALP.2019.132.
- [7] Zvika Brakerski and Boaz Patt-Shamir. Distributed discovery of large near-cliques. In Idit Keidar, editor, Proceedings of the 23rd International Symposium on Distributed Computing (DISC), volume 5805 of Lecture Notes in Computer Science, pages 206–220. Springer, 2009. doi:10.1007/978-3-642-04355-0_22.
- [8] Keren Censor-Hillel. Distributed Subgraph Finding: Progress and Challenges. In Nikhil Bansal, Emanuela Merelli, and James Worrell, editors, 48th International Colloquium on Automata, Languages, and Programming (ICALP 2021), volume 198 of Leibniz International Proceedings in Informatics (LIPIcs), pages 3:1–3:14, Dagstuhl, Germany, 2021. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2021.3.
- [9] Keren Censor-Hillel, Yi-Jun Chang, François Le Gall, and Dean Leitersdorf. Tight distributed listing of cliques. In Proceedings of the 32nd Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2878–2891, 2021. doi:10.1137/1.9781611976465.171.
- [10] Keren Censor-Hillel, Neta Dafni, Victor I. Kolobov, Ami Paz, and Gregory Schwartzman. Fast Deterministic Algorithms for Highly-Dynamic Networks. In Quentin Bramas, Rotem Oshman, and Paolo Romano, editors, 24th International Conference on Principles of Distributed Systems (OPODIS 2020), volume 184 of Leibniz International Proceedings in Informatics (LIPIcs), pages 28:1–28:16, Dagstuhl, Germany, 2021. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.OPODIS.2020.28.
- [11] Keren Censor-Hillel, Eldar Fischer, Gregory Schwartzman, and Yadu Vasudev. Fast distributed algorithms for testing graph properties. Distributed Computing, 32(1):41–57, 2019. doi:10.1007/s00446-018-0324-8.
- [12] Keren Censor-Hillel, François Le Gall, and Dean Leitersdorf. On distributed listing of cliques. In Proceedings of the ACM Symposium on Principles of Distributed Computing (PODC 2020), 2020. doi:10.1145/3382734.3405742.
- [13] Keren Censor-Hillel, Elad Haramaty, and Zohar Karnin. Optimal dynamic distributed mis. In Proceedings of the 2016 ACM Symposium on Principles of Distributed Computing (PODC), pages 217–226, 2016. doi:10.1145/2933057.2933083.
- [14] Keren Censor-Hillel, Dean Leitersdorf, and David Vulakh. Deterministic near-optimal distributed listing of cliques. In Proceedings of the 2022 ACM Symposium on Principles of Distributed Computing (PODC), pages 271–280, New York, NY, USA, 2022. Association for Computing Machinery. doi:10.1145/3519270.3538434.
- [15] Yi-Jun Chang, Lyuting Chen, Yanyu Chen, Gopinath Mishra, and Mingyang Yang. The complexity landscape of dynamic distributed subgraph finding. arXiv preprint arXiv:2411.11544, 2024. doi:10.48550/arXiv.2411.11544.
- [16] Yi-Jun Chang, Shang-En Huang, and Hsin-Hao Su. Deterministic expander routing: Faster and more versatile. In Proceedings of the 43rd ACM Symposium on Principles of Distributed Computing (PODC), pages 194–204, 2024. doi:10.1145/3662158.3662797.
- [17] Yi-Jun Chang, Seth Pettie, Thatchaphol Saranurak, and Hengjie Zhang. Near-optimal distributed triangle enumeration via expander decompositions. Journal of the ACM, 68(3):1–36, 2021. doi:10.1145/3446330.
- [18] Michael Dinitz, Jeremy T Fineman, Seth Gilbert, and Calvin Newport. Smoothed analysis of dynamic networks. Distributed Computing, 31:273–287, 2018. doi:10.1007/S00446-017-0300-8.
- [19] Shlomi Dolev. Self-Stabilization. MIT Press, 2000.
- [20] Andrew Drucker, Fabian Kuhn, and Rotem Oshman. On the power of the congested clique model. In Proceedings of the ACM Symposium on Principles of Distributed Computing (PODC 2014), pages 367–376, 2014. doi:10.1145/2611462.2611493.
- [21] Chinmoy Dutta, Gopal Pandurangan, Rajmohan Rajaraman, Zhifeng Sun, and Emanuele Viola. On the complexity of information spreading in dynamic networks. In Proceedings of the Twenty-Fourth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 717–736. SIAM, 2013. doi:10.1137/1.9781611973105.52.
- [22] Talya Eden, Nimrod Fiat, Orr Fischer, Fabian Kuhn, and Rotem Oshman. Sublinear-time distributed algorithms for detecting small cliques and even cycles. In Proceedings of the 33rd International Symposium on Distributed Computing (DISC 2019), pages 15:1–15:16, 2019. doi:10.4230/LIPIcs.DISC.2019.15.
- [23] Talya Eden, Amit Levi, Dana Ron, and C. Seshadhri. Approximately counting triangles in sublinear time. SIAM Journal on Computing, 46(5):1603–1646, 2017. doi:10.1137/15M1054389.
- [24] Guy Even, Orr Fischer, Pierre Fraigniaud, Tzlil Gonen, Reut Levi, Moti Medina, Pedro Montealegre, Dennis Olivetti, Rotem Oshman, Ivan Rapaport, and Ioan Todinca. Three notes on distributed property testing. In Andréa W. Richa, editor, 31st International Symposium on Distributed Computing, DISC 2017, October 16-20, 2017, Vienna, Austria, volume 91 of LIPIcs, pages 15:1–15:30. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPICS.DISC.2017.15.
- [25] Orr Fischer, Tzlil Gonen, Fabian Kuhn, and Rotem Oshman. Possibilities and impossibilities for distributed subgraph detection. In Proceedings of the 30th Symposium on Parallelism in Algorithms and Architectures (SPAA 2018), pages 153–162, 2018. doi:10.1145/3210377.3210401.
- [26] Pierre Fraigniaud and Dennis Olivetti. Distributed detection of cycles. ACM Transactions on Parallel Computing (TOPC), 6(3):1–20, 2019. doi:10.1145/3322811.
- [27] Pierre Fraigniaud, Ivan Rapaport, Ville Salo, and Ioan Todinca. Distributed testing of excluded subgraphs. In International Symposium on Distributed Computing, pages 342–356. Springer, 2016. doi:10.1007/978-3-662-53426-7_25.
- [28] Bernhard Haeupler and David Karger. Faster information dissemination in dynamic networks via network coding. In Proceedings of the 30th annual ACM SIGACT-SIGOPS symposium on Principles of distributed computing, pages 381–390, 2011. doi:10.1145/1993806.1993885.
- [29] Juho Hirvonen, Joel Rybicki, Stefan Schmid, and Jukka Suomela. Large cuts with local algorithms on triangle-free graphs. The Electronic Journal of Combinatorics, 24(4):4–21, 2017.
- [30] Taisuke Izumi and François Le Gall. Triangle finding and listing in CONGEST networks. In Proceedings of the ACM Symposium on Principles of Distributed Computing (PODC 2017), pages 381–389, 2017. doi:10.1145/3087801.3087811.
- [31] Irvan Jahja and Haifeng Yu. Sublinear algorithms in -interval dynamic networks. In Proceedings of the 32nd ACM Symposium on Parallelism in Algorithms and Architectures, pages 317–327, 2020. doi:10.1145/3350755.3400228.
- [32] Michael König and Roger Wattenhofer. On local fixing. In Roberto Baldoni, Nicolas Nisse, and Maarten van Steen, editors, Proceedings of the 17th International Conference on Principles of Distributed Systems (OPODIS), Nice, France, volume 8304 of Lecture Notes in Computer Science, pages 191–205. Springer, 2013. doi:10.1007/978-3-319-03850-6_14.
- [33] Janne H. Korhonen and Joel Rybicki. Deterministic subgraph detection in broadcast CONGEST. In Proceedings of the 21st International Conference on Principles of Distributed Systems (OPODIS 2017), pages 4:1–4:16, 2017. doi:10.4230/LIPIcs.OPODIS.2017.4.
- [34] Fabian Kuhn, Nancy Lynch, and Rotem Oshman. Distributed computation in dynamic networks. In Proceedings of the forty-second ACM symposium on Theory of computing, pages 513–522, 2010. doi:10.1145/1806689.1806760.
- [35] Fabian Kuhn, Yoram Moses, and Rotem Oshman. Coordinated consensus in dynamic networks. In Proceedings of the 30th annual ACM SIGACT-SIGOPS symposium on Principles of distributed computing, pages 1–10, 2011. doi:10.1145/1993806.1993808.
- [36] Quanquan C Liu. A note on improved results for one round distributed clique listing. Information Processing Letters, 181:106355, 2023. doi:10.1016/J.IPL.2022.106355.
- [37] Merav Parter, David Peleg, and Shay Solomon. Local-on-average distributed tasks. In Proceedings of the Twenty-Seventh Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 220–239. SIAM, 2016. doi:10.1137/1.9781611974331.CH17.
- [38] Seth Pettie and Hsin-Hao Su. Distributed coloring algorithms for triangle-free graphs. Information and Computation, 243:263–280, 2015. doi:10.1016/J.IC.2014.12.018.
- [39] Shay Solomon. Fully dynamic maximal matching in constant update time. In 2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS), pages 325–334. IEEE, 2016. doi:10.1109/FOCS.2016.43.
- [40] Haifeng Yu, Yuda Zhao, and Irvan Jahja. The cost of unknown diameter in dynamic networks. Journal of the ACM (JACM), 65(5):1–34, 2018. doi:10.1145/3209665.
Appendix A Tables
In the appendix, we provide tables that summarize our results for subgraph finding beyond cliques.
A.1 Membership-Listing
We establish a complete characterization of the bandwidth complexity of -round dynamic for any target subgraph , for any number of rounds , under any single type of topological change. We emphasize that, while is assumed to be a constant-size graph, here we allow to be a function of . See Table 1 for a summary of our results. Refer to Definitions 2.10 and 2.12 for the definition of and .
A.2 One-Round Membership-Detection
We investigate the one-round bandwidth complexity of the problem under any single type of topological change. A summary of our results is provided in Table 2. For the definitions of , , and , see Definitions 2.1 and 2.3.
| Complete multipartite graphs | Others | |||||
| Stars | -cliques | Others | ||||
| Edge insertions | Impossible | |||||
| [New] | [6] | [6] | [1.3] | [New] | [2.9] | |
| Node insertions | [2.11] | |||||
| [6] | [New] | [2.14] | ||||
| Edge deletions | ||||||
| [6] | [New] | |||||
| Node deletions | Impossible | |||||
| [6] | [New] | [New] | [New] | [New] | ||
To see that the table for node deletions covers all cases, observe that implies because , and from ˜2.4 we infer that implies . In the table for the remaining three types of topological changes, refer to the paragraph at the end of Section 2.3 for why complete multipartite graphs characterize one-round solvability.
For node deletions, our -bandwidth algorithm for the case where works for all complete multipartite graphs . Recall from ˜2.9 that a connected graph with at least three nodes is complete multipartite if and only if . For node deletions, the only case where we are unable to obtain a tight bound is when and . A notable example of such a graph is the -cycle .
A.3 One-Round Listing
We investigate the one-round bandwidth complexity of the problem of for edge deletions and node deletions. For edge deletions, we obtain a complete characterization. For node deletions, we obtain an almost complete characterization, except for the case where . See Table 3 for a summary of our results. Refer to Definitions 2.1 and 2.3 for the definition of , , and .
| Edge deletions | Impossible | |||
| [New] | [New] | [New] | [New] | |
| Node deletions | Impossible | |||
| [New] | [New] | [New] | [New] | |
