C1: Network Decomposition (Low-Diameter Graph Decomposition)
What is network decompositions?
Definitions
[Strong Diameter Decomposition]. Given a graph , and -strong diameter decomposition of is a partition of into vertex-disjoint graphs such that for each , we have
Each connected component of has diameter at most .
The weak diameter decomposition has a weaker requirement for the diameter, i.e., for any two node , there is a path of length at most connecting and (this path can use nodes outside ).
We should notice that in LOCAL model, weak network decomposition is good enough, but in the CONGEST model, we need strong network decomposition.
Applications
The techniques of network decomposition are really useful. There are many many great results obtained by this technique.
Here is a simple example.
. Given an -weak decomposition of the input graph , We can obtain a -coloring
The proof is simple. We color each one by one, which causes the factor. We only need to prove that in each , rounds are enough, which is trivial.
The key is how to obtain such a network decomposition?
Construction of Network Decompositions
Wise men learn from history.
In the following, we consider network decomposition, which means that:
-
Every induced subgraph of a cluster is connected and its diameter at most .
-
The cluster graph can be colored with colors.
Cluster graph : Given a input graph and a set of clusters , the cluster graph induced by is the graph with vertex set and edge set
That is to say, after obtaining a set of clusters, we consider each cluster as a node. Then, we obtain a new graph , this graph can be colored with colors (Each cluster has the same color).
. There exists a network decomposition where .
A Useful Tool: Ruling Sets
Recall that the definition of -ruling set is as follows. Given a graph , and a set is a -ruling set if any two nodes have and for any node , there exists a node such that .
In the following, we will use ruling sets to construct network decomposition.
The algorithm consists of two phases. The first phase is to divide the graph into clusters of small diameter. The second phase is to color the cluster graph produced by the first phase using colors where is the bounded arboricity in .
Phase 1:
-
Make each node into a cluster and let be the set of these singleton clusters.
-
Let . Repeating the following process for times:
- 2.1) Let be the set of clusters of degree at least in the cluster graph .
- 2.2) Applying Ruling-Set() and let be the obtained forest. (here, each cluster is a ‘node’).
- 2.3) Let be the set of merged clusters by applying Merge-Clusters to .
- 2.4) Put clusters in not in joining in the merge to be .
- 2.5) .
- 2.6) .
. There exists an algorithm Ruling-Set on input that can produce a -ruling set in rounds.
. We first show the algorithm. Let denote the node with last bit 0(1). We divide into and and recursively execute the algorithm on and to obtain and . Then, for each node , we remove any other nodes in that has distance to at most . The algorithm ends with returning .
Next, we prove the correctness. The first condition that for any two nodes is at most is clear from the process of the algorithm. We need to show that any node , there is a node such that . At the bottom of the recursive tree, the distance is at most . Why? We can prove it can by contradiction. If there is an node with where , then the algorithm will put it into . So, there is no such a node. Recall that the recursive tree is at most depth, so the backtrace will be times, which means the tree will be merged by times. Then, the distance will be increased by at most times (When we merge trees, we will remove nodes in . That is the reason why the distance may increase). So, the distance is at most.
The depth is and in each level of recursion takes rounds, so the round complexity is proved.
Question: How does the distributed algorithm run recursive algorithms?
Actually, it should be hard. But in Ruling-set algorithm, we only need to care about -hops. So, we do not need to find all and which may take rounds in the LOCAL model where the diameter of the input graph.
Now, let us talk about the Merge-Clusters algorithm.
The input is a forest in a cluster graph, and the output is a new cluster graph which is built from merging clusters in each one of the trees of the input forest.
That is to say, only the singleton cluster does not merge. According to Phase 1, these singleton clusters will not be in . Thus, we obtain a separated cluster .
. If a cluster has depth at most and the diameter of each cluster (node) in the new cluster graph is at most , then, the maximum depth of any new cluster is at most .
The above observation applies to merging for one time. If the merging for times, then, the maximum depth of the new cluster is .
Notice that we obtain the set of clusters in the line of 2.4. So, we need to prove that all nodes are in .
. At the end of Phase 1, each node must belong to some where .
. Recall that the distance between roots (selected nodes in the 3-ruling set) is at least 3. So, the merging of each tree does not influence each other. And, the degree is at most in , so the number of clusters decreases by the ratio of at least . Then, at the end of Phase 1, there is at most one cluster left. Then, a node must be in some .
. The maximum depth of a cluster by the algorithm is bounded by , where .
Phase 2:
- Color with colors in parallel.
- Color clusters sequentially.
By taking , we can prove Theorem 1.
Improved one
. There is a deterministic LOCAL algorithm that computes a -strong network decomposition of in rounds where .
Reference
[1]. Distributed Graph Algorithms. Mohsen Ghaffari.
[2]. Alessandro Panconesi and Aravind Srinivasan. Improved distributed algorithms for coloring and network decomposition problems. In Proc. of the Symp. on Theory of Comp. (STOC), pages 581–592. ACM, 1992.
[3]. Awerbuch, B., Goldberg, A.V., Luby, M. and Plotkin, S.A., 1989, October. Network decomposition and locality in distributed computation. In FOCS (Vol. 30, pp. 364-369).