Time Complexity of Broadcast and Consensus for Randomized Oblivious Message Adversaries
Antoine El-Hayek, Monika Henzinger, Stefan Schmid

TL;DR
This paper studies broadcast and consensus in stochastic dynamic networks, showing that these tasks can be completed rapidly with high probability when communication occurs along random rooted trees, contrasting with worst-case models.
Contribution
It introduces a randomized oblivious message adversary model and proves fast completion times for broadcast and consensus in such stochastic networks.
Findings
Broadcast completes in O(k + log n) rounds.
Consensus completes in O(k + log n) rounds for k ≤ 0.1n.
Random rooted trees enable rapid information dissemination.
Abstract
Broadcast and consensus are most fundamental tasks in distributed computing. These tasks are particularly challenging in dynamic networks where communication across the network links may be unreliable, e.g., due to mobility or failures. Indeed, over the last years, researchers have derived several impossibility results and high time complexity lower bounds (i.e., linear in the number of nodes ) for these tasks, even for oblivious message adversaries where communication networks are rooted trees. However, such deterministic adversarial models may be overly conservative, as many processes in real-world settings are stochastic in nature rather than worst case. This paper initiates the study of broadcast and consensus on stochastic dynamic networks, introducing a randomized oblivious message adversary. Our model is reminiscent of the SI model in epidemics, however, revolving around…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOpportunistic and Delay-Tolerant Networks · Distributed systems and fault tolerance · Complex Network Analysis Techniques
Time Complexity of Broadcast and Consensus for
Randomized Oblivious Message Adversaries ††thanks: This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No. 101019564).
This work was further supported by the Federal Ministry of Education and Research (BMBF) project, 6G-RIC: 6G Research and Innovation Cluster, grant 16KISK020K, and the Austrian Science Fund (FWF) and netIDEE SCIENCE project P 33775-N.
Antoine El-Hayek
Faculty of Computer Science
UniVie Doctoral School Computer Science DoCS
University of Vienna, Austria
Monika Henzinger
Faculty of Computer Science
University of Vienna, Austria
Stefan Schmid
TU Berlin, Germany
Abstract
Broadcast and consensus are most fundamental tasks in distributed computing. These tasks are particularly challenging in dynamic networks where communication across the network links may be unreliable, e.g., due to mobility or failures. Indeed, over the last years, researchers have derived several impossibility results and high time complexity lower bounds (i.e., linear in the number of nodes ) for these tasks, even for oblivious message adversaries where communication networks are rooted trees. However, such deterministic adversarial models may be overly conservative, as many processes in real-world settings are stochastic in nature rather than worst case.
This paper initiates the study of broadcast and consensus on stochastic dynamic networks, introducing a randomized oblivious message adversary. Our model is reminiscent of the SI model in epidemics, however, revolving around trees (which renders the analysis harder due to the apparent lack of independence). In particular, we show that if information dissemination occurs along random rooted trees, broadcast and consensus complete fast with high probability, namely in logarithmic time. Our analysis proves the independence of a key variable, which enables a formal understanding of the dissemination process.
More formally, for a network with nodes, we first consider the completely random case where in each round the communication network is chosen uniformly at random among rooted trees. We then introduce the notion of randomized oblivious message adversary, where in each round, an adversary can choose edges to appear in the communication network, and then a rooted tree is chosen uniformly at random among the set of all rooted trees that include these edges. We show that broadcast completes in rounds, and that this it is also the case for consensus as long as .
1 Introduction
Broadcast and consensus are most fundamental operations in distributed computing which, in large-scale systems, typically have to be performed over a network. These networks are likely to be dynamic and change over time due, e.g., to link failures, interference, or mobility. Understanding how information disseminates across such dynamic networks is hence important for developing and analyzing efficient distributed systems.
Over the last years, researchers have derived several important insights into information dissemination in dynamic networks. A natural and popular model assumes an oblivious message adversary which controls the information flow between a set of nodes, by dropping an arbitrary set of messages sent by some nodes in each round. Specifically, the adversary is defined by a set of directed communication graphs, whose edges determine which node can successfully send a message to which other node in a given round. Concretely, based on this set of graphs, the oblivious message adversary chooses a sequence of graphs over time, one per round, in such a way that the time complexity of the information dissemination task at hand is maximized. This model is appealing because it is conceptually simple and still provides a highly dynamic network model: The set of allowed graphs can be arbitrary, and the nodes that can communicate with one another can vary greatly from one round to the next. It is, thus, well-suited for settings where significant transient message loss occurs, such as in wireless networks. As information dissemination is faster on dense networks, we focus in this paper on sparse networks, in particular, on rooted trees, similar to prior work on the oblivious message adversary [13, 28].
Unfortunately, information dissemination can be slow in trees: broadcast can take time linear in the number of nodes under the oblivious message adversary[13, 28], even for constant-height trees (see Appendix A); and consensus can even take super-polynomial time until termination, if it completes at all [6, 18]. While this is bad news, one may argue that while the deterministic adversary model is useful in malicious environments, in real-word applications, the dynamics of communication networks is often more stochastic in nature. Accordingly, the worst-case model considered in existing literature may be overly conservative.
This motivates us, in this paper, to study information dissemination, and in particular broadcast and consensus tasks, initially in the case where the communication network is purely stochastic: in each round, the communication network is chosen uniformly at random among all rooted trees. We then initiate the study of an extension of this model to a setting where an adversary has some limited control over the communication network, which we call the randomized oblivious message adversary. More specifically, we study the setting where first a worst-case adversary chooses directed edges in the dynamic -node network for , and then a rooted tree is chosen uniformly at random among the set of all rooted trees that include these edges. With our parameterized approach, we can get a smooth transition between the purely stochastic model () and the completely deterministic adversary () typically studied in prior work.
We show that under our randomized oblivious message adversary broadcast completes in time with high probability. Note that for this is an exponential improvement over the deterministic setting. Furthermore, we also show that consensus completes and is fast, with high probability: namely in time for , and it only requires messages of constant size along each edge in each round (only 1 bit).
It is useful to put our model into perspective with the SI model in epidemics [11]: while in the SI model interactions occur on a network that equals a clique, our model revolves around trees which are chosen by an adversary. This tree structure renders the analytical understanding of the information dissemination process harder, due to the lack of independence between the edges in the network in a particular round. A key insight from our paper is that we can prove the independence of a key variable, which is crucial for our analysis. Our proof further relies on stochastic dominance, which makes it robust to the specific adversarial objective, and applies to any adversary definition (e.g., whether it aims to maximize the minimal or expected number of rounds until the process completes).
Model.
In a first model, that we call the Uniformly Random Trees model, let be the number of nodes, and let each node have a unique identifier from . Let be the set of all directed rooted trees on vertices (where all edges are pointed away from the root). Time proceeds in a sequence of rounds such that in each round a network is chosen uniformly at random from independently from other rounds, and that network will be the communication network for the corresponding round. In each round, every node sends a message to all of its out-neighbors before receiving one from its in-neighbor. There is no message size restriction. In this setting, we will study broadcast, all-to-all broadcast and consensus.
Broadcast.
In the Broadcast on Uniformly Random Trees problem, we start by giving a message to one node, and broadcast completes when that node has forwarded this message to all other nodes. Each node that received the message can replicate it as many times as needed, and start forwarding it as well. Communication networks are chosen according to the Uniformly Random Trees model.
We prove the following theorem:
Theorem 1.1**.**
Broadcast on Uniformly Random Trees completes within rounds with probability .
We also show that this result is asymptotically tight. Indeed, we cannot hope for a similar probability for a number of rounds that is :
Theorem 1.2**.**
If , then the probability that Broadcast on Uniformly Random Trees fails to complete within rounds is at least .
All-to-All Broadcast.
In the All-to-All Broadcast on Uniformly Random Trees problem, we start by giving a distinct message to each node, and each node must forward this message to all other nodes. In each round, each node forwards all the messages it has received in previous rounds to all its out-neighbors. Communication networks are chosen according to the Uniformly Random Trees model. We prove the following theorem:
Theorem 1.3**.**
All-to-All Broadcast on Uniformly Random Trees completes within rounds with probability .
Consensus.
In the Consensus on Uniformly Random Trees problem, we start by giving a value to each node , and each node must decide on a value in . This should satisfy the following conditions:
- •
Agreement: No two nodes decide differently.
- •
Termination: Every node eventually decides.
- •
Validity: The value the nodes agree on should be one of the input values .
Communication networks are chosen according to the Uniformly Random Trees model. We prove the following theorem:
Theorem 1.4**.**
There exists a protocol for Consensus on Uniformly Random Trees that satisfies Agreement and Validity, terminates within rounds with probability , and only requires messages of 1 bit over each edge in each round.
In our second model an adversary can influence the network that is chosen in each round. The setting where the adversary completely determines the tree was studied in [28, 17] and Broadcast in that model was recently solved: The required number of rounds is [17, 13], while Consensus is unsolvable [6]. We generalize this model and consider the Randomized Oblivious Message Adversary model, where the power of the adversary is controlled by a parameter . In that model, to construct the communication network for a round, the adversary chooses directed edges to appear in the tree, and a rooted tree is chosen uniformly at random among the trees from that include those edges. Note that the case is exactly the case where the adversary chooses all edges in the tree for each round, while the case is where the adversary has no influence. We allow the adversary to access the random tree of all rounds before choosing its edges for round . In this model we analyze Broadcast and Consensus.
Broadcast with a Randomized Oblivious Message Adversary
In the Broadcast with a Randomized Oblivious Message Adversary of parameter problem, we start by giving a different message to each node, and the message of one of those nodes (no matter which one) must be forwarded to all other nodes. Each node can replicate and start forwarding any message it has received, and it forwards as many messages as it wants in any given round. Communication networks are chosen according to the Randomized Oblivious Message Adversary of parameter . We prove the following theorem:
Theorem 1.5**.**
Broadcast with a Randomized Oblivious Message Adversary of parameter completes within rounds with probability .
We show that this overhead of compared to the case where the adversary has no control is inevitable, as the adversary can always delay Broadcast for at least rounds:
Theorem 1.6**.**
If the adversary controls edges in each round, then there exists a strategy that, with probability , guarantees that at least rounds are required.
Consensus with a Randomized Oblivious Message Adversary
In the Consensus with a Randomized Oblivious Message Adversary problem, we start by giving a value to each node , and each node must decide on a value in . This should satisfy Validity, Agreement and Termination as defined above. Communication networks are chosen according to the Randomized Oblivious Message Adversary of parameter . We prove the following theorem:
Theorem 1.7**.**
There exists a protocol for Consensus with a Randomized Oblivious Message Adversary that satisfies Agreement and Validity, and terminates in rounds with probability , and only requires messages of 1 bit over each edge in each round, as long as .
Organisation
The paper is organized as follows: we first introduce combinatorial results on rooted trees in Section 2. We then explore the fully random case in Section 3. In Section 4, we explore the case where the adversary controls edges in each round. We review related work in Section 5, then conclude in Section 6. Appendix A gives a lower bound for deterministic broadcast in constant-height trees. In Appendix B, we give some probability theory results that are useful throughout the paper. Finally, in Appendix C, we include omitted proofs from Section 4.
2 Counting Trees
In this section, we will present previously known and new results on the number of rooted trees that satisfy given properties. This will be helpful for computing probabilities in later sections. Namely, we are particularly interested in the two following results:
Theorem 2.1** (Lemma 1 of [26]).**
Let us be given a directed rooted forest on vertices, and let be the number of edges in . Then, the number of directed rooted trees over vertices, such that is contained by , is .
Theorem 2.2**.**
Let us be given a directed rooted forest on vertices, let be a vertex with no parent in , and be the number of vertices of the component of containing (note that we can have if is an isolated vertex). Then the number of directed rooted trees on vertices, such that is contained in , and such that is the root of , is .
In this section, we will give a different proof to Theorem 2.1, as an analysis similar to that different proof will allow us to prove Theorem 2.2. To do so, we start by recalling Cayley’s formula [2]:
Theorem 2.3** (Cayley’s formula).**
The number of undirected trees on vertices is .
As a corollary of this theorem, we can compute the number of rooted trees on vertices, as choosing a rooted tree is equivalent to choosing an undirected tree, and then choosing a root:
Corollary 2.4**.**
The number of rooted trees on vertices is .
Throughout this section we use to denote an undirected or directed forest and of vertices with integer to denote the connected components of (the undirected version of) . The next theorem on undirected trees gives the number of undirected trees which respect a set of fixed edges. It was shown by Lu, Mohr and Székely [24].
Theorem 2.5** (Lemma 6 of [24]).**
Let us be given an undirected forest on vertices, with connected components of vertices with integer . Let be the number of edges in . Then, the number of undirected trees on vertices, such that is contained in , is:
[TABLE]
In the rooted case the formula is simpler, as one can drop the product of . For this, let us first recall the definition of a directed rooted forest:
Definition 2.6** (Directed Rooted Forest).**
A directed rooted forest is a collection of disjoint directed rooted trees.
See 2.1
As stated above, we will give a new proof for this theorem. For simplicity, we will always require that , which is always achievable by putting isolated vertices in trivial components. For any directed graph , will represent its undirected version. For any directed rooted tree , its root is denoted by . We will also use the following bijection. Recall that is the set of all directed rooted trees on vertices. We use to denote the set of all undirected trees on vertices.
Definition 2.7**.**
Let be the set of all undirected trees on vertices. We define to be the following bijection:
[TABLE]
To prove Theorem 2.1, we will first look at all the rooted trees that agree with if edge directions are ignored. Choosing such a tree is equivalent to choosing an undirected tree that contains , then choosing a root. This results in trees. However, while all of them agree with on the undirected edges, the direction of those edges will not correspond for a majority of them. We will then partition this set of trees such that only one element of each set of the partition agrees with on the directed edges, and counting the number of sets in the partition will yield the desired result. To do so, we will use group actions.
Definition 2.8** (Group action).**
If is a group with identity element , and is a set, then a (left) group action of on is a function
[TABLE]
that satisfies the following two axioms:
- •
Identity: , where is the identity element of .
- •
Compatibility:
Definition 2.9** (Rotations).**
Let be an integer and let be the group of all rotations of , that is, the set of functions:
[TABLE]
Definition 2.10**.**
Let be a forest with vertices in (rooted and directed or undirected), and a tree with vertices in (rooted and directed or undirected). We say that they are undirected-compatible if , where represents the undirected version of graph . If and are both rooted and directed or both undirected, we say that they are compatible if .
Definition 2.11**.**
Let us be given a directed rooted forest with vertices in . is the set of directed rooted trees on vertices that are undirected-compatible with .
The following lemma follows almost immediately from Theorem 2.5.
Lemma 2.12**.**
Let be a directed rooted forest with vertices and edges. Then .
Proof.
Let be the set of all undirected rooted trees that are undirected-compatible with . induces a bijection between and . Therefore, . By Theorem 2.5, . ∎
Definition 2.13**.**
For any , there exists a bijection between and . Let be that bijection.
Let . Note that is a group as a cartesian product of groups. We now define a group action of on . This group action will allow us to partition as desired.
Definition 2.14** (Group Action of on ).**
Given a forest with connected components with and corresponding bijections , let be the group action of on defined as follows: Let for some be an element of and let . Then is obtained from by making the following modifications to :
- •
For every such that , there is one (and only one) path from to in . Let be the only edge on that path such that . Replace edge with edge .
- •
For such that for some , set to .
The group action returns this modified tree rooted at .
To prove that this is indeed a group action, we need to verify (1) that is indeed in , (2) that the identity element of verifies for any , and (3) that for any two , for any , we have . The second condition being trivial as is the identity function for any value of , we only prove the other two.
Lemma 2.15**.**
.
Proof.
Let us first show that is an undirected tree. As it has edges, we only need to show that it is connected. Let be a vertex. We need to show that it can be reached from . Let be the (only) path from to in , written as a sequence of vertices. Then we can split up into , where each is a sequence of vertices that all belong to the same for some . We will now replace each of the by another path to make a path from to in .
Consider every edge where is the last vertex of for some , and is the first vertex of . There exists some such that . Then is the path from to in . Then . Replace by in .
Let us now look at a particular , and let be such that all of the vertices of belong to , then its first vertex has been changed to another vertex of , while all others are unchanged. Hence, the first and last vertex still belong to . As is connected in since no edge inside has been modified, there exists a path in that connects that first and last vertex of . We can thus replace by .
The new path now correctly connects and in , which shows that it is connected. Rooting at gives . Hence is a tree. Since no edge in any particular has been modified, is compatible with . ∎
Lemma 2.16**.**
For any , and we have that .
Proof.
Let and . Let be such that , then , and . And then, for every , the path from any of those roots to in will include the path from to which in turn will include the edge such that , then the corresponding edge is in , and in . Hence, it is in . We thus have . ∎
As we plan to use Lagrange’s theorem for group actions, we now compute the stabilizer of a tree , which is the set of all rotations that do not modify the tree:
Lemma 2.17**.**
, for every .
Proof.
Let be a rotation such that . We obviously have that . Let ,
- •
Either , in which case , which implies that , therefore , and hence .
- •
Or . In that case, we look at the path from to in both and . These two paths must be the same. However, if the first element of that path in that is in is some vertex , then in , it is . We conclude that and thus .
We therefore have that for every , which proves that . ∎
We now take a look at the orbit of a tree . The group action ensures that the orbits in form a partition of .
Theorem 2.18** (Corollary 10.23 of [27]).**
Let be a group, a set and a group action of on . Let be an element of , and . Then we have that:
[TABLE]
Lemma 2.19**.**
Let, for every , . Then .
Proof.
By Theorem 2.18, we have that ∎
We now show that exactly one tree in each orbit is compatible with .
Lemma 2.20**.**
Let . Then there exists exactly one such that is compatible with .
Proof.
Let be a tree such that is compatible with , and let be the rotation such that . Let, for every , be the root of in and let be such that . Then we must have that and thus .
For every such that , look at the path from to in , and its corresponding path in , computed similarly to the proof of Lemma 2.15. In , the first vertex of that path in must be , but it also is , where is the first vertex of the path in . Hence .
These conditions uniquely determine , and, thus, . Conversely, setting with each defined as above gives a tree that is compatible with . ∎
We can now prove Theorem 2.1, which we recall below:
See 2.1
Proof.
Consider set as defined in Definition 2.11. We know that every directed rooted spanning tree in such that is contained by is in . We can partition in orbits of the group action defined in Definition 2.14. By Lemma 2.19, each orbit has elements, and thus we have orbits, which is equal to by Lemma 2.12. Lemma 2.20 ensures that exactly one element in each orbit is a directed rooted spanning tree in such that is contained by . ∎
Using a very similar technique, we prove next Theorem 2.2:
See 2.2
Proof.
Let be the set of all undirected trees on vertices that are undirected-compatible with . If are the components of , with respective cardinality , where . This implies that . By Theorem 2.5, . Rooting all of those trees at creates the set of all rooted trees on vertices that are undirected-compatible with , rooted at . Defining the group action as above (by using rotations on all for ), we can partition into orbits. Each orbit has size , so we have orbits, and in each orbit, exactly one tree is compatible with , hence the result. ∎
3 The Uniformly Random Trees Model
We will now be able to give a precise description of how information flows in the random network over time. Indeed, the theorems of the previous section will allow us to find the probability that a set of edges exists in a uniformly chosen random tree. Since all nodes are symmetric, we will at each step, divide the nodes into two sets: the set of nodes that have received the message, called informed nodes, and the set of remaining nodes, called uninformed nodes. We study how grows over time.
For the rest of the section, and will, respectively, be the set of nodes that are informed and uninformed after round . We set and , where is the node that initially holds the message, to be the number of informed nodes after rounds, and to be the tree chosen at random in round . For a tree , for each node , is the (unique) parent of node in , unless is the root of , in which case . Simplifying the notation, we also use to denote . We use where is a set and an integer to represent the set of subsets of of size .
The central lemma of the proof is the following lemma, which characterizes how many new nodes get informed in each round, depending on how many were informed after the previous round. This lemma shows that uninformed nodes get informed independently from each other.
Lemma 3.1**.**
For any , follows a binomial distribution with parameters .
The proof of this lemma shows that every uninformed node has probability of having an informed parent in round , independently of whether the other uninformed nodes have an uninformed parent.
Proof.
Let and . We then have, for any integer :
[TABLE]
Our goal is to show that the events for different are mutually independent. Let us look at the event for any (note that we do not require that has a specific size here). We can then write, indexing on :
[TABLE]
Now consider the forest that is composed of stars whose centers are the and whose leaves are the nodes . More specifically, consider the forest that contains the edges . Note that equals the number of rooted trees that are compatible with this forest. By Theorem 2.1, we have that . This allows us to compute the above probability as follows:
[TABLE]
This proves that the events for any two are mutually independent (Definition B.7), each having probability . Going back to the first equation of this proof, we can now compute, using Lemma B.8:
[TABLE]
∎
Our next goal is to show that with high probability for all . To do so we introduce a random variable that we use to lower bound .
Definition 3.2**.**
Let be the random variable that is defined as follows:
[TABLE]
Lemma 3.3**.**
For every , we have that .
Proof.
Note that cannot go higher than because it is the number of nodes informed after round , which is at most .
We will prove the rest by induction on . For the induction basis note that by definition . For the induction step let us assume that for some . Consider first the case that . Since no informed node can become uninformed, we have that , as desired. Next consider the case that . Then and . As the function is strictly increasing for , this proves that , as desired. ∎
Lemma 3.4**.**
For every , we have that .
Proof.
We will again show this by induction. For the induction basis note that by definition . For the induction step let us assume that for some . We then have two cases, either and the result holds trivially, or . Since , we have that . ∎
Lemma 3.5**.**
For every , we have that , if .
Proof.
We show this claim by induction on . As and , it is trivially true for . Assume it is true for . Then , where the last inequality holds by noting that is a convex combination of and , the latter of which being strictly smaller than . ∎
Essentially, this means that never reaches , and thus that is always strictly larger than if :
Corollary 3.6**.**
We have that if and only if .
Lemma 3.7**.**
Let be the -th round such that and let . Then . Moreover, we have that .
Proof.
We show the claim by induction on . By definition of we have that . Thus the induction basis follows.
For the induction step assume next the result is true for some . Note that for every , it holds that . Indeed, we have that . Thus,
[TABLE]
∎
Lemma 3.8**.**
If , then .
Proof.
Since is non-decreasing and upper-bounded by , it suffices to show that . We will do so by using its lower bound . We have that:
[TABLE]
Where we used that and for . Since by Lemma 3.3, and since , we have that . ∎
We now state a result due to Greenberg and Mohri [19], that will give us an estimate of the probability of strictly increasing in a given round.
Theorem 3.9** (Theorem 1 of [19]).**
For any positive integer and any probability such that , let be a binomial random variable of parameters . Then, the following inequality holds:
[TABLE]
Lemma 3.10**.**
If , for every , we have that
Proof.
By Corollary 3.6, we have that if and only if . This implies that . By Lemma 3.1, follows a binomial distribution of parameters for any . Thus the expected value of is . We have multiple cases to consider:
Case 1: If , then has expected value . We will show below that , implying that, by Theorem 3.9, the result holds.
The function is strictly increasing between and , using that when , we have that:
[TABLE]
Therefore , which implies that . This further implies that and therefore .
Case 2: If , then . Therefore since .
Case 3: If , then since .
Case 4: If , then .
∎
Let be Bernoulli independent random variables of parameter . Let and .
Corollary 3.11**.**
For any , we have that .
Lemma 3.12** (Hoeffding’s inequality for binomial distributions [21]).**
Let be a binomial random variable with parameters . We then have, for any :
[TABLE]
Lemma 3.13**.**
Let . Then .
Proof.
Note that is a binomial distribution of parameters . Using Hoeffding’s inequality, we have that:
[TABLE]
Corollary 3.11 then gives the desired result. ∎
We now have all the tools to prove Theorem 1.1, which we recall here:
See 1.1
Proof.
By Lemma 3.13, we have that, with probability , for at least many rounds within the first rounds. Recall that is the -th round where . We thus have that . But, by Lemma 3.8 the event implies the event , therefore . ∎
We now show that this result is asymptotically tight. Indeed, we can show that if at most rounds are allowed, then with probability , Broadcast does not complete:
See 1.2
Proof.
We will first show by induction that for every . We will then conclude using Markov’s inequality.
The induction basis is clear as . For the induction step, assume that for some , we have that . Let us show that this implies that . Indeed, by Lemma 3.1, has a binomial distribution of parameters and . This implies that:
[TABLE]
Therefore:
[TABLE]
As , we have that . This implies:
[TABLE]
Note that we have that, by Lemma 3.7:
[TABLE]
Since is strictly increasing between [math] and , with both and falling in that range (Lemmata 3.3 and 3.4), the induction hypothesis implies that . This implies .
We know the value of from Lemma 3.7. We can thus give the upper bound , since . Using Markov’s inequality, we thus have:
[TABLE]
∎
We now use this result to get a similar result for All-to-all Broadcast. Using a union-bound, we obtain:
See 1.3
Proof.
Let be the random variable that represents the number of nodes that are informed after round of the message given to node . By Theorem 1.1, we know that for every . Using a union-bound, we get that:
[TABLE]
And thus:
[TABLE]
∎
We now finally recall Theorem 1.4, that states a result on Consensus:
See 1.4
Proof.
Algorithm 1 is an algorithm where everyone agrees on , the input to node , and where only is passed along. Thus every node outputs either or . However, if has broadcast within the first rounds, then everyone outputs . This happens with probability , by Theorem 1.1. ∎
Note that Algorithm 1 can be adapted to different variants for Consensus. To keep our presentation concise, we do not explore them further in detail. For example, the version given here satisfies the condition that no node continues to communicate after it has decided on a value, but Consensus does not complete with probability after everyone has decided as some nodes might output . A different definition of Consensus could allow each node to send messages after it decides on a value, in which case a different version of the algorithm could be given, where each node can decide as soon as it receives the value .
4 The Randomized Oblivious Message Adversary
In this section, we consider a more general model where a parametrized adversary controls a certain number of edges in every round, and the others are chosen randomly. More specifically, in each round, the adversary chooses edges such that the resulting graph is a directed rooted forest , and then a tree is chosen uniformly at random among the rooted trees that are compatible with . We consider the model where the adversary has access to the randomly chosen trees of all previous rounds, but has no information on the random coin flips of the current and future rounds.
Let us start by understanding how Broadcast works in this model. Here, we start by giving each node a message, and in each round each node can make copies of all messages it has previously received and send them to all its out-neighbors. There is no restriction on the number of copies nor the size/number of messages that can be sent per round. The goal of the adversary is to delay the number of rounds until one message is broadcast to all nodes.
Note that in the case , this is the deterministic case where in each round the adversary gets to exactly choose which tree is the communication network of the round. This is exactly the model studied in [13], where it was shown that the adversary cannot delay broadcast for more than .
Theorem 4.1** (Theorem 3.6 of [13]).**
The adversary cannot delay broadcast for more than rounds.
We will prove the following theorem:
Theorem 4.2**.**
If the adversary controls edges in each round, then with probability , broadcast completes within rounds.
In order to understand how tight this bound is, we first give a lower bound on how many rounds the adversary can delay broadcast:
See 1.6
Proof.
Let the adversary choose the set of edges in all of the rounds. Then for any node , every message it has received must have been received by in a strictly smaller round, unless that message is the one given initially to . Let be a message that has been broadcast. In particular, has been received by all nodes in . If was given initially to some node such that or , then must have needed rounds to travel from node to node . If on the other hand, it was a message initially given to a node , then must have needed rounds to travel from node to node . ∎
Let us now concentrate on the upper bound. We will consider two cases, one case where is large, and where we will use Theorem 4.1, and one where is small, where we will use a similar analysis to Section 3.
Lemma 4.3**.**
If , then the adversary cannot delay broadcast for more than rounds.
Proof.
By Theorem 4.1, the adversary cannot delay broadcast for more than rounds even if the adversary controls all edges. Since , we have the result. ∎
We will now prove the result for . To do so, we will introduce an alternative adversary whose goal is to maximize the number of rounds until node has broadcast, independently of whether other nodes have broadcast or not. Clearly, this is in favour of the adversary and will not result in a smaller number of rounds than against . Thus any upper bound on the number of rounds needed by is also an upper bound for .
For the rest of the section, and will, respectively, be the set of nodes that are informed and uninformed after round . We set and , to be the number of informed nodes after rounds, and to be the tree chosen at random in round . For a tree , for each vertex , is the (unique) parent of node in , unless is the root of , in which case . Simplifying the notation, we also use to denote .
We start by finding the best strategy could use and then analyze that strategy.
4.1 Best Strategy for the Alternative Adversary A’
To find the best strategy the adversary can use, we will use the notion of stochastic dominance. Intuitively, if a strategy yields more informed nodes than another one, then the adversary will choose the latter one. Stochastic dominance is the tool we use to formalize this.
Definition 4.4** (Stochastic Dominance).**
We say that a real random variable stochastically dominates another real random variable , if, for every , we have that .
For any set , let be the set of all subsets of .
Definition 4.5** (Stochastic dominance).**
We say that a random variable with values in stochastically dominates another random variable with values in , if, for every , we have that .
With stochastic dominance, we will use a related notion, that is coupling. Coupling is a useful tool to compare two random variables, and in particular, it helps translate probabilistic events into deterministic ones, which are easier to analyze.
Definition 4.6** (Coupling).**
A coupling of two random variables is a third random variable such that has the same distribution as , and has the same distribution as .
Theorem 4.7** (Stochastic Dominance and Coupling, Theorem 7.1 of [7]).**
If a real random variable stochastically dominates another real random variable , then there exists a coupling of and such that
[TABLE]
Theorem 4.8** (stochastic dominance and coupling, Theorem 7.8 of [7]).**
If a random variable with values in stochastically dominates another random variable with values in , then there exists a coupling of and such that
[TABLE]
Lemma 4.9**.**
[Distribution Domination] Let be a round. Let be two sets of edges the adversaries could choose for round . Let (resp. ) be the number (resp. set) of informed nodes after round if is chosen, and (resp. ) if is chosen. Then if for every (that is, if stochastically dominates ), then choosing is a better strategy for the adversary than choosing .
Intuitively, the way to prove this is to build, for any strategy the adversary might use after choosing , another strategy that would work better if used after choosing . To prove that it is indeed the case, we couple these two strategies to prove that after any round, the number of informed nodes in one strategy stochastically dominates the number of informed nodes in the other one. The full details of the proof can be found in Appendix C.
The next step is to show that the adversary will never force an edge from an informed node to an uninformed one. Indeed, intuitively, this means the adversary forces a node to be informed, which is against its interests. To do so, we introduce the notions of non-increasing and increasing trees, and show that will never choose an increasing tree.
Definition 4.10**.**
A rooted tree in a round is said to be non-increasing in round if all edges in whose source is in have their target in as well. Otherwise a tree is (information)-increasing in round .
To show that the adversary never uses an increasing tree, we introduce the notion of a correction of an increasing tree, which will be non-increasing, and show that choosing the correction is a better strategy for the adversary than choosing the increasing tree.
Definition 4.11** (Isomorphism).**
We say that a rooted tree on nodes is isomorphic to a rooted tree on nodes if there exists a bijection from to such that for every (directed) edge , we have that , and for every (directed) edge , we have that .
In particular, if is the root of , then is the root of .
Definition 4.12**.**
A correction of a tree that is increasing in a round is a tree over the same nodes as that is non-increasing in round , is isomorphic to , and whose root is a node such that .
Lemma 4.13**.**
For any increasing tree , there exists a correction .
Proof.
Let be the set of nodes of and let . To show the lemma we will give a bijection that maps the uninformed nodes of to the first nodes of in bfs-order and the informed nodes to the remaining nodes of . The resulting tree will be the correction . As a result of this bijection every uninformed node of has only uninformed ancestors and, thus, is non-increasing.
More formally, if is increasing, then there exists an edge such that . Let be a bijection from to such that , and . On another hand, let be a bijection from to such that is the -th node encountered in a breadth-first traversal starting at the root of . Then let . Note that the tree , whose set of edges is is a correction of . Indeed, it is clearly a tree as a relabeling of , over the same nodes as , and for every , is encountered in a BFS before in , therefore , and therefore if , we also have . This means that if , then . ∎
Lemma 4.14**.**
Let be a round and be the number of informed nodes after round . Let be two sets of edges that the adversary could choose for round such that
* is a collection of rooted trees such that at least one tree is information-increasing, and* 2. 2.
* is obtained from by replacing with a correction of .*
Let be the number of informed nodes after round if is chosen, and let be that number if is chosen. Then choosing is a better strategy for the adversary than choosing .
The proof can be found in Appendix C. This lemma proves that the adversary will never choose a set of edges such that one (or more) component is increasing. Indeed, if such components existed, then the adversary would have replaced all of them with non-increasing ones, as this will lead to no fewer and potentially more rounds. Therefore, we can assume in the following that all components are non-increasing.
The next step is to show that if the adversary chooses a forest, all edges will be used in one component. For that, we introduce the notion of merging trees, and show that if the adversary chooses a forest with 2 or more non-trivial components, then merging two of those non-trivial components will yield a better strategy for the adversary.
Lemma 4.15**.**
Let be a round, let be the set of edges forming a directed rooted forest over which the adversary chooses in round such that each component of is non-increasing, and let be uninformed nodes that are roots of their component (which might have size only 1). Note that needs not be the set of the roots of all components, simply a collection of some of them. Let be the number of informed nodes in the component of respectively, and the number of informed nodes outside the components of . Then we have that:
[TABLE]
Proof.
We have that:
[TABLE]
However, many terms of that sum are equal to [math]. Indeed, for example, if is one of the informed nodes in the component of , then . More generally, if the choice of is so that contains an (undirected cycle), in other words, is incompatible with a rooted tree, then . If, on the other hand, the choice of is compatible with a rooted tree, then, applying Theorem 2.1, we have:
[TABLE]
We now have to count how many choices of are compatible with a rooted tree. Let us first assume that none of the nor is equal to [math]. Let denote the set of all such values of , and define as follows: create a forest with (directed) line graphs, each line having respectively nodes. Then is the set of all rooted trees that are compatible with , and whose root is the root of the last tree of .
To determine , we show that there is a bijection between and and determine . To create the bijection first take an arbitrary but fixed bijection that maps every informed node from to a node from , such that an informed node from the component of is mapped to a node of the line of . Then we can map a choice of to a tree by setting the parent in of the root of the line to be for every . Note that this uniquely identifies a tree of . Conversely, to find a choice from a tree , set where is the parent of the root of the -th line of in . Now note that is the set of all rooted trees that are compatible with , and whose root is the root of the last tree of . By Theorem 2.2, , which concludes the proof.
If , it is easy to see that no choice of is compatible with a rooted tree.
If there exists some values of such that , then assume wlog that , and for every . As seen above, there will be choices for . Once this choice is made, for every , can take any value in , where . The total number of choices for is . ∎
The following merge operation combines two trees such as to make a non-informed root the root of the merged tree, if at least one of the roots is non-informed.
Definition 4.16**.**
We say that we merge two non-trivial trees and with respective roots and in round when we apply the following operation:
- •
If , then for every with , replace edge with the edge .
- •
If , then for every with , replace edge with the edge .
Lemma 4.17**.**
Let be a round and be the number of informed nodes after round . Let be two sets of edges that the adversary could choose for round , as follows: let be a collection of rooted trees such that every tree is non-increasing, with at least two non-trivial components with root and with root , and let be obtained from by merging and . Let be the number of informed nodes after round if is chosen, and if is chosen. Then choosing is a better strategy for the adversary than choosing .
The proof of this lemma being fairly technical, we delay it to Appendix C
This lemma implies that the adversary will never choose a set of edges with more than one non-trivial component, i.e., the adversary will choose one tree with nodes. We already showed that the adversary will only choose non-increasing components. Therefore, we are left with analyzing the case where the adversary chooses one non-trivial non-increasing tree with nodes.
Lemma 4.18**.**
Let be a round and be the number of informed nodes after round . Let be a non-increasing tree over nodes in round . Let be the number of uninformed nodes in and the number of informed nodes in . Then the distribution of equals the sum of of independent Bernoulli random variables of parameter plus one Bernoulli random variable of parameter
As this proof is similar to the proof of Lemma 3.1, we delay it to Appendix C.
Corollary 4.19**.**
Let be a round and be the number of informed nodes after round . Let be a non-increasing tree over nodes in round and let be its number of informed nodes in . The optimal strategy for the adversary is to minimize in every round.
Proof.
Note that we always have . Let us consider two non-increasing trees and over nodes. Let (resp. ) be the number of informed (resp. uninformed) nodes in , and (resp. ) be the number of informed (resp. uninformed) nodes in . Assume wlog that . Then . Let and be the number of newly informed nodes after round if the adversary chooses respectively tree or . The distribution of is the sum of at least independent Bernoulli variables of parameter , while is the sum of at most independent Bernoulli variables of parameter at most . The first distribution clearly dominates the second, and by the Distribution Domination Lemma (Lemma 4.9), the result holds. ∎
This shows that the optimal strategy for the adversary is always to choose for the tree it chooses, unless is so large that the number of available uninformed nodes is smaller than , in which case . As the number of informed nodes never decreases, this leads to the following partitioning of the rounds into two phases: one phase which contains all rounds with , in which case , and another phase which contains all rounds with , in which case . We will show that the first phase takes rounds, while the second one takes rounds.
4.2 Phase 1
As the analysis of this phase is very similar to Section 3, we delay the proofs to Appendix C.1. We however state the main result here:
Lemma 4.20**.**
If then Phase 1 ends within rounds with probability .
4.3 Phase 2
Phase two starts when there are only more nodes to infect. This essentially means that the adversary can protect all uninformed nodes but one, as the trees they will choose will have an uninformed root and might get informed in this round, but all uninformed nodes below it will not become informed in the current round.
Lemma 4.21**.**
Let . Phase 2 ends within rounds with probability , if .
Proof.
In each round, by Lemma 4.18, the root of the tree the adversary chooses gets informed with probability , where the inequality holds as and . Assimilating this to a flip of a coin where the coin has probability of landing on heads, and flipping the coins times, we are asking what is the probability of the coin landing on heads at least times. Again, using Hoeffding’s inequality (Lemma 3.12), we have that:
[TABLE]
∎
4.4 Combining Phase 1 and 2
We first combine the results for Phases 1 and 2 to show that broadcast completes in rounds if :
Theorem 4.22**.**
If the adversary can control edges in each round, broadcast completes within rounds with probability
Proof.
This is a direct result of Lemmata 4.20 and 4.21 ∎
And then combine this result with Lemma 4.3, that dealt with the case , to give the general result:
Theorem 4.23**.**
If the adversary can control edges in each round, broadcast completes within rounds, with probability .
Proof.
This is a consequence of Theorem 4.22 and Lemma 4.3 ∎
4.5 Consensus
Finally, we see that a direct application of Theorem 4.22 gives us a reliable algorithm for Consensus with a Randomized Oblivious Message Adversary of parameter , as long as :
See 1.7
Proof.
By Theorem 4.22, node 1 broadcasts within rounds with probability . Therefore, Algorithm 1 achieves consensus within rounds with probability . ∎
5 Related Work
Information dissemination in general and broadcasting in particular are fundamental topics in distributed computing, also because of the crucial role they play for consensus [20]. In contrast to this paper, most classic literature on network broadcast as well as on related tasks such as gossiping, considers a static setting, e.g., where in each round each node can send information to one neighbor [22, 16].
Kuhn, Lynch and Oshman [23] explore the all-to-all data dissemination problem (gossiping) in an undirected dynamic network, where nodes do not know beforehand the total number of nodes and must decide on that number. Ahmadi, Kuhn, Kutten, Molla and Pandurangan [1] study the message complexity of broadcast in an undirected dynamic setting, where the adversary pays up a cost for changing the network.
In dynamic networks, the oblivious message adversary is a commonly considered model, especially for broadcast and consensus problems, first introduced by Charron-Bost and Schiper [4]. The broadcast problem under oblivious message adversaries has been studied for many years. A first key result for this problem was the upper bound by Zeiner, Schwarz, and Schmid [28] who also gave a lower bound. Another important result is by Függer, Nowak, and Winkler [17] who presented an upper bound if the adversary can only choose nonsplit graphs; combined with the result of Charron-Bost, Függer, and Nowak [3] that states that one can simulate rounds of rooted trees with a round of a nonsplit graph, this gives the previous upper bound for broadcasting on trees. Dobrev and Vrto [9, 8] give specific results when the adversary is restricted to hypercubic and tori graphs with some missing edges. El-Hayek, Henzinger, and Schmid [12, 13] recently settled the question about the asymptotic time complexity of broadcast by giving a tight upper bound, also showing the upper bound still holds in more general models. Regarding consensus, Coulouma, Godard and Peters in [6] presented a general characterization on which dynamic graphs consensus is solvable, based on broadcastability. Winkler, Rincon Galeana, Paz, Schmid, and Schmid [18] recently presented an explicit decision procedure to determine if consensus is possible under a given adversary, enabling a time complexity analysis of consensus under oblivious message adversaries, both for a centralized decision procedure as well as for solving distributed consensus. They also showed that reaching consensus under an oblivious message adversary can take exponentially longer than broadcasting.
In contrast to the above works, in this paper we study a more randomized message adversary, considering a stochastic model where adversarial graphs are partially chosen uniformly at random. While a randomized perspective on dynamic networks is natural and has been considered in many different settings already, existing works on random dynamic communication networks, e.g., on the radio network model [14], on rumor spreading [5], as well as on epidemics [11], do not consider oblivious message adversaries. Note, however, that the information dissemination considered in this paper is similar to the SI model for virus propagation, with results having implications in both directions [15]. For example, Doerr and Fouz [10] introduced an information dissemination protocol inspired by epidemics. More generally, randomized information dissemination protocols can be well-understood from an epidemiological point-of-view, and are very similar to the SI model which has been very extensively studied. In contrast to the typical SI models considered in the literature [25], however, our model in this paper revolves around tree communication structures which introduce additional technical challenges. Furthermore, existing literature often provides results in expectation, while we in this paper provide tail bounds.
6 Conclusion
We studied the fundamental problems of broadcast and consensus on dynamic networks from a randomized perspective, studying randomized oblivious message adversaries with parameter . We showed that for small values of information dissemination is significantly faster compared to the deterministic setting.
We believe that our work opens several interesting avenues for future research. In particular, it would be interesting to extend our study of randomized oblivious message adversaries to other information dissemination problems and network topologies. We also believe that our techniques can be useful to analyze other dynamic models, including the SI model in epidemics.
Appendix A Lower Bound for Deterministic Broadcast in Constant Height Trees
In this section, we consider a very similar model to [13], the only difference being that the adversary is restricted to choosing trees of height at most .
Model
. We are given nodes, and these nodes can communicate in synchronous rounds. Each node has a distinct I.D., and aims to share this I.D. with as many nodes as possible. In the beginning, each node only knows its own I.D.. An adversary chooses for each round a directed network along which nodes can communicate, among a set of allowed networks. In each round, each node sends all I.D.s it has received in previous rounds to each one of its out-neighbors. The adversary’s goal it to maximize the number of rounds until broadcast, that is, until one I.D. has been received by everyone. The question is: how many rounds can the adversary delay broadcast, depending on ?
Authors in [13] have shown that if is the set of rooted trees, then the adversary can delay broadcast for a linear number of rounds. Since a linear number of rounds is easily achievable by the adversary simply by taking a line graph , and using as the communication network in each round, one would think that the height of the trees allowed play an important role to determine broadcast time. We give in Figure 1 a counter example, where is the set of rooted trees of height at most , and where broadcast needs at least a linear number of rounds.
In this example, in round , for , the adversary chooses the tree rooted at node , with edges and for every . Since node never has an in-neighbor, broadcast completes when the I.D. of node is shared to every node. It is easy to see that this only happens after round .
Appendix B Probabilities tools
Lemma B.1**.**
Let and be binary random variables such that for every we have that , then the probability distribution of is equal to the probability distribution of .
Proof.
We have, for every :
[TABLE]
∎
Lemma B.2**.**
Let and be binary random variables such that for every , , then the probability distribution of is equal to the probability distribution of .
Proof.
We have, for every :
[TABLE]
∎
Lemma B.3**.**
Let and be binary random variables such that for every , then the probability distribution of is equal to the probability distribution of .
Proof.
We start by proving by induction on the size of , for any such that . This is clear for .
Let such that and . Let be an element of . Then we have:
[TABLE]
Similarly:
[TABLE]
By induction hypothesis, we have:
[TABLE]
Hence:
[TABLE]
The result follows from Lemma B.1, when we take ∎
Lemma B.4**.**
Let and be binary random variables such that for every , then the probability distribution of is equal to the probability distribution of .
Proof.
We start by proving by induction on , that for every for any choice of such that and . This is clear for .
For the induction case, let us assume, that for , we have that for every for any choice of such that and .
Let us fix , and for every such that , let be such that and . Let be an element of . Then we have:
[TABLE]
Similarly:
[TABLE]
By induction hypothesis, we have:
[TABLE]
Hence:
[TABLE]
This concludes the induction step.
The result follows from Lemma B.2, when we take for every , , for . ∎
Lemma B.5**.**
Let and be binary random variables, and such that for any , and then stochastically dominates .
Proof.
We start by proving by induction on the size of , for every such that . This is clear for .
Let such that and . Let be an element of . Then we have:
[TABLE]
Similarly:
[TABLE]
By induction hypothesis, we have:
[TABLE]
Hence:
[TABLE]
We then show by induction on the size of , that for every such that , for any . This is clear for .
Let such that , and . Let be an element of . Then we have:
[TABLE]
Similarly:
[TABLE]
By induction hypothesis, we have:
[TABLE]
Hence:
[TABLE]
We now show that for any , we have that . Indeed, we have:
[TABLE]
∎
Lemma B.6**.**
Let be a random variable that has a binomial distribution of parameters . Then if , we have that as soon as .
In particular, it suffices for to be larger than .
Proof.
If then which means that the events and are the same since the binomial distribution takes only integer values. Hence:
[TABLE]
As the function is positive for and strictly decreasing towards [math] with increasing , it is always positive and thus the second claim holds. ∎
Definition B.7** (Mutually independent events).**
Let be events. They are said to be mutually independent if and only if, for every subset , we have that:
[TABLE]
Lemma B.8**.**
If are mutually independent events, then we have that, for every subsets , :
[TABLE]
Proof.
We will show by induction on the size of that this holds for every such that . It is clear for the case .
Let be a nonempty subset of and a subset of such that . Let . Then we have that, by the induction hypothesis:
[TABLE]
However, we also have that:
[TABLE]
Again, by the induction hypothesis, we have that
[TABLE]
Piecing everything together, we get that:
[TABLE]
∎
Appendix C Ommitted proofs of Section 4
See 4.9
Proof.
Saying that stochastically dominates is equivalent to saying that stochastically dominates .By Theorem 4.8, we introduce a coupling of and such that .
Let be a bijection from to such that . For any , let and be respectively the edges chosen by the adversary in round after choosing , respectively , in round . Let and be respectively the trees in round containing and , respectively. We introduce a coupling such that if then as follows: If , then note that induces a bijection between and . In this case to define the coupling choose uniformly at random from and set . Otherwise to define the coupling choose uniformly at random from and, independently, uniformly at random from . Let and be the set of informed nodes we get after round if the trees in round were respectively .
Let us now assume that the sequence is an optimal strategy for the adversary after choosing in round . Then consider the sequence which chooses in round then in rounds and compare it with the sequence that chooses in round then in rounds . Recall that is optimal after choosing in round . We show by induction that is a better overall strategy for the adversary than . Indeed, we can show by induction on the number of rounds that . The induction basis is trivial as . For the induction step, note that for any , either (1) which, using the induction assumption implies with probability 1 that , or (2) . Case (2) implies (by the definition of the coupling) that with probability , . As and by induction, with probability 1 , it follows that with probability 1, it holds that and, thus, . Hence, in both cases, with probability 1, .
Now note that implies that if is the smallest round at which broadcast completes after the adversary chooses , that is, if , then broadcast completes in a no later round if the adversary chooses . ∎
See 4.14
Proof.
We will build a bijection from to such that for every and any with , we have that . Hence, has more uninformed nodes that become informed than . We will use this property to show that stochastically dominates .
To do so, let be the bijection that achieves the isomorphism of the proof of Lemma 4.13 from to . is constructed in a way such that all nodes have the same parents as in , unless they are in . More specifically, we let where is the tree obtained from by replacing every edge as follows:
- •
if , then replace it with the edge .
- •
if , , then keep it the same.
- •
if , , then keep it the same.
- •
if , then replace it with .
We clearly have that and . Also, for any node , the path from the root to in can be transformed into a path from the root in by replacing the subpath that is in with the path from to in . Hence . Since is clearly an inverse of , we have that is a bijection.
Let be such that . If , then it has the same parent in and in . If , which is a non-increasing tree, then by the fact that the parent of in belongs to it follows that is the root of , and, thus, that its parent does not belong to . By the definition of a correction it follows that the parent of in is informed. As the parent of in is a node of .
We, therefore, have that, for every :
[TABLE]
The lemma now follows from the Distribution Domination Lemma (Lemma 4.9). ∎
See 4.17
Proof.
We will show that for any , we have that . Then the result will follow from the Distribution Domination Lemma.
In the following let be a set of uninformed nodes , let for be the number of informed nodes in the connected component of in and let be the number of informed nodes that do not belong to the connected component of any .
We will analyze the value of when the adversary chooses , and when it chooses . Then two cases can arise: Either the value of is equal whether the adversary chooses or , and this for every , and the result will follow Lemma B.4, or will be the same whether the adversary chooses or for every set except if includes a particular node, where there will be a constant factor difference between the two values, and the result will then follow from Lemma B.5.
As all trees in (respectively ) are non-increasing, the parent in (respectively ) of every non-root node is uniformed. Thus, if there exists a node in that is not a root of (respectively ) then Hence, we only need to analyze the setting where all nodes of are roots in .
Case A: Let us first consider the case in which case the merge of and makes all children of to children of . In that case, and let . We have two subcases: (A1) If , then the number of informed nodes in none of the components with roots in , , remains unchanged. It follows from Lemma 4.15 that is the same whether the adversary chooses or . (A2) If , wlog assume that . Then we have that if the adversary chooses , while if the adversary chooses . Applying Lemma B.5 where we set if the adversary chooses , and if the adversary chooses , and , we have that stochastically dominates . The result follows from the Distribution Domination Lemma.
Case B: Let us now look at the case where . In this case the merge of and makes all children of children of .
We consider again two cases: (B1) If , then this case is symmetric to Case (A1) and the same proof as above applies.
(B2) If , for any , we have that:
[TABLE]
We need to analyze the three sums.
For the first two sums, where both and or neither belong to , the number of informed nodes in none of the components with root in , , is not different in and in and, thus, Lemma 4.15 implies that does not change whether the adversary chooses or .
For the third sum, let be respectively the number of informed nodes in the component of in . Let us first consider the case where the adversary chooses . We have, by Lemma 4.15:
[TABLE]
and
[TABLE]
therefore:
[TABLE]
If the adversary chooses , then has informed nodes in its component in , while has [math] of them. by Lemma 4.15:
[TABLE]
and
[TABLE]
therefore:
[TABLE]
Therefore, has the same value whether the adversary chooses or . Applying Lemma B.4 where we set if the adversary chooses , and if the adversary chooses , we have that and have the same distribution. The result follows from the Distribution Domination Lemma.
∎
See 4.18
Proof.
Let and such that are nodes of , are uninformed nodes of that are not the root, and is the root of . As is non-increasing cannot get informed in round . As the parent of does not belong to , it cannot belong to . We will show that the events uninformed node gets informed in round for different uninformed nodes are mutually independent. To do so we take some and analyze the event , We distinguish two cases.
Case 1: If , then it holds that
[TABLE]
By Theorem 2.1, we have that , and . Therefore it follows that:
[TABLE]
Case 2: If , we have to take extra care of node :
[TABLE]
By Theorem 2.1, we have that , and . Therefore we have that:
[TABLE]
This proves that the events are mutually independent for every , each having probability , except if , which has probability .
∎
C.1 Phase 1
In this phase, To understand how many rounds it takes until , we will follow similar ideas to the ones presented in Section 3. Note that Corollary 4.19 implies that the adversary will choose and in each tree and, thus, Lemma 3.1 implies that follows a binomial distribution with parameters .
Definition C.1**.**
Let be the following random variable:
[TABLE]
Lemma C.2**.**
For every , we have that .
Proof.
The value of cannot go higher than at the beginning of any round in Phase 1, because if it did we would switch to Phase 2. We will prove the rest by induction. By induction, we have that . Let us assume that for some . Then if , since no node goes from uninformed to informed, we have that . If, however, , then and . As the function is strictly increasing for , this proves that . ∎
Lemma C.3**.**
For every , we have that .
Proof.
We show this claim by induction on . For the induction case note that by definition . For the induction step let us assume that for some . We then have two cases, either and the result holds trivially, or . Since by Lemma C.2, we have that ∎
Lemma C.4**.**
For every , we have that , if .
Proof.
We show this claim by induction on . For the induction base note that as , it holds that Thus, the claim is true for . Next assume it is true for . Then , where the last inequality holds by noting that is a convex combination of and , the latter of which being strictly smaller than . ∎
Corollary C.5**.**
We have that if and only if .
Let be the -th round such that and let .
Lemma C.6**.**
If then .
Proof.
Let as an intermediate point. We first show that . Indeed, if , then
[TABLE]
As by Lemma C.3 all , , which implies that for every . This implies that .
Next let . We show that . Indeed, we have, if then
[TABLE]
Thus the distance of to is halved between rounds and if . Since , we have that . Hence it follows that .
∎
Recall the following theorem:
See 3.9
Lemma C.7**.**
If , for every , we have that
Proof.
By Corollary C.5, we have that if and only if . Thus, . Recall that follows a binomial distribution with parameters and . Thus . As we are analyzing Phase 1, we are guaranteed that , i.e., . We have multiple cases:
(1) If , then since .
(2) If , then the probability parameter of the binomial distribution fulfills Thus applying Theorem 3.9 with and gives the result.
(3) If , then , where the last inequality holds as for all . Thus, If , the result now follows from Lemma B.6. If , applying Theorem 3.9 with and gives the result.
∎
Corollary C.8**.**
Let be Bernoulli independent random variables of parameter . Let and . Then for any , we have that .
Lemma C.9**.**
Let . Then .
Proof.
Using Hoeffding’s inequality (Lemma 3.12), we have that:
[TABLE]
∎
We now have all the tools to prove that phase 1 ends in fewer than rounds with high probability:
See 4.20
Proof.
By Lemma C.9, we have that, with probability , for at least many rounds within the first rounds. As is the -th round where , we thus have that . But, by Lemmata C.6 and C.2 , i.e., Phase 1 ends. Thus, with probability , Phase 1 ends within the first rounds. ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Mohamad Ahmadi, Fabian Kuhn, Shay Kutten, Anisur Rahaman Molla, and Gopal Pandurangan. The communication cost of information spreading in dynamic networks. In 39th IEEE International Conference on Distributed Computing Systems, ICDCS 2019, Dallas, TX, USA, July 7-10, 2019 , pages 368–378. IEEE, 2019.
- 2[2] Arthur Cayley. A theorem on trees. Quart. J. Math. , 23:376–378, 1889.
- 3[3] Bernadette Charron-Bost, Matthias Függer, and Thomas Nowak. Approximate consensus in highly dynamic networks: The role of averaging algorithms. In Magnús M. Halldórsson, Kazuo Iwama, Naoki Kobayashi, and Bettina Speckmann, editors, Automata, Languages, and Programming - 42nd International Colloquium, ICALP 2015, Kyoto, Japan, July 6-10, 2015, Proceedings, Part II , volume 9135 of Lecture Notes in Computer Science , pages 528–539. Springer, 2015.
- 4[4] Bernadette Charron-Bost and André Schiper. The heard-of model: computing in distributed systems with benign faults. Distributed Comput. , 22(1):49–71, 2009.
- 5[5] Andrea E. F. Clementi, Pierluigi Crescenzi, Carola Doerr, Pierre Fraigniaud, Francesco Pasquale, and Riccardo Silvestri. Rumor spreading in random evolving graphs. Random Struct. Algorithms , 48(2):290–312, 2016.
- 6[6] Étienne Coulouma, Emmanuel Godard, and Joseph G. Peters. A characterization of oblivious message adversaries for which consensus is solvable. Theor. Comput. Sci. , 584:80–90, 2015.
- 7[7] Frank Den Hollander. Probability theory: The coupling method. Lecture notes available online ( https://pub.math.leidenuniv.nl/probability/lecturenotes/Coupling Lectures.pdf ) , 2012.
- 8[8] Stefan Dobrev and Imrich Vrto. Optimal broadcasting in hypercubes with dynamic faults. Inf. Process. Lett. , 71(2):81–85, 1999.
