arXiv:2608.27336cs.DCAug 2026

Manuscript Offprint

arXiv:2608.27336

Consensus with Stochastic Broadcast

Pierre Fraigniaud, Boaz Patt-Shamir, Sergio Rajsbaum

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study binary consensus in the stochastic broadcast model, which assumes n≥2n \geq 2 processes communicating synchronously by message broadcasts. At each round, every process broadcasts a message to all the other processes. Each broadcast succeeds independently with some probability pp, where p∈[0,1]p \in [0,1] is a parameter of the model. If a broadcast succeeds, all processes receive the message, and if it fails, no process receives the message. The sender does not know whether its broadcast was successful or not. In this model, consensus is not solvable; the objective is to design, for a given number of rounds rr, consensus algorithms that terminate in rr rounds, minimizing the probability of error (disagreement). This problem has been studied in depth for 2 processes [DISC 2025]. We extend the study to n>2n > 2.

We identify two key algorithms in the 1-round setting. In Algorithm pref1, each process decides 1 unless it knows of no input 1. In Algorithm courteous, each process decides the more frequent value in its view, and, in case of a tie, the process decides the negation of its own input value. It turns out that for small values of p courteous is better, while for larger values, pref1 is better.

Our main results are lower bounds. For n=3n = 3 processes and one round, we show that courteous is optimal for p∈[0,2/3]p \in [0, 2/3], and pref1 is optimal for p∈[2/3,1]p \in [2/3, 1]. To obtain this result, we develop a specialized theory that extends the combinatorial topology approach to a probabilistic setting.

For an arbitrary (but fixed) number n>3n > 3 of processes, we show that among all 1-round consensus algorithms, courteous is optimal for p∈[0,1/n]p \in [0, 1/n], and that pref1 is asymptotically optimal for p→1p \to 1.

For multi-round algorithms, we show that (unlike the case of n=2n = 2 processes) repeating rr times an optimal 1-round algorithm is not optimal for n≥3n \geq 3 processes. Nevertheless, we present a 2-round algorithm, called sweep, that guarantees the best error probability for the number of transmissions. Specifically, for every number nn of processes, repeating sweep rr times entails at most rnrn broadcasts, and results in error probability qrnq^{rn}, where q=1−pq = 1 - p is the probability that a broadcast fails.

We believe that our results provide another step towards the goal of a general topological theory of randomized distributed computing.

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

Keywords and phrases stochastic communication, distributed agreement, distributed consensus, Kripke graph, topology of distributed algorithms

Funding Pierre Fraigniaud: Additional support from ANR Projects ENEDISC (ANR-24-CE48-7768-01) and PREDICTIONS (ANR-23-CE48-0010), and Émergence Project METALG (U. Paris Cité). Boaz Patt-Shamir: Work partially done while visiting IRIF at Université Paris Cité, supported in part by Israel Science Foundation grant 1948/21, and Fondation des Sciences Mathématiques de Paris (FSMP).

Sergio Rajsbaum: Support from project PAPIIT 37-IN109926. On leave from Instituto de Matemáticas, Universidad Nacional Autónoma de México.

Consensus with Stochastic Broadcast

1 Introduction

We consider the stochastic broadcast model (see, e.g., [20]), consisting of a set of nn synchronous processes communicating over broadcast channels as follows. In each round, every process can broadcast a message to all other processes. If a broadcast is successful, the message is delivered to all processes (at the same round); and if the broadcast fails, no process receives the message. Message delivery is stochastic, parametrized by p∈[0,1]p \in [0,1]: each broadcast, independently, succeeds with probability pp, or fails with probability q=1−pq = 1 - p. Crucially, the sender does not know whether its broadcast was successful or not (otherwise consensus is trivial).

In this stochastic framework, we study binary consensus by deterministic algorithms that terminate in a fixed number of rounds. It is straightforward that consensus cannot be solved, even if allowing an arbitrarily large number of rounds. The goal is to minimize the probability of error, over all possible inputs, for a given number of rounds. More precisely, processes start with binary input values and decide binary values. A deterministic rr-round algorithm is said to solve consensus with error probability ϱ∈[0,1]\varrho \in [0,1] if the following conditions are satisfied.

Termination: All processes terminate in r rounds, and decide binary output values.

Validity: If all processes start with the same binary value, they must all decide on this value. Randomized agreement: For every assignment of binary inputs to the processes, the probability that some process decides 0 while some other process decides 1 is at most ϱ\varrho.

Note that the error probability ϱ\varrho is due to the nature of the stochastic environment: in this paper, we consider only deterministic algorithms.

For two processes, Fraigniaud, Patt-Shamir, and Rajsbaum [8] studied approximate agreement in the stochastic broadcast model and showed that, in this model, it is intimately related to consensus. Specifically, they showed that, to obtain optimal solutions for consensus, i.e., algorithms minimizing the probability of disagreement, it is necessary to use different algorithms for different ranges of p.

■ For p≥1/2p \geq 1/2, one optimal algorithm (called AMP(1) in [8]) says that each process decides 1 unless no input 1 is known to the process.

■ For p≤1/2p \leq 1/2, another rule (called FV in [8]) is optimal: each process decides the input value of the other process, unless it knows only its own input value.

It was shown that, for all r∈Nr \in \mathbb{N}, 2-process consensus can be solved in rr rounds with error probability at most (min⁡{p2+q2,q})r\left(\min\{p^2 + q^2, q\}\right)^r by recursively repeating these algorithms for rr rounds, and that no protocol can solve consensus in rr rounds with error probability smaller than (min⁡{p2+q2,q})r\left(\min\{p^2 + q^2, q\}\right)^r.

However, it was also shown in [8] that, for n≥3n \geq 3 processes, consensus is no longer directly related to approximate agreement. That is, while for two processes it is possible to solve approximate agreement optimally by having each process decide an integral value (0 or 1), this is not the case for three processes, i.e., solving approximate agreement optimally in the stochastic broadcast model requires processes to decide fractional values in (0,1)(0,1). The objective of this paper is to extend the results about consensus in [8] to the case of n≥3n \geq 3 processes. This requires developing an approach different from the one followed in [8] for two processes, as fractional outputs are not valid solutions for consensus.