Abstract 1 Introduction 2 Model 3 Two player algorithms 4 Lower Bound 5 The case of more than two players 6 Applications 7 Conclusion References

Coordination Through Stochastic Channels

Pierre Fraigniaud ORCID Inst. de Recherche en Informatique Fondamentale (IRIF), CNRS and Université Paris Cité, France Boaz Patt-Shamir ORCID School of Electrical Engineering, Tel Aviv University, Israel Sergio Rajsbaum ORCID Instituto de Matemáticas, UNAM, Mexico City, Mexico
Abstract

We consider a stochastic network model consisting of a set of n synchronous processes communicating by message passing. In each round, processes send messages directly to each other over a complete communication graph. The processes do not fail, but messages can be lost. Each message is delivered with probability p, for a given parameter p[0,1]. We study the following optimization version of approximate agreement in this model. We assume that processes start with binary input values, execute an algorithm for a fixed number of rounds, and decide values in [0,1] satisfying the usual validity requirement stating that if all processes start with the same input value, then they should all decide that value. We propose deterministic algorithms that minimize the expected discrepancy, namely, the expected maximum distance between the decided values. We also present lower bounds on the expected discrepancy, which demonstrate the optimality of our algorithms for two processes. Finally, we present applications of our algorithms to solve randomized consensus and randomized approximate agreement.

Keywords and phrases:
Approximate agreement, randomized consensus, stochastic models, topology
Funding:
Pierre Fraigniaud: Additional support from ANR projects DUCAT (ANR-20-CE48-0006), ENEDISC (ANR-24-CE48-7768-01), and PREDICTIONS (ANR-23-CE48-0010), and from the InIDEX Project METALG.
Boaz Patt-Shamir: This research was supported by the Israel Science Foundation, grant No. 1948/21.
Sergio Rajsbaum: Part of this work was done while visiting IRIF, France, supported by ENEDISC (ANR-24-CE48-7768-01) and Ecole Polytechnique Gaspard Monge.
Copyright and License:
[Uncaptioned image] © Pierre Fraigniaud, Boaz Patt-Shamir, and Sergio Rajsbaum; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Probabilistic computation
; Theory of computation Distributed computing models ; Theory of computation Random network models ; Theory of computation Distributed algorithms
Editor:
Dariusz R. Kowalski

1 Introduction

We consider a set of n synchronous processes communicating by sending messages to each other along the edges of a fully connected graph, i.e., for every two processes i and j, there is a directed channel from i to j, and a directed channel from j to i. The processes do not fail, but the channels may fail to deliver messages. In each round, for every directed channel, the message sent through that channel is delivered with probability p, for a given parameter p[0,1].

This model has been called in the past stochastic (dynamic) network, and also sometimes referred to as evolving or temporal stochastic graph model as, in each round, the set of channels through which the messages have been delivered may define a different directed graph. Such a model has been studied since the 1980s, including variants where the probability of the directed graph at each round my depend on the graphs that occurred during the previous rounds, where the random graph at each round may be undirected, or where a random graph distribution is assumed that guarantees that each instantaneous graph, or the union of a few consecutive graphs, is connected with high probability. We refer to the surveys and recent papers [5, 7, 11, 14, 16] for details and references. The stochastic network model is of theoretical interest (e.g., the directed Erdős-Réni random graph model can be viewed as a specific instance of the model), and also of practical interest, e.g. it has been argued that assuming that every link delivers a message independently with some probability p in every round is actually a quite realistic model for uncorrelated transient channel or network interface failures in homogeneous system architectures, e.g., wireless and ad hoc networks [17, 20, 21].

Various problems have been considered before in a stochastic dynamic network, mainly related to broadcast, gossiping, connectivity and routing, as described in the above cited surveys. In this paper we consider the following problem, which can be viewed as an optimization variant of the classic approximate agreement problem [6]. We assume that processes start with binary input values, execute an algorithm for a fixed number of rounds, and decide values in [0,1] satisfying the standard validity requirement stating that (1) if all processes start with the same input value, then they should all decide that value, and (2) otherwise, each process can decide any value in [0,1]. The discrepancy of the algorithm in an execution is the largest difference between any two decided values. Since executions are stochastic, the discrepancy is a random variable, and we seek algorithms with smallest expected discrepancy over all input assignments. For instance, in the case of two processes, and letting q=p1, the directed graph induced by the correct links (i.e., the channels through which the messages were delivered) is picked from 𝒢={,,,-}, where the first two graphs are selected with probability pq each, the third with probability p2 and the fourth with probability q2.

1.1 Our Results

We describe algorithms minimizing the expected discrepancy, showing several interesting, surprising behaviors.

  • We first study the case of two processes in detail, proving tight upper and lower bounds on the expected discrepancy. In particular, we prove a lemma, referred to as the Integrality Lemma, stating that, for optimal algorithms, it is sufficient to assume that the processes always decide integral values, either 0 or 1. We present two algorithms, one that is optimal for p1/2, and one that is optimal for p1/2. Our lower bound technique shows that stochastic settings can be analyzed by following the algebraic topology approach although the latter was initially designed for analyzing protocols in non-stochastic settings [12].

  • When one considers executions conditioned on the event that at least one message is delivered, it is intuitively clear that, when p is large, i.e., when the probability of message delivery is high, it should be possible to obtain small expected discrepancy, namely, going down to 0 as p gets closer to 1. We confirm this intuition with our algorithms. However, we additionally show that this is also the case when q=1p is large, i.e. when the probability of message loss is high. As q gets closer to 1, the expected discrepancy of our algorithms also goes down to 0. In particular, when we discuss the application to randomized consensus, we will see that the probability of error goes down to 0, both when the probability of message loss is either very low or very high (conditioned on the event that at least one message is delivered).

  • We then move on to the case of n>2 processes. We show that the Integrality Lemma does not hold anymore, even for three processes. That is, an optimal algorithm must decide fractional values. As for the case of two processes, we show that there are thresholds for the values of p such that, depending on whether the value of p is smaller or larger than each threshold, a different algorithm minimizes the expected discrepancy. As mentioned above, for two processes, there is a unique threshold θ=1/2, but we show that, for three processes, there are two thresholds θ10.35 and θ2=1/2. We provide optimal algorithms for three processes, one for each interval [0,θ1], [θ1,θ2], and [θ2,1] of message delivery probability p.

  • For the case of a large number of processes n, we design a 1-round algorithm which guarantees an expected discrepancy that goes to 0 when n grows to infinity, except for highly unbalanced input configurations, i.e., when the number of 0s is ω(logn), or when the number of 1s is ω(logn). We however show how to adapt our 1-round algorithm for handling all possible input configurations, at the mere expense of one additional round.

  • Finally, to support our claim that minimizing the expected discrepancy could be useful in applications where processes must decide values within a small ϵ from each other in most executions, and tolerate few executions with large discrepancy – as for clock synchronization, sensor replication, among others (see, e.g. [9]) – we provide some concrete applications. Specifically, we design algorithms solving randomized binary consensus, and randomized approximate agreement, with small error probability. In fact, for two processes, our randomized approximate agreement algorithm also applies to the case of arbitrary inputs in [0,1], or even in , and we can also prove corresponding lower bounds.

Alon et al. [1] consider a model similar to ours, from the information theoretic perspective. They assume binary symmetric channels (BSC), i.e each message is a bit that may be flipped with some constant probability ε>0. Their concern is computing a function (while ours is computing a task). Roughly, they show that for n, any computation over failure-free channels can be emulated, with high probability, over BSC channels with a constant multiplicative overhead. These results are asymptotic and are not applicable to small n values, but they inspired our Theorem 15.

Organization

The model is presented in Section 2. Algorithms for the case of two processes are analyzed in Section 3, and corresponding lower bounds in Section 4, where the integrality lemma is proved. In Section 5 we present our results for the case of more than 2 processes. We discuss applications in Section 6. The conclusions are in Section 7. Some proofs and extensions (i.e. message delivery probabilities that may vary between different channels, and in different rounds, and variance analysis) are omitted from this extended abstract.

2 Model

The stochastic dynamic network model involves a set of n1 processes labeled from 1 to n. For each ordered pair (i,j)[n]×[n] of distinct integers, there is a directed channel from process i to process j. Communication proceeds as a sequence of synchronous rounds. At each round r1, each of the n processes can send one message of arbitrary size to each of the other processes. Every message may however fail to reach its destination: it only succeeds with some probability. Specifically, for each round r1, and for every message sent by process i to process j,

Pr[the message sent by i at round r is received by j]=pi,jr,

where, for every i,j[n] with ij, and for every r1, pi,jr[0,1]. When a message is not received, which occurs with probability qi,jr=1pi,jr, it is lost. The sender of a message is not informed of whether the message reached its destination or not. The probabilities pi,jr, for all (i,j)[n]×[n] and r1, are parameters of the model, and the n processes are aware of their values. We concentrate on the uniform case where there exists p[0,1] such that, for every (i,j)[n]×[n], and every r1, pi,jr=p, and discuss how to generalize our results in the full version. When there are just two processes, they are referred to as players, and called Alice and Bob.

All our algorithms are deterministic. Note however that the outputs of a deterministic algorithm in our stochastic model are random due to the probabilistic nature of the message delivery. We consider one-shot algorithms, i.e., algorithms that execute a fixed number of rounds, and then each process outputs a value.

We study the following optimization version of approximate agreement, that we refer to as the Agreement Optimization problem.

Definition 1 (Agreement Optimization).

Each process i{1,,n} starts with a private input xi{0,1}, and decides a value yi[0,1] subject to the following two conditions:

Termination:

Every process must terminate in a finite number of rounds, k.

Validity:

If all processes start with the same input value x then all processes must decide x.

The objective is to minimize discrepancy defined as max1i<jn|yiyj|.

In stochastic environments, the discrepancy is a random variable. We will concentrate on minimizing the expected discrepancy. In Section 6 we discuss how this implies minimizing probability of error in consensus and approximate agreement.

We will use several times the following consequence of the Validity condition.

 Remark 2.

If processes have the same input value, then they all output that value in any execution. Furthermore, if some processes with input value x receives the same input value x from some set of processes, and nothing from other processes, then it has to decide x.

3 Two player algorithms

We assume in this section, without loss of generality, that Alice has input 0 and Bob has input 1. This assumption is solely for the purpose of presenting the algorithms; none of the two players initially know the input of the other player. We consider only initial configurations with different input values due to Remark 2.

We first consider single round algorithms in Section 3.1, and then extend our results to the case of multiple rounds, in Section 3.2.

3.1 Single round algorithms

In a single round, Alice and Bob send one message each, and hence there are four possible executions, according to whether each message was delivered or not. Remark 2 states that a player who did not receive a message must output its input value. So a single-round protocol can be completely characterized by the outputs made by the players as a response to the reception of a message containing a value different than their input (in all other cases, the output must be equal to the input).

Let us denote by yA[0,1] the output of Alice (with input 0) after receiving a message with value 1 from Bob, and similarly yB[0,1] denote the output of Bob (with input 1) after receiving value 0 from Alice. Each message is delivered with probability p, and dropped with probability q=1p.

We consider two types of 1-round algorithms, which as we shall prove, are optimal, each one on its own range of p.

Agreed Meeting Point y (AMP(y)):

The algorithm specifies an arbitrary meeting point y[0,1], and sets yA=yB=y. That is, if a player receives a value different than its input value, then it outputs y; otherwise it outputs its input value.

Flip Value (FV):

The protocol is the following. If a player receives a value x different from its input value, then it outputs x; otherwise it outputs its input value.

Figure 3(3(a)) shows the expected discrepancy of the two algorithms as a function of p, as stated in the following theorem. If p=q=1/2, either AMP or FV can be used, so long as both players use the same algorithm.

Theorem 3.

The expected discrepancy of any single-round algorithm is at least min{q,p2+q2}. This discrepancy is achieved by the AMP algorithm whenever p>1/2, and by the FV algorithm whenever p<1/2 (and by both if p=1/2).

Proof.

For any algorithm, let Δ=defyByA, the difference between the output values in an execution. Note that 1Δ1. The adversary selects probabilistically in each round a directed graph representing the correct links from 𝒢={,,,-}, where the first two graphs are selected with probability pq each, the second with probability p2 and the fourth with probability q2. Thus, the expected discrepancy is

𝐄[𝖣] =(10)q2+(1yA)pq+(yB0)pq+|yByA|p2
=q2+pq(1+Δ)+p2|Δ|. (1)

The expected discrepancy is thus a piecewise linear function of Δ. In each “piece,” i.e., in each interval of Δ values, 𝐄[𝖣] attains its smallest value at one of the endpoints of that interval, depending on the sign of d𝐄[𝖣]dΔ. We therefore now differentiate Eq. (1) with respect to Δ after conditioning on whether Δ is positive or not. We obtain:

d𝐄[𝖣]dΔ={pq+p2,if 0Δ1 pqp2,if 1Δ<0  (2)

We proceed by case analysis.

  • If Δ0, then d𝐄[𝖣]dΔ>0, and therefore the minimum discrepancy is in the low end of the region Δ0, i.e., at Δ=0, where 𝐄[𝖣]=q2+pq=q by Eq. (1).

  • If Δ<0, there are two sub-cases, because, by Eq. (2), d𝐄[𝖣]dΔ is positive if and only if q>p.

    • If indeed q>p, then the minimum discrepancy is obtained at the smallest possible value of Δ, i.e., when Δ=1. In this case, by Eq. (1), 𝐄[𝖣]=q2+p2.

    • If p>q, then d𝐄[𝖣]dΔ<0 and the minimum discrepancy is obtained at the high end of the region, i.e., at Δ=0, which we have already analyzed.

In summary, we have

min𝐄[𝖣]={qif p>q, attained at Δ=0q2+p2if p<q, attained at Δ=1 (3)

In the case that p=q we get that the minimum discrepancy is q=q2+p2=1/2 for any Δ[1,1].

To see that these are the values achieved by the algorithms AMD and FV, consider Figure 1 (discussed in more detail in Section 4.1), where the four possible executions are depicted as edges with directions indicating that a message is delivered. A vertex corresponds the the state of each one of the players at the end of the round. Black vertices correspond to Alice and white vertices to Bob, with their decisions on top of the corresponding vertex. For AMP, the undirected edge where no message arrives has discrepancy 1, while the two edges where exactly one message arrives have discrepancy y and 1y, respectively. Thus, the expected discrepancy is q2+pqy+pq(1y) which is equal to q, independently of the meeting point y. For FV, the bi-directed edge where both messages are delivered has discrepancy 1, while the two other directed edges have discrepancy 0, thus the expected discrepancy is p2+q2.

(a) Algorithm AMP
(b) Algorithm FV
Figure 1: One round protocol complexes for two players starting with a single input assignment. Edges are oriented to indicate which messages arrived during the round, in each execution, and the probability of that execution. On the left are depicted the decisions of the AMP algorithm with meeting point y, on the right are the decisions of algorithm RV.

Assuming at least one message is always delivered, namely, the case when the adversary picks the actual communication graph in the set 𝒢={,,} has been considered in the past, but for non-deterministic adversaries. For p=1/2, our 1-round algorithms have expected discrepancy 1/3, which is the optimal discrepancy when the adversary is non-deterministic e.g. [9, 13]. Remarkably, the expected discrepancy improves, both when the probability of message-loss is reduced, and when it is increased, bypassing the 1/3 lower bound of the non-deterministic case.

Figure 2: The expected discrepancy of the optimal algorithm, conditioned on the event that not all messages are dropped. The dashed line indicates 1/3.

We now consider the assumption that it is never the case that no messages arrive in the round. Remarkably, using our algorithms AMP and FV as before, we can see that the expected discrepancy conditioned on the event that at least one message is delivered is at most 1/3 for any value of p, matching the worst case known bound for non-deterministic adversaries e.g. [9, 13], for two processes. Furthermore, the expected discrepancy improves more and more, both as p gets smaller and smaller than 1/2, and also as it gets larger than 1/2, see Figure 2. Formally, we have the following.

Theorem 4.

For any single-round algorithm, the expected discrepancy, conditioned on the event that at least one message is delivered, is at least min{p21q2,pq1q2}. This discrepancy is achieved by the AMP algorithm if p>1/2, and by the FV algorithm if p<1/2, and by both if p=1/2, at a maximum expected discrepancy value of 1/3.

3.2 Multiple rounds

Consider now an algorithm running for k rounds, for any fixed k, known by both processes. Given a single-round algorithm, one simple strategy is replication, i.e., sending the 1-round algorithm message k times, so as to decrease the probability that the message is not received from q to qk. We shall see that the replication strategy is optimal only for p1/2. Instead, we use any of our single-round algorithms recursively. That is, we used the output of round i1 as the input of round i+1. For simplicity, we can force the inputs to always be in {0,1}, by using algorithm AMP with meeting point either at 0 or at 1 (algorithm FV satisfies the requirement in any case).

To analyze the expected discrepancy of multiple rounds, we note that the discrepancy of round i+1 is a random function (because the execution is stochastic) of a random variable, namely, the discrepancy of round i. The main part of the argument is stated as follows.

Lemma 5.

Let f1,f2,,fr be a sequence of independently randomized functions, i.e., for every 1ir, and every x, fi(x) is a random variable. Suppose that, for every i=1,,r, there exists ai such that 𝐄[fi(x)]aix for all x. Then 𝐄[frf1(x)](i=1rai)x. Similarly, if, for every 1ir, 𝐄[fi(x)]aix for all x, then 𝐄[frf1(x)](i=1rai)x.

Theorem 6.

The expected discrepancy of a r-round recursive algorithm is at most qr if p1/2 by using AMP, and at most (p2+q2)r if p<1/2 by using FV.

The result in Theorem 6 is illustrated in Figure 3(3(b)).

(a) The expected discrepancy of the 1-round algorithms as a function of p. The solid line is for the FV rule, and the dashed line is for the AMP rule
(b) The expected discrepancy of recursively applying the optimal 1-round algorithm for 1 round (blue), 2 rounds (orange) and 4 rounds (green) as a function of p
Figure 3: The expected discrepancy of the optimal algorithm.

A recursive algorithm for the case where it is assumed that at least one message is delivered in each round can be derived in a similar way, from Theorem 4 and Lemma 5.

Theorem 7.

The expected discrepancy of a r-round recursive algorithm conditioned on the event that at least one message is delivered at each round is at most (pq1q2)r if p1/2 by using AMP, and at most (p2/(1q2))r if p<1/2 by using FV. Thus, the expected discrepancy is at most 1/3r for any value of p.

4 Lower Bound

In this section, we show that the simple two player algorithms consisting of recursively applying AMP or FV as defined in the previous section have the best possible expected discrepancy.

4.1 Protocol Complexes and Algorithms

We already discussed briefly the notion of protocol complex, only for one round, in Figure 1. We explain it in more detail and generalize it to multiple rounds in Section 4.1.1, and then define the notion of an algorithm for a protocol complex in Section 4.1.2.

4.1.1 The Weighted Protocol Complex

We consider the protocol complex representation of all executions after r rounds used in the topology perspective of distributed computing [12]. In the case of two players, this simplicial complex is merely an undirected graph, but we stick to the terminology for consistency. Without loss of generality, we assume full information protocols, that is, every player sends its entire local state at each round. The protocol complex is essentially a representation of the local states of the players in all executions, together with a relation stating which executions are indistinguishable to a process. The local state of a player can be represented as a triple (xA,xB,v), where

  • xA and xB are the binary inputs of Alice and Bob, respectively, where a player sets the input of the other player only once it has received a message from the other, otherwise the value is set , and

  • v is the view of the player, that is, its local state, including the sequence of messages it received (and marking those that it did not receive).

The initial state of Alice (resp., Bob) is thus (xA,,v0) (resp. (,xB,v0) where xA (resp., xB) is the input of Alice (resp., Bob), and v0=() is an empty sequence. An initial configuration thus consists of two initial states, one for Alice and one for Bob. The protocol complex 𝒫r after r rounds then consists of a graph. Each vertex is a pair (i,s), where i{A,B} and s is the local state of process i after r rounds, in some execution of the algorithm. Two states (A,sA), (B,sB) belong to an edge of the graph, if there is an r round execution, where sA is the state of A, and sB is the state of B. Thus the graph is bipartite: each edge connects vertices of different players.

Notice that the protocol complex at round 0 with any fixed pair of input values xA,xB, consists of a single edge, whose endpoints are the initial states of A and B with those inputs. Figure 4(4(a)) represent such an edge at round 0. The black vertex represents Alice in initial state (xA,,v0), and the white vertex represents Bob in initial state (,xB,v0). The protocol complex at round 1 depicted on Figure 4(4(b)) is a path of three edges, plus an edge connecting the endpoints of the path. This latter edge depicted on top of the path corresponds to the execution of the (full information) protocol where no message arrives, denoted by -. The path of three edges corresponds to the three scenarios (message from Alice reaches Bob), (both messages arrive), and (message from Bob reaches Alice). In general, the protocol complex at r+1 rounds is obtained from the one at r rounds by replacing each edge by the round 1 protocol complex. Figure 4(4(c)) represents the protocol complex after two rounds, starting from fixed inputs.

(a) Round 0
(b) Round 1
(c) Round 2
Figure 4: Protocol complexes for two players starting with a single input assignment. Edges are oriented to indicate which messages arrived during the considered round, but the protocol complex is an undirected graph.

Note that, in each round,

Pr()=p2,Pr()=Pr()=pq, and Pr(-)=q2.

The probability of an edge in the complex corresponding to a multi-round execution is the product of the probabilities of all the successive scenarios leading to this edge. For instance, the probability of the top edge in Figure 4(4(c)) is q4 (all messages failed at both rounds), whereas the probability of the edge in the middle of the path at the bottom of Figure 4(4(c)) is p4 (all messages arrived during both rounds). More generally, the complex that corresponds to the 0 round execution consists of two nodes and a single edge (see Figure 4(a)), which correspond to the two initial states, and the single possible 0-round (vacuous) execution, whose probability is 1. We denote this complex by G0. Given a complex Gi=(Vi,Ei), the complex Gi+1 is obtained by transforming each edge eVi to a 4-node, 4-edge “gadget” denoted T(e), as shown in Figure 5 (recall that the protocol complex in an undirected graph).

Figure 5: Transformation of an edge by performing one more round. Edge labels indicate their weight.

In our complexes, the edges are weighted: the weight of an edge is the probability of the corresponding execution. Hence the sum of the edge weights must be 1. In particular, the weight of the single edge in G0 is 1. Given an edge in Gi with weight w, the edges of the gadget corresponding to that edge in Gi+1 have weights as shown in Figure 5. The rationale is that T(e) corresponds to the executions starting in e with one additional round, in which either both messages are dropped (the (u,v) edge) with probability q2, or both messages are delivered (the (x,y) edge) with probability p2, or just one message delivered (the edges (u,x) and (y,v)) with probability pq.

4.1.2 Algorithm for a Protocol Complex

An r-round algorithm for approximate agreement is a deterministic decision function δ that assigns a real value δ(i,s) in [0,1] to each vertex (i,s), i{A,B}, of the protocol complex at round r, where s is the local state of player i. We denote the decision of process i by yi[0,1]. Remark 2 (Validity) requires that δ(i,s)=xi, if no message has been received in s, or if a message has been received and the input of the other process is also xi.

Notice that the decision of a player may depend on the name, A or B, of that player. It is sometime more convenient to write δi(s) for the decision of player i in state s. The algorithm is said to be symmetric if δ is solely a function of the local state s, i.e., if the decision functions of the players are equal, δA=δB. The discrepancy of the execution is |δ(A,s)δ(B,s)|, and the expected discrepancy of the algorithm for this input configuration is taken over all possible r-round executions.

As discussed previously, one can assume, without loss of generality, that the input configuration is where A has input 0, and B has input 1.

4.2 Integrality of optimal algorithms

In Section 3.1 we analyzed single round algorithms, and showed that there always exists an optimal algorithm whose only possible output values are 0 and 1. In this section we consider the general case of two player, r-rounds algorithms, and show that the same integrality property holds as well. The idea is the following. For every given input assignment, the discrepancy of an approximate agreement algorithm is a random variable which we wish to minimize. We shall formalize the problem as an optimization problem, which we then convert into a linear program. The result will follow from the fact that the optimal solution is at a vertex of the polytope defined by the constraints.

Lemma 8 (Integrality Lemma).

There is an optimal algorithm with optimal expected discrepancy in which every player outputs only 0 or 1.

Proof.

Given an r-round algorithm, each possible execution Γ (specifying which messages are delivered) has a probability Pr[Γ], which can be computed from the model parameters. Since the view at a process, along with its local input, determines the output value of that process, we know that given all inputs and local views, all outputs are determined, and therefore the discrepancy is determined as well. Let x¯=(xA,xB) denote the input assignment. There are 4 possible input assignments. If xA=xB, validity implies that both players output this value, and the discrepancy is 0. We hence focus on the case where xAxB. Without loss of generality, we assume that xA=0 and xB=1. Given an algorithm, let us denote its outputs by y¯=(yA,yB). Let Γ denote the set of all possible r-round executions for the given input. Given an execution ΓΓ, let Γ[i] denote the view of process i in Γ. Then an algorithm is optimal if its expected discrepancy for the given input has the same value as the solution to the following optimization problem.

minimize 𝐄[𝖣y¯(x¯)]=ΓΓPr[Γ]|yA(xA,Γ[A])yB(xB,Γ[B])| (4)

subject to

i{A,B} and ΓΓ:min{x{xi}Γ[i]}yi(xi,Γ[i])max{x{xi}Γ[i]}. (5)

(Abusing notation, we use Γ[i] in Eq. (5) to also denote the set of values in the view.)

The constraints force the output values to be within the range spanned by their input value, and the values they received. We stress that the variables are yA and yB. The values of xA and xB are fixed, and the probabilities are constants whose values are fixed by the stochastic environment model.

Observe that Eq. (4) and (5) do not specify a linear program, due to the absolute values in Eq. (4) – the min and max operators in Eq. (5) are applied to constants as far as the minimization of 𝐄[𝖣y¯(x¯)] is concerned as, for a given player i{A,B} and a given execution ΓΓ, xi and Γ[i] are constants, and so is the smallest (or largest) input value x in {xi}Γ[i].

We get around the non-linearity as follows. Consider an optimal solution y¯ to the problem specified by Eq. (4) and (5). Let Y denote the multiset of all possible yi values for the given input, one for each party and each execution. Now, let z1,,zm, for an appropriately large m, be the sequence of all values in Y in increasing order. If we knew the order of the z values, then we could have replaced the expression |yA(xA,Γ[A])yB(xB,Γ[B]| with zzs, where z and zs are the larger and the smaller values of {yA(xA,Γ[A]),yB(xB,Γ[B])}, respectively. To complete the transformation of the optimization problem defined by Eq. (4) and (5) into a linear program, we make sure that the zi variables respect the assumed ordering by adding the constraints

zizi+1for all 1i<m. (6)

Now, the transformed target function Eq. (4), where a simple subtraction of the z values replaces the absolute value expression in each term, and the constraints Eq. (5) and Eq. (6), where the original y variables replace their z pseudonyms, is a linear program. If the ordering according of the z values agrees with an optimal solution, then the additional constraints of Eq. (6) do not change the target value. In other words, there exists an ordering of the z values such that the optimal algorithm is a solution to the corresponding linear program.

Finally, as mentioned above, if both inputs are the same, the output equals the input value, and the claim is immediate. Otherwise, consider the polytope defined by Eq. (5) using the z variables and Eq. (6). The vertices of this polytope are {01M0M}, when the coordinates are ordered according to the z ordering. Since there is always an optimal solution at a vertex, the result follows.

 Remark 9.

Note that an optimal solution may actually be attained at multiple vertices, in which case all their convex combinations (whose coordinates need not be 0 or 1) are also optimal solutions.

Lemma 8 narrows down the number of candidates for an optimal solution to a finite number of possible algorithms, so in principle one can enumerate all possible 0/1 output values for all inputs and executions to find an optimal solution. But this is hardly practical: The number of possibilities we need to enumerate for a r-round, n-player protocol, even in the case of symmetric algorithms, is doubly-exponential.

4.3 The Lower Bound

We have now all the ingredients to prove a lower bound on the expected discrepancy of any r-round protocol. To this end, fix an algorithm 𝒜 and a number of rounds r. We focus on the instance where Alice gets input xA=0, and Bob gets input xB=1.

We study the protocol complex 𝒫 of 𝒜 after r rounds. In this complex, each edge is associated with some probability (depending on the message deliveries in that execution), and a certain discrepancy (depending on the output values defined by the decision function δ of the protocol, in the local states at the edge endpoints). By Lemma 8 we may assume w.l.o.g. that the output values are only 0 and 1. We can therefore partition the vertices of the protocol complex into the set of vertices whose output is 0 and the set of vertices whose output is 1. All edges within a set correspond to executions with discrepancy 0, and all edges that connect vertices in different sets correspond to executions with discrepancy 1. The expected discrepancy is therefore simply the sum of the probabilities of the edges that connect the different sets. In graph theoretic terms, if we view the probability of an execution as the weight of the corresponding edge in the protocol complex, the expected discrepancy is the weight of the edges in the cut defined by the output values. Our goal of obtaining a lower bound on the expected discrepancy can be restated as bounding from below the weight of cuts in the protocol complex.

Let s,t denote the two nodes in the 0-round protocol complex G0 (see Figure 4(a)). These nodes correspond to the local states of A and B, respectively, where no message is ever received. With these local states, by the validity requirement (Remark 2), A and B are forced to output their input values, namely 0 and 1, respectively. We are thus interested in bounding from below the weight of s-t cuts in the r-round protocol complex Gr.

Let G=(V,E,w) be a graph with edge weights, and let s,tV be two distinct nodes in G. Recall that an s-t cut of G, denoted (S,S¯) is a partition of V into two subsets S and S¯=VS where sS and tS¯. The weight of (S,S¯), denoted by w(S;S¯), is the sum of weights of edges with one endpoint in S and another in S¯.

Recall from Section 4.1.1 that T(e) is the protocol complex graph of one round executions starting in e.

Lemma 10.

Let e={u,v} be an edge of weight w. Then the weight of the min-weight u-v cut of T(e) is wmin{q,p2+q2}.

Proof.

Note that min{q,p2+q2}=q if p1/2 and min{q,p2+q2}=p2+q2 if p1/2. Also note that min{q,p2+q2}<1 unless p=0, that is, min{q,p2+q2}<1 unless no message can ever be delivered. We refer to Figure 5 for an illustration. The edge {s,t} in T(e) must be in the cut, contributing wq2 weight. Out of the three edge {u,x},{x,y} and {y,v} we take an edge of minimal weight, i.e., {x,y} if p<q and otherwise either {u,x} or {y,v}, adding a weight of wmin{p2,pq}. In total, the cut weight is

w(q2+min{qp,p2})=w(min{q2+qp,q2+p2})=wmin{q,p2+q2},

as claimed.

Lemma 11.

Let i>0. If there exists an s-t cut of weight W in Gi then there exists an s-t cut in Gi1 of weight at most W/min{q,p2+q2}, where s and t are the two nodes of G0.

Proof.

Let (S,S¯) be an s-t cut of Gi. Let S=SVi1 and S¯=S¯Vi1. Consider the cut (S,S¯) of Gi1. This cut is well defined because Vi1Vi. For each edge e={u,v} that crosses the cut (S,S¯) in Gi1 we have that, in Gi1 too, uS and vS¯. Therefore some of the edges of T(e) cross the cut (S,S¯) as well. By Lemma 10, min-weight cut that separates the endpoints of e in T(e) have weight min{q,p2+q2}w(e). Since the edges of different gadgets are disjoint, it follows that

w(S,S¯)=e(S,S¯)w(e)e(S,S¯)w(e)/min{q,p2+q2}w(S,S¯)/min{q,p2+q2},

and the result follows.

We can now establish that our algorithms have optimal expected discrepancy.

Theorem 12.

For every r1, every r-round algorithm has expected discrepancy at least (min{q,p2+q2})r.

Proof.

It is sufficient to show that if s,t denote the nodes of the protocol complex G0, then the weight of any s-t cut in the r-round protocol complex Gr is at least (min{q,p2+q2})r. We proceed by contradiction. If there was a cut of Gr with weight W<(min{q,p2+q2})r, then, by repeated application of Lemma 11, we would infer that there exists an s-t cut of G0 of weight smaller than W/(min{q,p2+q2})r<1, which is impossible, as the only s-t cut in G0 is ({s},{t}), whose weight is 1 by definition.

5 The case of more than two players

In this section we show that having more than 2 players changes the picture in a profound way. We first show that the integrality lemma does not hold, even for 3 players. We also show that when the number of players is large, 0 discrepancy can be achieved with overwhelming probability in two rounds, or in one round if the number of players with each value is slightly larger than a constant.

5.1 Integrality does not hold for more than 2 players

The linear program of Section 4.2 can be extended to any number of players as follows. While the constraints of Eq. (5) must always be maintained, the target function of Eq. (4) changes. In Eq. (4), we are minimizing the expected discrepancy of a single input assignment. This is fine for the two-party case, because there is only one non-trivial input in this case (namely x¯=(0,1)). However, this is no longer true for more than two players: For example, if there are 3 parties, there are two non-isomorphic nontrivial input assignments: (0,0,1) and (0,1,1). This means that our goal is to minimize the maximum of the discrepancies of the different inputs.

To deal with this, we introduce a new variable, say v (the goal of the linear program is to minimize v), and a new constraint for each input assignment. Specifically, for each input assignment x¯, let Γ(x¯) denote the set of all executions with input assignment x¯, and for any execution Γ, let 𝖣(Γ) be the discrepancy of the outputs in Γ. Then, for each input assignment x¯, we introduce the constraint vΓΓ(x¯)Pr[Γ]𝖣(Γ) (similarly to the expression in the r.h.s. of Eq. (4).) Since the goal is to minimize v, the program will find the outputs which minimize the worst-case discrepancy, over all inputs.

However, the new constraints change the polytope and create vertices in non-integral coordinates. Indeed, we have computed the optimal 1-round for 3 players using the linear program formulation. The optimal protocol sometimes decides 1/2: see Figure 6 for a specification of the optimal protocol according to the value of p. Interestingly, the output value 1/2 is not used when p is small. The expected discrepancy for the three strategies is plotted in Figure 7.

 

Consider a player with input x.

  • p1/2: use AMP, with meeting point at 1/2. I.e., if received ¬x (once or twice), output 1/2, otherwise output x.

  • θp<1/2: if received ¬x twice, output ¬x; if received ¬x once, output 1/2; otherwise output x.

  • p<θ: if received x (once or twice) or received nothing, output x; otherwise (received no x and at least one ¬x), output ¬x.

 
Figure 6: Optimal protocol for three players, given p[0,1]. The parameter θ0.35 is the root of a certain fourth degree polynomial.
Figure 7: The expected discrepancy of the strategies specified in Figure 6 as a function of p. The green curve is for large p values, the orange for small p values, and the blue for the middle range θ<p1/2.
Theorem 13.

The optimal expected discrepancy of a single-round algorithm for three players is achieved by the algorithm in Figure 6. The expected discrepancy, plotted in Figure 7, is

𝐄[𝖣]={q,if p1/212(2pq2+p3+pq(1q2)+p2q2)+q2(1p2),if θp<1/2p(1p2)+q2(1pq),if 0p<θ

This discrepancy is achieved by the protocol of Figure 6.

5.2 Asymptotic Analysis as the Number of Players Grows

We have seen that already for three players the optimal expected discrepancy behaves differently than for two players. At the extreme end of the spectrum we have the case of n players, with n. It turns out that 2 rounds suffice in this case to guarantee 0 discrepancy with high probability. In fact, 0 discrepancy can also be guaranteed w.h.p. in 1 round, if the minority is not too small.

Let us start with the case of one round. We use AMP with any meeting point. Note that the probability that a process does not receive a value decreases exponentially with the number of times that value is sent. Therefore, when one of the values (say 1) is held by a sublogarithmic number of players, there is non-negligible probability that at least one of the other players (with input 0) does not receive any 1 message. Formally, for any n2 and 0mn, let

In.m=definput instance of n players, m of them with input 0nm with input 1.
Theorem 14.

The expected discrepancy of AMP(a), satisfies 𝐄[𝖣(In.m)]n0, for any meeting point a[0,1], when ω(log1/qn)mnω(log1/qn).

Proof.

To analyze the behavior of AMP, we use the following shorthand for In.m.

A(n,m)=def(1qnm)m.

Note that A(n,m) is exactly the probability that in In.m, each of the m 0-players received at least one 1 message (from the nm 1-players).

Note further that for constant q<1, we have that A(n,m)=exp(Θ(mqnm)). Therefore, for nmω(log1/qn), i.e., mnω(log1/qn) we have that A(n,m)n1.

Now, for Algorithm AMP(a), directly from definitions we have

Pr[𝖣(In.m)=0] =A(n,m)A(n,nm) (7)
Pr[𝖣(In.m)=a] =(1A(n,m))A(n,nm) (8)
Pr[𝖣(In.m)=1a] =A(n,m)(1A(n,nm)) (9)
Pr[𝖣(In.m)=1] =(1A(n,m))(1A(n,nm)) (10)

In particular, Eq. (7) implies the probability of consensus approaches 1 when n grows and m is neither too small nor too large. Regarding discrepancy, Eqs. 710 imply that the expected discrepancy of AMP(a) is 𝐄[𝖣(In.m)]=1(aA(n,m)+(1a)A(n,nm)).

To cover the case of small minority (of size O(log1/qn)) we “amplify” its presence with another round of communication. Specifically, we have the following algorithm, biased toward output 1.

Algorithm Boost1

  1. 1.

    Round 1: if the local input is 1, send it to all.

  2. 2.

    Round 2: if the local input or any value received in Round 1 is 1, send 1 to all.

  3. 3.

    If the local value is 1 or any value received is 1, decide 1. Otherwise decide 0.

Theorem 15.

The expected discrepancy of Algorithm Boost1 approaches 0 as the number of players goes to infinity.

Proof.

We prove a stronger statement, namely that the probability that the discrepancy is 0 is 1exp(Ω(n)), where n is the number of players. To see that, note first that if all inputs are 0 the statement is trivial: Boost1 does not send any message in this case, and all processes decide 0. So suppose, without loss of generality, that process 1 has input 1. We show that all other processes decide 1 after 2 rounds, regardless of their initial value. To this end, consider some process i. Process i does not receive the 1 message if for every process j (including j=1 and j=i), either the first round message from process 1 to j was dropped, or the send round message from j to i was dropped. Since this happens with probability at most 1p2 (considering also j{1,i}), we have

Pr[process i does not hear “1” there exists a “1” input](1p2)n,

and hence, by the Union Bound,

Pr[there exists a process that does not hear “1” there exists a “1” input]n(1p2)n.

The discrepancy therefore satisfies 𝐄[𝖣]1n(1p2)nn0 for any constant 0<p1.

6 Applications

In this section we present some examples about the use of agreement optimization to solve randomized consensus and approximate agreement.

6.1 Randomized consensus

Consensus in the case of n=2 synchronous reliable processes when messages can be lost is called coordinated attack since [10] (also two generals’ problem). The randomized coordinated attack [22], or for arbitrary number of processes, randomized consensus, see, e.g., [2, p.66], for a given desired upper bound error probability 0<ρ<1, is defined by the following conditions, for processes starting with binary input values, and agreeing on binary output values.

Randomized Consensus

Termination:

All processes terminate in a bounded number of rounds, r.

Validity:

If all processes start with the same value, that is the only value that can be decided.

Randomized agreement:

The probability that some process decides 0 and some other process decides 1 is at most ρ.

A straightforward application of Markov-like inequality gives the following result, for any number of players.

Theorem 16.

Let 𝒜 be an algorithm for agreement optimization with possible output discrepancy values v0=0<v1<<1. If the expected discrepancy of 𝒜 is μ, then 𝒜 solves randomized consensus with error probability ρμv1.

Since our 2-party algorithms produce discrepancy either 0 or 1, we have the following result.

Corollary 17.

For any given r, two-player randomized consensus can be solved in r rounds with error probability at most min(p2+q2,q)r. Moreover, no protocol can solve randomized consensus in r rounds with probability larger than 1min(p2+q2,q)r.

6.2 Approximate Agreement

The usual ϵ-approximate agreement problem requires processes to decide values at most ϵ apart. Here we define a relaxed version, allowing an error of ρ. Formally, it requires the following to hold.

(ϵ,ρ)-Approximate Agreement

Termination:

All processes terminate in a bounded number of rounds, r.

Validity:

The value decided by every processor is in the range spanned by all input values.

Randomized ϵ-Agreement:

The probability that the discrepancy is larger than ϵ is at most ρ.

In the classic version of approximate agreement [6], the input values are arbitrary real numbers. Input values in a bounded region such as [0,1], have also been considered e.g. [19]. The number of rounds r depends on ϵ. In fact, it may depend also on the discrepancy of the input values (the maximal distance between inputs) or even their magnitude, see e.g. [3]. The relative discrepancy agreement optimization can be defined as its discrepancy normalized by the discrepancy of the input values.

We have the following consequence of our lower bound on the expected discrepancy of agreement optimization. It is stated for inputs in [0,1] (it could be rephrased in terms of the discrepancy of the inputs)

Theorem 18.

Any algorithm for two player (ϵ,ρ)-Approximate Agreement that terminates in r rounds when the inputs are binary must have probability of error of at least ρ(min(p2+q2,q))rϵ1ϵ.

We can also derive upper bounds on (ϵ,ρ)-Approximate Agreement using agreement optimization, for the case of 2 players with arbitrary real input values, as follows.

First, note that non-binary inputs may be a problem for algorithms such as AMP: where should the meeting point be located? If we fix the location in advance, validity may be violated. And if a process computes it based on the values it has seen, the meeting point may be different at different processes because their views may be different. However, this is easily solvable in the case of two processes. The point is that the agreed meeting point is used only when two values are known, and in the case of two processes, if both their views contain two values, they must contain the same two values, so it is possible to specify a common meeting point.

Specifically, consider the following algorithm for a[0,1].

Algorithm Scaled AMP(a) (2 players, arbitrary input values in )

  • If no value is received, output the input value.

  • Otherwise, denote the local input and the 4 value by x and y. Output min{x,y}+a|yx|.

Clearly, scaled AMP is a generalization of AMP to any input values, assuming there are only two players. Since Algorithm FV also works with arbitrary input values, we arrive at the following result.

Theorem 19.

Let 0<ρ<1. Assume that p>1/2. Then 2-player (ϵ,ρ)-Approximate Agreement can be solved with probability 1ρ in O(log1/ρ) rounds with relative discrepancy ϵ=qΩ(log(1/ρ)).

We note that we have not attempted to optimize the constants. For the case of p1/2, we use the recursive FV algorithm and the following similar statement holds.

Theorem 20.

Let ρ>0. Assume that p1/2. Then 2-player (ϵ,ρ)-Approximate Agreement can be solved in O(log(1/ρ)) rounds with relative discrepancy ϵ=(p2+q2)Ω(ln(1/ρ)).

The nice property of scaled AMP is that it allows us to use AMP(a) with 0<a<1 in the recursive version, thus obtaining a “continuous” algorithm, i.e., an algorithm in which the discrepancy shrinks (probabilistically) in each round, rather than algorithms in which the discrepancy is either 0 or 1.

Theorem 21.

The optimal relative discrepancy of 2-party approximate agreement by a r-round algorithm is min(q,(p2+q2))r, achieved by r recursive applications of algorithm FV if p1/2 of scaled AMP(a) (with any 0a1) for p1/2.

7 Conclusion

In this paper we have considered a stochastic dynamic network model consisting of synchronous, reliable processes communicating through channels that may drop messages with a given probability p. We defined the agreement optimization problem, where the goal is to minimize the expected discrepancy. For the case of two players, we provided a detailed characterization of the achievable expected discrepancy. To this end we developed the Integrality Lemma, showing that it is sufficient to consider algorithms with outputs in {0,1}. Going beyond n=2, we showed that the problem becomes much more complicated: this lemma no longer holds, and optimal algorithms may have more different behaviors depending on the parameter p, while in the case of two players, there are only two possible behaviors, for p either smaller or larger than 1/2. We also presented algorithms for large number of processes, whose expected discrepancy goes down to 0 exponentially fast. Finally, we showed the relevance of the agreement optimization problem to obtain algorithms for randomized consensus and randomized approximate agreement, with small probability of error.

We leave many interesting open problems for future work. A main question is to find optimal algorithms for agreement optimization for any number of processes n>2. Our analysis of agreement optimization is mostly under the simplest stochastic assumption, with a single parameter p, known to all processes. The full version extends some of our results the case where the parameter may be different in different links or rounds, but there are many other stochastic models that have been considered in the past, as mentioned in the Introduction, for which agreement optimization has not been studied, e.g. a model where the links are unidirectional (and each one fails with probability p).

The analysis of our algorithms was performed by considering a weighted version of the protocol complex of the topology approach to distributed computing, which is, up to our knowledge, new. It would be interesting to extend it to n>2 processes.

We have considered binary consensus and 1-dimensional approximate agreement. It would be interesting to consider multi-valued versions of consensus, e.g., [18], and multi-dimensional versions of approximate agreement [15]. Regarding other tasks, several have already been studied in dynamic networks, such as k-consensus [17] and set agreement [4, 8], but not in our stochastic setting.

References

  • [1] Noga Alon, Mark Braverman, Klim Efremenko, Ran Gelles, and Bernhard Haeupler. Reliable communication over highly connected noisy networks. Distributed Comput., 32(6):505–515, 2019. doi:10.1007/S00446-017-0303-5.
  • [2] James Aspnes. Notes on theory of distributed systems, 2023. arXiv:2001.04235.
  • [3] Hagit Attiya and Faith Ellen. The Step Complexity of Multidimensional Approximate Agreement. In Eshcar Hillel, Roberto Palmieri, and Etienne Rivière, editors, 26th International Conference on Principles of Distributed Systems (OPODIS 2022), volume 253 of Leibniz International Proceedings in Informatics (LIPIcs), pages 6:1–6:12, Dagstuhl, Germany, 2023. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.OPODIS.2022.6.
  • [4] Martin Biely, Peter Robinson, Ulrich Schmid, Manfred Schwarz, and Kyrill Winkler. Gracefully degrading consensus and k-set agreement in directed dynamic networks. Theor. Comput. Sci., 726:41–77, 2018. doi:10.1016/J.TCS.2018.02.019.
  • [5] Michael Dinitz, Jeremy Fineman, Seth Gilbert, and Calvin Newport. Smoothed analysis of information spreading in dynamic networks. J. ACM, 71(3), June 2024. doi:10.1145/3661831.
  • [6] Danny Dolev, Nancy A. Lynch, Shlomit S. Pinter, Eugene W. Stark, and William E. Weihl. Reaching approximate agreement in the presence of faults. J. ACM, 33(3):499–516, May 1986. doi:10.1145/5925.5931.
  • [7] Antoine El-Hayek, Monika Henzinger, and Stefan Schmid. Broadcast and Consensus in Stochastic Dynamic Networks with Byzantine Nodes and Adversarial Edges. In Dan Alistarh, editor, 38th International Symposium on Distributed Computing (DISC 2024), volume 319 of Leibniz International Proceedings in Informatics (LIPIcs), pages 21:1–21:15, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.DISC.2024.21.
  • [8] Pierre Fraigniaud, Minh Hang Nguyen, and Ami Paz. A Simple Lower Bound for Set Agreement in Dynamic Networks, pages 253–262. SIAM, 2025. 2025 Symposium on Simplicity in Algorithms (SOSA). doi:10.1137/1.9781611978315.20.
  • [9] Matthias Függer, Thomas Nowak, and Manfred Schwarz. Tight bounds for asymptotic and approximate consensus. J. ACM, 68(6), October 2021. doi:10.1145/3485242.
  • [10] Jim Gray. Notes on data base operating systems. In Michael J. Flynn, Jim Gray, Anita K. Jones, Klaus Lagally, Holger Opderbeck, Gerald J. Popek, Brian Randell, Jerome H. Saltzer, and Hans-Rüdiger Wiehle, editors, Operating Systems, An Advanced Course, volume 60 of Lecture Notes in Computer Science, pages 393–481. Springer, 1978. doi:10.1007/3-540-08755-9_9.
  • [11] Sandra M. Hedetniemi, Stephen T. Hedetniemi, and Arthur L. Liestman. A survey of gossiping and broadcasting in communication networks. Networks, 18(4):319–349, 1988. doi:10.1002/net.3230180406.
  • [12] Maurice Herlihy, Dmitry N. Kozlov, and Sergio Rajsbaum. Distributed Computing Through Combinatorial Topology. Morgan Kaufmann, 2013.
  • [13] Gunnar Hoest and Nir Shavit. Toward a topological characterization of asynchronous complexity. SIAM J. Comput., 36(2):457–497, 2006. doi:10.1137/S0097539701397412.
  • [14] Fabian Kuhn and Rotem Oshman. Dynamic networks: models and algorithms. SIGACT News, 42(1):82–96, 2011. doi:10.1145/1959045.1959064.
  • [15] Hammurabi Mendes, Maurice Herlihy, Nitin H. Vaidya, and Vijay K. Garg. Multidimensional agreement in byzantine systems. Distributed Comput., 28(6):423–441, 2015. doi:10.1007/S00446-014-0240-5.
  • [16] Othon Michail and Paul G. Spirakis. Elements of the theory of dynamic networks. Commun. ACM, 61(2):72, January 2018. doi:10.1145/3156693.
  • [17] Henrique Moniz, Nuno Ferreira Neves, Miguel Correia, and Paulo Veríssimo. Randomization can be a healer: consensus with dynamic omission failures. Distributed Computing, 24(3):165–175, 2011. doi:10.1007/s00446-010-0116-2.
  • [18] Achour Mostéfaoui, Michel Raynal, and Frederic Tronel. From binary consensus to multivalued consensus in asynchronous message-passing systems. Inf. Process. Lett., 73(5-6):207–212, 2000. doi:10.1016/S0020-0190(00)00027-2.
  • [19] E. Schenk. Faster approximate agreement with multi-writer registers. In Proceedings of IEEE 36th Annual Foundations of Computer Science, pages 714–723, 1995. doi:10.1109/SFCS.1995.492673.
  • [20] Ulrich Schmid. Failure model coverage under transient link failures. Technical report, Research Report 2/2004, Technische Universität Wien, Institut für Technische Informatik, 2004, 2008. URL: https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=35b27320d6e1c34ef233f178411d20973d7813f5.
  • [21] Ulrich Schmid, Bettina Weiss, and Idit Keidar. Impossibility results and lower bounds for consensus under link failures. SIAM Journal on Computing, 38(5):1912–1951, 2009. doi:10.1137/S009753970443999X.
  • [22] George Varghese and Nancy A. Lynch. A tradeoff between safety and liveness for randomized coordinated attack. Information and Computation, 128(1):57–71, 1996. doi:10.1006/inco.1996.0063.