betaFeedback

WorksComputer Science

Decoupling Faults from Uncertainty: Message-Efficient Byzantine Agreement with Local Predictions

Abstract

Byzantine Agreement protocols are traditionally designed under worst-case uncertainty about which processes are faulty, coupling the adversary's corruption budget tt with the system's epistemic uncertainty. Recent work showed that auxiliary failure predictions can improve round complexity, but cannot improve communication complexity when prediction errors are unconstrained. In this paper, we initiate a theoretical study of the complementary question: how much can Byzantine Agreement benefit when each process is guaranteed a local bound on its prediction error? We study this question through the local kk-error prediction model, in which each process receives a local classification vector differing from the ground truth in at most kk positions. The predictions need not be common, and honest processes may hold substantially different views about whom to trust. Under this promise model – where correctness relies on the local error bound holding – we present a synchronous Byzantine Agreement algorithm requiring n≥t+4k+1n \ge t + 4k + 1, where nn is the total number of processes, tt is the maximum number of failures, and kk is the local error bound per honest process. In the regime where local uncertainty is small (k≪tk \ll t), our protocol decouples communication from the total fault budget tt: in an execution where the actual maximum prediction error is s≤ks \le k and the actual number of failures is f≤tf \le t, the protocol terminates in O(s+1)O(s+1) rounds and sends O((f+k)ks+nk)O((f+k)ks + nk) honest messages, achieving o(n2)o(n^2) communication when t=Θ(n)t = Θ(n) and k=o(n)k = o(\sqrt{n}). Finally, we show that it is not possible to solve Byzantine Agreement in the local kk-error prediction model with fewer than Ω(nk)Ω(nk) honest messages.

2012 ACM Subject Classification Theory of computation → Distributed algorithms

Introduction

Byzantine Agreement is a central problem in distributed computing, wherein processes in a distributed system must come to an agreement about a common output despite the presence of malicious processes that may act arbitrarily [31, 37]. The Byzantine Agreement problem is traditionally studied under worst-case uncertainty about failures; a protocol is given only a bound tt on the number of Byzantine processes and must be correct no matter which processes are faulty. This classical framework inextricably couples two distinct dimensions: the adversary’s corruption budget tt (how many processes may fail) and the system’s epistemic uncertainty (the ambiguity surrounding which specific processes are faulty). In classical systems, uncertainty is maximal and equals tt, causing fundamental communication lower bounds, such as the Ω(nt)\Omega(nt) bound by Dolev and Reischuk [25], to scale directly with tt. Motivated conceptually by modern monitoring telemetry and anomaly-detection tools [23, 41, 42], this raises a fundamental theoretical question: to what extent do the classical barriers of Byzantine Agreement stem from the number of faults tt, versus the uncertainty about which processes are faulty?

Inspired by such prediction tools, as well as the growing body of work on algorithms with predictions [33, 36], Ben-David et al. recently introduced the notion of Byzantine Agreement with predictions [11]. In this model, processes are given predictions about the identity of faulty processes, and the protocol is required to remain safe even when the predictions are wrong. Ben-David et al. showed that predictions, even if they can be completely wrong, can improve round complexity when they are good, while follow-up work improved upon the bit complexity [27] and fault tolerance [22] of the original work. However, because these models permit unconstrained and arbitrary prediction errors, Ben-David et al. also showed an Ω(t2)\Omega(t^2) message complexity lower bound for this setting [11], meaning that unbounded prediction models cannot break worst-case communication barriers when tt is large.

Our Contributions. In this paper, we initiate a theoretical study of how bounded local uncertainty about fault identities affects the resilience and communication complexity of Byzantine Agreement. Prior prediction-based BFT models follow the standard learning-augmented paradigm: correctness is preserved even when prediction errors are unbounded and arbitrary, at the cost of retaining worst-case communication barriers such as Ω(t2)\Omega(t^2). We study the complementary promise-model regime, in which each process is guaranteed a local accuracy bound kk on its failure predictions. While practical behavioral detectors (such as intrusion detection or anomaly monitors [16, 23, 30, 41, 42]) generally cannot enforce a hard error bound against stealthy Byzantine adversaries that act honestly until a critical round, studying this idealized model cleanly isolates how epistemic uncertainty kk governs agreement complexity independently of the fault threshold tt.

We formalize this question through the local kk-error prediction model. Each process receives a local classification vector predicting which processes are honest and which are Byzantine. These predictions need not be common: different honest processes may receive substantially different vectors and may therefore disagree about whom to trust. The only guarantee is local accuracy: each honest process’s prediction differs from the ground truth in at most kk positions. Thus, kk measures the amount of uncertainty in each honest process’s view of the failure pattern. This separates two quantities that are coupled in classical Byzantine Agreement: the number tt of possible Byzantine failures, and the amount kk of uncertainty about where those failures are.

Our main result is a synchronous Byzantine Agreement protocol, titled *Predictive CoreLeader Agreement (PCLA), whose performance depends on the local prediction error. The protocol works whenever n≥t+4k+1n \ge t + 4k + 1, with no additional restriction on tt. Unlike prior unbounded-error models, both the correctness and performance of PCLA rely on the local kk-error guarantee holding (which correspondingly constrains an adaptive adversary’s corruption choices, as formalized in § 3). In particular, we focus on the fine-grained regime where local uncertainty is small (k≪tk \ll t), allowing the number of Byzantine processes tt to strictly surpass n/3n/3. (When uncertainty is high, i.e., k≥12tk \ge\frac{1}{2}t, our condition matches or exceeds n>3tn > 3t, where classical prediction-free protocols remain preferable.) In an execution where the actual maximum prediction error of an honest process is s≤ks \le k, the protocol terminates in O(s+1)O(s + 1) rounds and sends O((f+k)ks+nk)O((f + k)ks + nk) honest messages, where f≤tf \le t is the actual number of Byzantine processes. In particular, when t=Θ(n)t = \Theta(n) and k=o(n)k = o(\sqrt{n}), PCLA achieves sub-quadratic o(n2)o(n^2) communication. Finally, we also show that it is not possible to solve Byzantine Agreement in the local kk-error prediction model with fewer than Ω(nk)\Omega(nk) honest messages.

ProtocolPrediction ModelResilience (nn)RoundsHonest Messages
Classical Early Stopping [12]Nonen>3tn > 3tO(f+1)O(f + 1)O(nt)O(nt)
Ben-David et al. [11]Global error BBn>3tn > 3tO(min⁡{B/n,f}+1)O(\min\{B/n, f\} + 1)—
Dzulfikar & Gilbert [27]Global error BBn>3tn > 3tO(min⁡{B/n,f}+1)O(\min\{B/n, f\} + 1)O(n2log⁡(min⁡{B/n,f}+1))O(n^2 \log(\min\{B/n, f\} + 1))
This Work (PCLA)Local error kkn≥t+4k+1n \ge t + 4k + 1O(s+1)O(s + 1)O((f+k)ks+nk)O((f + k)ks + nk)

Table 1. Comparison of synchronous unauthenticated Byzantine Agreement protocols. Here, tt is the fault threshold, f≤tf \le t is the actual number of failures, BB is the aggregate prediction error across honest nodes, kk is the local error bound per node, and s≤ks \le k is the actual maximum local error in an execution.

The protocol uses the local prediction guarantee structurally. Each honest process orders the processes according to its own prediction, and communicates only with a small predicted-honest prefix. Although these prefixes may differ, the local kk-error condition ensures that they have large overlap with the true honest prefix, and with each other. This is the basis for all communication in the protocol; processes that place themselves outside of the honest prefix do not participate, while the rest participate in a leader-driven algorithm to come to an agreement, drawing conceptual inspiration from the Phase King paradigm [12, 13]. The eventual existence of a common honest leader is guaranteed by the overlap of the prefixes of different processes.

Related Work

Byzantine Agreement was introduced by Lamport, Shostak, and Pease [31, 37]. In the synchronous unauthenticated setting, deterministic agreement is possible iff n>3tn > 3t, while authenticated settings admit higher resilience [26]. In the asynchronous case, authentication does not help, but trusted hardware can increase fault tolerance [3, 4, 5, 10, 19, 21, 43].

Our protocol is most closely related to phase-king algorithms [12, 13, 32]. As in the phase-king paradigm, agreement is driven by the eventual emergence of an honest leader. Unlike classical protocols, however, candidate kings are derived from local predictions rather than a globally fixed sequence. A second key ingredient is graded agreement [28], which provides a similar abstraction to adopt-commit [29] and crusader agreement [24]. All of these primitives relax agreement to allow processes to express a degree of confidence in their decision value. Graded agreement and its variants have been widely studied, improving efficiency and strengthening guarantees in a variety of models [1, 2, 8, 20]. We use a graded-agreement subroutine adapted to prediction-induced communication neighborhoods.

Dolev and Reischuk proved fundamental communication lower bounds for Byzantine Agreement, including an Ω(nt)\Omega(nt) bound in the unauthenticated setting [25]. In our model, the analogous parameter is the prediction error kk: we prove an Ω(nk)\Omega(nk) lower bound.

Algorithms with Predictions. Our work fits within the framework of algorithms with predictions, or learning-augmented algorithms [33, 36]. In this paradigm, algorithms exploit possibly erroneous predictions while retaining worst-case guarantees. The framework has been applied to many online and approximation problems, including caching, ski rental, scheduling, matching [6, 7, 9, 36, 38], and recently also distributed graph algorithms [14].

Most works in this paradigm assume the predictions can be arbitrarily unreliable. However, a few recent works have suggested attaching metrics to the uncertainty one has about the predictions [39, 40], in a somewhat similar vein to our model.

Byzantine Agreement with Predictions. The closest prior work is Byzantine Agreement with predictions, introduced by Ben-David, Dzulfikar, Ellen, and Gilbert [11]. Subsequent work improves communication complexity [27] and studies resilience-performance tradeoffs under predictions [22]. In particular, Dallot et al. [22] established consistency-robustness trade-offs for global predictions and showed that under arbitrary local predictions, achieving resilience beyond n/2n/2 is impossible. These works follow the standard learning-augmented approach: correctness is independent of prediction quality, while performance improves as predictions become more accurate.

Our work studies a complementary notion of prediction quality. Rather than bounding aggregate error while requiring robustness to arbitrary predictions, we study a promise model in which each honest process’s prediction differs from the ground truth in at most kk positions and protocol correctness depends on this guarantee. This stronger assumption allows predictions to be used structurally to circumvent the Ω(t2)\Omega(t^2) communication barrier and the n/2n/2 local resilience impossibility of the unbounded-error setting.

Failure Detectors. The idea of augmenting agreement algorithms with information about failures in the system dates back to the 90s, with the introduction of unreliable failure detectors by Chandra and Toueg [17, 18]. Failure detectors typically provide evolving suspicions about crash failures and are characterized by completeness and accuracy properties. In contrast, our model provides static predictions about Byzantine identities, with quality measured by local Hamming distance from the ground truth. We are interested not in overcoming asynchrony, but in understanding how uncertainty about Byzantine identities affects agreement complexity.

Related work also studies Byzantine failure detection, where Byzantine processes can eventually be identified or isolated [34]. Our setting differs in that predictions are prior information, may be heterogeneous, and can contain both false positives and false negatives.

Asymmetric Trust and Heterogeneous Quorum Systems. Another related direction studies consensus under asymmetric trust assumptions. Federated Byzantine Agreement, introduced by Stellar [35], allows different nodes to trust different quorum slices, and safety depends on the resulting quorum-intersection structure. Subsequent work develops the theory of asymmetric Byzantine quorum systems and asymmetric consensus [15].

Like these models, our setting gives different honest processes different local trust views. However, the asymmetry arises from potentially incorrect predictions rather than explicit trust assumptions. The required intersection properties are therefore derived from the local kk-error guarantee rather than assumed as part of the system specification.

Model

Processes. We consider a system with nn processes {p1,…,pn}\{p_1,\ldots,p_n\}. Up to tt of these processes may be faulty, or Byzantine, meaning that they can act arbitrarily. The remaining processes are honest, meaning that they always follow the protocol. For a given execution, let f≤tf \le t be the actual number of faults. (The parameter ff is not known to the protocol while tt and nn are.) We use H\mathcal{H} to denote the set of honest processes’ identifiers, and F={1,…,n}∖HF=\{1,\ldots,n\}\setminus\mathcal{H} as the set of faulty processes’ identifiers. We consider a constrained adaptive adversary that may corrupt up to tt processes during the execution, subject to the local kk-error constraint defined below.

Network Assumption. Communication is synchronous and all-to-all: any message sent by process pp to qq in round rr arrives within round rr (within bounded delay Δ\Delta).

Definition 1 (Byzantine Agreement). Each process pip_i begins with an input value viv_i and must produce a decision satisfying: (1) Agreement: all honest processes decide the same value; (2) Validity: if all honest processes start with vv, all decide vv; and (3) Termination: all honest processes eventually decide.

Round complexity measures the rounds until the last honest process decides; message complexity measures the total messages sent by honest processes. Both are evaluated in the worst case over all inputs and adversarial strategies.

Predictions. In addition to standard inputs, each process pip_i receives a local prediction string ai∈{0,1}na_i \in\{0,1\}^n prior to execution. These predictions may be heterogeneous (ai≠aℓa_i \ne a_\ell). We focus on classification predictions [11], where ai[j]=1a_i[j]=1 predicts pjp_j is honest and ai[j]=0a_i[j]=0 predicts pjp_j is faulty. We define the ground truth vector a^∈{0,1}n\hat{a} \in\{0,1\}^n such that a^[j]=1\hat{a}[j]=1 if and only if pjp_j is honest. A prediction bit ai[j]a_i[j] is considered correct if ai[j]=a^[j]a_i[j]=\hat{a}[j]. Additionally, we assume that every honest process always identifies itself as honest.

Local kk-Error Constraint. For every honest process pi∈Hp_i \in\mathcal{H}, the Hamming distance between its initial prediction vector aia_i and the ground truth a^\hat{a} (defined with respect to the final faulty set FF) is at most kk. This error budget kk may be comprised of False Positives (FP) or False Negatives (FN). Accordingly, the adversary may corrupt processes adaptively during the execution as long as ∣F∣≤t|F| \le t and this kk-error bound holds for every pi∈Hp_i \in\mathcal{H}—constraining the admissible corruption sets while preserving full adaptive control over corruption timing and Byzantine behavior.

Ordering notation. Let π:{0,1}n→Sn\pi:\{0,1\}^n \to S_n denote the mapping from a classification vector to a permutation of the process identifiers {1,…,n}\{1,\ldots,n\}. In this ordering, processes classified as honest (a[j]=1a[j]=1) precede those classified as faulty (a[j]=0a[j]=0), with both groups maintaining their relative increasing order by process ID. Formally, for any classification vector aa, the position of process pjp_j in the permutation π(a)\pi(a) is:

π(a)(j)={∑r=1ja[r]if a[j]=1j+∑r=j+1na[r]if a[j]=0(1)\pi(a)(j)= \begin{cases} \sum_{r=1}^{j}a[r] & \text{if } a[j]=1\\ j+\sum_{r=j+1}^{n}a[r] & \text{if } a[j]=0 \end{cases} \tag*{(1)}

We define π^=π(a^)\hat{\pi}=\pi(\hat{a}) as the ground-truth permutation, and for each process pip_i, we denote its local prediction permutation as πi=π(ai)\pi_i=\pi(a_i).

Prefix Sets. For every process pip_i and integer xx, let Πix={pj:πi(j)≤x}\Pi_i^x=\{p_j:\pi_i(j)\le x\} denote the first xx processes in the local ordering of pip_i. Similarly, let Π^x={pj:π^(j)≤x}\hat{\Pi}^x=\{p_j:\hat{\pi}(j)\le x\} denote the first xx processes in the ground-truth ordering.

Observation 2. In a system with n≥x+tn \ge x + t, for any y≤xy \le x, all processes in Π^y\hat{\Pi}^{y} are honest.

Algorithmic Overview and Setup

At its core, the local kk-error prediction BFT algorithm builds upon the leader-driven coordination paradigm of the Phase King algorithm [13]. That is, in each round, some candidate leader is chosen among the processes, and that leader attempts to make everyone reach a decision. A graded agreement algorithm is executed twice in each round, to allow for a safe early-stopping mechanism.

However, unlike classic Phase King, the candidate leader is not chosen in a round robin fashion. Instead, each process pip_i uses its prediction to create the local ordering πi\pi_i, in which honest-predicted processes are placed before those that are predicted to be faulty. Intuitively, it uses a prefix of this ordering, namely, Πi4k+1\Pi_i^{4k+1}, as its candidates for leader, trying a new candidate in each round of the consensus algorithm. To decrease the number of inconsistencies in the candidates of different processes, the prefixes are shared in a dissemination phase, similar to what is done in the algorithm of Ben-David et al [11]. However, our algorithm decreases message complexity by having each process limit its communication to a subset of the other processes, which we show, using the local kk-error guarantee, has sufficient overlap with other processes’ communication subsets to ensure quorum intersection.

Listening and Sending Sets

To reduce the communication, our algorithm relies on a few key ideas. Firstly, due to the guarantees on the quality of the received predictions, we are able to limit the number of honest processes that participate in the protocol. Specifically, we define the xx-core set Cx={pi:πi(i)≤x+k}C_x = \{p_i : \pi_i(i) \le x + k\}, containing processes that place themselves in the first x+kx + k positions of their local ordering.

Notably, each process locally knows whether it belongs to CxC_x without having to communicate with any other process. The protocol then makes use of the 4k+14k + 1-core for all of its communication. Any honest process outside of this core set does not participate in the protocol, and instead simply waits to be notified of the decision. Since C4k+1C_{4k+1} is used throughout the protocol, we simply refer to it as the core set of processes. Furthermore, honest processes in the core set, also referred to as honest core processes, only ever listen to messages received from the first 4k+14k + 1 processes in their local ordering (denoted Πi4k+1\Pi_i^{4k+1} for process pip_i). Almost all other messages they receive are ignored, with a few notable exceptions. We therefore sometimes refer to Πi4k+1\Pi_i^{4k+1} as pip_i’s listening set. Due to lack of space, in Appendix A, we show the following key properties about the overlap of these sets with each other and with the set of honest processes.

Lemma 3. For any honest process pip_i and any x≤n−tx \le n - t,

∣Πix∩Π^x∣≥x−k.\lvert\Pi_i^x \cap\hat{\Pi}^x \rvert\ge x - k.

Intuitively, this lemma holds due to the local kk-error prediction property; the orderings inherit the kk inconsistency from the Hamming distance of the prediction vectors. To formally show this somewhat intuitive yet non-trivial property, we account for the effect of false negative and false positive errors in the prediction string of pip_i separately. From there, arguing about set overlap leads to the following key lemma.

Lemma 4 (Honest core size). For any x≤n−tx \le n - t, the set CxC_x contains all the first xx processes in π^\hat{\pi}, i.e. Π^x⊆Cx\hat{\Pi}^{x} \subseteq C_x, and ∣Cx∩H∣≤x+2k\lvert C_x \cap\mathcal{H} \rvert\le x + 2k.

Code for process $p_i$:
  $Send_i = \emptyset$
initialize():
  if $p_i \in C_{4k+1}$: //equivalently, if $\pi_i(i) \le 5k+1$
    send ping to all in $\Pi_i^{4k+1}$
  upon receiving ping from process $p_j$:
    add $p_j$ to $Send_i$

Algorithm 1 Set Up Protocol – building the sending set

$cc_i$ //n-bit array
generateCandidates():
  receivedPreds = $\emptyset$
  if $p_i \in C_{4k+1}$:
    send $\Pi_i^{4k+1}$ to all in $Send_i$
  receivedPreds = msgs received from $\Pi^{4k+1}$
  for each $j$ between 1 and $n$:
    if $\ge 2k + 1$ msgs predict $p_j$ honest:
      $cc_i[j] = 1$
    else:
      $cc_i[j] = 0$

Algorithm 2 Candidate Leader Generation

The following corollary shows that there is significant overlap in the listening sets of honest processes, and in particular, that there is a quorum of size at least 2k+12k + 1 of honest processes of overlap between any two honest processes’ listening sets.

Corollary 5 (Listening-set overlap). For any two honest processes pi,pjp_i,p_j, ∣Πi4k+1∩Πj4k+1∩H∣≥2k+1\lvert\Pi_i^{4k+1} \cap\Pi_j^{4k+1} \cap\mathcal{H}\rvert\ge2k + 1.

Note that while each process knows whether it is part of the core set, and which processes it should listen to when receiving messages, it does not know who else is in the core set, processes can only check their own membership. Processes therefore have to determine who to send their messages to, with the goal being that each process pip_i send its messages to exactly the honest core processes that will listen. For this purpose, the protocol begins with a set up phase in which each process pip_i in the honest core sends a ‘ping’ to each of the first 4k+14k + 1 processes in its local order, denoted Πi4k+1\Pi_i^{4k+1}. Each honest core process pip_i then collects all received pings into its sending set SendiSend_i, and later sends all its messages to all processes in SendiSend_i. Note that SendiSend_i will include all honest core processes pjp_j such that pi∈Πj4k+1p_i \in\Pi_j^{4k+1}, but may also include up to tt Byzantine processes. Algorithm 1 presents this set up phase.

The following lemma formally proves the intuitive statement above: the sending sets are formed correctly, such that all honest processes in an honest process pip_i’s listening set place pip_i in their sending set.

Lemma 6 (Sending-Listening Overlap). Any honest process pi∈C4k+1p_i \in C_{4k+1} is included in the sending sets of at least 3k+13k + 1 honest processes from Π^4k+1\widehat{\Pi}^{4k+1}.

Proof. From the protocol, every process pi∈C4k+1p_i \in C_{4k+1} will send ping to its first 4k+14k + 1 processes (Πi4k+1)(\Pi_i^{4k+1}). By Lemma 3, at least 3k+13k + 1 of them overlap with Π^4k+1\widehat{\Pi}^{4k+1}. By Observation 2, all those in the overlap are honest. Furthermore, note that by Lemma 4, all those in the overlap are in C4k+1C_{4k+1} so they will place pip_i in their sending sets.

Candidate Leader Generation

The next key element of the protocol involves the creation of a list of potential candidate processes that can serve as leader in PCLA.

Intuitively, the ideal candidate set is Π^4k+1\widehat{\Pi}^{4k+1}, the first 4k+14k + 1 processes in the ground-truth ordering. However, each process pip_i only has access to its local ordering Πi\Pi_i. Ideally, process pip_i would use its listening set Π^i4k+1\widehat{\Pi}_i^{4k+1} as a potential candidate set to approximate Π^4k+1\widehat{\Pi}^{4k+1}. While the listening sets of honest processes have large overlap (by Corollary 5), this overlap is not enough to guarantee that processes will align on the same honest leader within a limited number of rounds.

Thus, to improve this overlap and guarantee that there will be some honest process trusted by all honest core members, honest core processes report their listening sets to each other through their sending sets and employ a threshold rule to update their trust in each process in the set and generate a candidate list for PCLA. More specifically, each honest core process pip_i builds a classification string ccicc_i, where cci[j]=1cc_i[j] = 1 if pip_i considers pjp_j to be a candidate leader, and cci[j]=0cc_i[j] = 0 otherwise. To do so, each core process sends its listening set to the processes in its sending set Send⁡i\operatorname{Send}_i, and each process classifies pjp_j positively (i.e., adds it to its candidate set) if pjp_j appears in at least 2k+12k + 1 of the received listening sets. This threshold has two roles. First, it guarantees that some honest process in Π^4k+1\widehat{\Pi}^{4k+1} is classified positively by every honest process. Second, it prevents too many processes outside Π^4k+1\widehat{\Pi}^{4k+1} from being classified positively. These two properties allow PCLA to search over a bounded set of candidate leaders while ensuring that the search eventually reaches a common honest candidate. This phase is similar to the classification phase used in [11]. The pseudocode for the candidate generation phase is presented in Algorithm 2.

We now show the useful properties discussed above, starting with showing that there is a common honest candidate for all honest processes. Its full proof appears in Appendix § 11.

Lemma 7 (Common honest candidate). There exists an honest process p⋆∈Π^4k+1p^\star\in\widehat{\Pi}^{4k+1} such that every honest core process classifies it positively: ∀pi∈H∩C4k+1:cci[p⋆]=1\forall p_i \in\mathcal{H} \cap C_{4k+1} : cc_i[p^\star] = 1.

Proof sketch. Every process in Π^4k+1\widehat{\Pi}^{4k+1} is honest and belongs to the core. Moreover, by Lemma 3, each such process prp_r has at least 3k+13k + 1 members of Π^4k+1\widehat{\Pi}^{4k+1} in its listening set. Thus the processes of Π^4k+1\widehat{\Pi}^{4k+1} cast many votes for other processes in Π^4k+1\widehat{\Pi}^{4k+1}: in total, at least (4k+1)(3k+1)(4k + 1)(3k + 1) such votes. Since these votes are distributed among only 4k+14k + 1 processes, some p⋆∈Π^4k+1p^\star\in\widehat{\Pi}^{4k+1} receives at least 3k+13k + 1 votes from processes in Π^4k+1\widehat{\Pi}^{4k+1}. Now consider any honest core process pip_i. Its listening set also contains at least 3k+13k + 1 processes from Π^4k+1\widehat{\Pi}^{4k+1}. Therefore pip_i’s honest-prefix listeners intersect the 3k+13k + 1 voters for p⋆p^\star in at least 2k+12k + 1 processes. Hence pip_i receives at least 2k+12k + 1 votes for p⋆p^\star, and so cci[p⋆]=1cc_i[p^\star] = 1. Since pip_i was arbitrary, every honest core process classifies p⋆p^\star positively.

The next lemma quantifies how much disagreement the classification phase can create. There are two possible types of classification error relevant to the candidate leader argument. First, a true member of Π^4k+1\widehat{\Pi}^{4k+1} may fail to appear in every honest classification vector; these are the missing true candidates. Second, a process outside Π^4k+1\widehat{\Pi}^{4k+1} may appear in some honest classification vector; these are the extra candidates.

The key point is that both types of errors must be paid for by bad prefix incidences among the processes in Π^4k+1\widehat{\Pi}^{4k+1}. A missing true candidate requires many honest-prefix senders to omit it, while an extra candidate requires many honest-prefix senders to include it. Thus the total number of problematic classification outcomes is controlled by the total prediction error inside Π^4k+1\widehat{\Pi}^{4k+1}. We define the classified false negatives by FalseNeg⁡4k+1=Π^4k+1∩(⋃pi∈C4k+1∩H{px:cci[x]=0})\operatorname{FalseNeg}_{4k+1} = \widehat{\Pi}^{4k+1} \cap\left(\bigcup_{p_i \in C_{4k+1} \cap\mathcal{H}} \{p_x : cc_i[x] = 0\}\right), and the classified false positives by FalsePos⁡4k+1=(⋃pi∈C4k+1∩H{px:cci[x]=1})∖Π^4k+1\operatorname{FalsePos}_{4k+1} = \left(\bigcup_{p_i \in C_{4k+1} \cap\mathcal{H}} \{p_x : cc_i[x] = 1\}\right) \setminus\widehat{\Pi}^{4k+1}. Thus FalseNeg⁡4k+1\operatorname{FalseNeg}_{4k+1} contains the true-prefix processes rejected by at least one honest core process, while FalsePos⁡4k+1\operatorname{FalsePos}_{4k+1} contains the outside-prefix processes accepted by at least one honest core process. The following lemma bounds the total classification error, and its proof appears in Appendix § 11. Recall that s≤ks \le k denotes the actual maximum prediction error of an honest process in the execution.

Lemma 8 (Global classification error bound). ∣FalseNeg⁡4k+1∣+∣FalsePos⁡4k+1∣≤8s|\operatorname{FalseNeg}_{4k+1}| + |\operatorname{FalsePos}_{4k+1}| \le8s.

Proof sketch. We charge each classification error to prediction mistakes made by processes in the true prefix Π^4k+1\widehat{\Pi}^{4k+1}. If a true-prefix process pjp_j is rejected by some honest core process pip_i, then pip_i saw fewer than 2k+12k+1 votes for pjp_j. Since pip_i’s listening set contains at least 3k+13k+1 processes from Π^4k+1\widehat{\Pi}^{4k+1}, at least k+1k+1 true-prefix senders must have omitted pjp_j.

Similarly, if a process pj∉Π^4k+1p_j \notin\widehat{\Pi}^{4k+1} is accepted by some honest core process pip_i, then pip_i saw at least 2k+12k+1 votes for pjp_j. Since at most kk of these votes can come from outside Π^4k+1\widehat{\Pi}^{4k+1}, at least k+1k+1 true-prefix senders must have incorrectly included pjp_j.

Thus each false negative or false positive consumes at least k+1k+1 bad prefix incidences. Each process in Π^4k+1\widehat{\Pi}^{4k+1} has at most ss prediction errors, so its local prefix can differ from Π^4k+1\widehat{\Pi}^{4k+1} in at most ss extra and ss missing processes. Hence the total number of bad prefix incidences is at most (4k+1)⋅2s(4k+1)\cdot2s, and the number of classified errors is at most (4k+1)2sk+1≤8s\frac{(4k+1)2s}{k+1}\le8s. ◀

Remark 9 (Prefix-sensitive refinement). The charging argument only uses prediction mistakes affecting coordinates up to the largest identifier xx in Π^4k+1\widehat{\Pi}^{4k+1}. For a prediction vector aa, let a∣[x]a|_{[x]} denote its restriction to the coordinates {1,…,x}\{1,\ldots,x\}, and let dHd_H denote Hamming distance. Defining the average actual prefix error as σ=14k+1∑pr∈Π^4k+1dH(ar∣[x],a^∣[x])\sigma=\frac{1}{4k+1}\sum_{p_r\in\widehat{\Pi}^{4k+1}}d_H(a_r|_{[x]},\widehat{a}|_{[x]}), the same bound yields ∣FalseNeg4k+1∣+∣FalsePos4k+1∣=O(σ)|\mathrm{FalseNeg}_{4k+1}|+|\mathrm{FalsePos}_{4k+1}|=O(\sigma). This prefix-sensitive quantity can be smaller than ss, but we state main bounds in terms of ss for clarity.

The Predictive Core-Leader Agreement (PCLA) Protocol

We can now present our protocol, Predictive Core-Leader Agreement (PCLA), which builds upon the structure of leader driven consensus protocols [12, 13] while leveraging local kk-error-bounded predictions to improve round and message complexity. At a high level, honest core processes repeatedly send their candidate set to all processes in their sending set, wait to receive candidate sets from all processes in their listening set, and use these candidate sets to determine (a) whether to act as a leader in this round, and (b) whether to accept a leader proposal from any given process. The candidate sets are then updated at the end of the round, eliminating all processes that lack sufficient support, or have been proven Byzantine.

Graded Agreement Black Box

The protocol uses a graded agreement protocol as a building block. Our graded agreement implementation uses listening and sending sets and provides guarantees among core set processes, as specified below.

Definition 10 (Core-set graded agreement). Each process pip_i in core set C4k+1C_{4k+1} receives input viv_i and outputs some (v,g)(v,g) where g∈{0,1}g\in\{0,1\} is a binary grade, such that: (1) Validity: if all honest processes in C4k+1C_{4k+1} start with the same input value vv, then all honest processes in C4k+1C_{4k+1} output (v,1)(v,1); (2) Graded consistency: if some honest process in C4k+1C_{4k+1} outputs (v,1)(v,1), then every honest process in C4k+1C_{4k+1} outputs (v,g)(v,g) for some g∈{0,1}g\in\{0,1\}; and (3) Termination: every honest process in C4k+1C_{4k+1} eventually outputs a pair (v,g)(v,g) and terminates.

The graded agreement protocol is executed after πi\pi_i and SendiSend_i are computed, following the classical two-round structure of graded consensus [28].

The protocol uses two synchronous communication rounds, the exchange and decide rounds. In the exchange round, each core process sends its value to all processes in its sending set. It then collects exchange messages from all processes in its listening set. If it observes at least 3k+13k+1 exchange messages from its listening set with the same value v^\hat{v}, it updates its own value to v^\hat{v} and propagates that value again to its sending set in the decide round. Whether or not it sent a decide message itself, it then collects decide messages from its listening set, and uses these to arrive at a final decision. In particular, it makes one of three

$p_i$’s local variables:
    $a_i$                 // prediction string
    $Send_i$              // sending set

gradedAgreement($v$):
    myval = $v$
    if $p_i \in C_{4k+1}$:
        send <EXCHANGE, myval> to all processes in $Send_i$
    if the same EXCHANGE value $\hat{v}$ received at least $3k + 1$ times from processes in $\Pi_i^{4k+1}$:
        myval = $\hat{v}$
        send <DECIDE, myval> to all processes in $Send_i$
    $R$ = set of received DECIDE messages from processes in $\Pi_i^{4k+1}$
    if the same value $\hat{v}$ received appears in $R$ at least $3k + 1$ times:
        return $\hat{v}, 1$
    else if the same value $\hat{v}$ appears in $R$ at least $k + 1$ times:
        return $\hat{v}, 0$
    else:
        return myval, 0

Algorithm 3 Graded Agreement with Prediction

decisions: (1) if it sees at least 3k+13k + 1 copies of the same decision value from its listening set, it decides that value with grade 1, (2) otherwise, if it sees the same decision value from at least k+1k + 1 listening set processes, then it decides that value but with grade 0, and finally, (3) if it does not see any decision value at least k+1k + 1 times, it decides on its own value, again with grade 0. In both rounds, process pip_i counts only messages received from processes in its local listening set Πi4k+1\Pi_i^{4k+1}; all other messages are ignored.

The correctness proof is the standard two-round graded-consensus argument, adapted to the local sending and listening sets. The replacement for all-to-all communication is Lemma 6: whenever an honest true-prefix process sends to its sending set, every honest core process that listens to it receives the message. Thus every honest core process receives messages from at least 3k+13k + 1 processes in Πi4k+1∩Π^4k+1\Pi_i^{4k+1} \cap\widehat{\Pi}^{4k+1}. The proof appears in Appendix C.

Theorem 11 (Core-set graded agreement correctness). Algorithm 3 satisfies validity, graded consistency, and termination for honest processes in C4k+1C_{4k+1}.

Maintained Sets and Counters

Each core process pi∈C4k+1p_i \in C_{4k+1} maintains two local sets and two types of per-process counters, updated in each round rr:

  • Candidate Set (Candi(r)Cand_i^{(r)}): Valid candidate leaders for round rr, initialized to Candi(1)={pj:cci[j]=1}Cand_i^{(1)} = \{p_j : cc_i[j] = 1\}.

  • Ignore Set (Ignorei(r)Ignore_i^{(r)}): Monotonically non-decreasing set of identified Byzantine processes, initialized to Ignorei(0)=∅Ignore_i^{(0)} = \varnothing.

  • Support Counters: supporti(r)(j)=∣{x∈(Πi4k+1∖Ignorei(r)):j∈Candx(r)}∣support_i^{(r)}(j) = |\{x \in(\Pi_i^{4k+1} \setminus Ignore_i^{(r)}) : j \in Cand_x^{(r)}\}|, tracking non-ignored listening processes including pjp_j, initialized with supporti(0)(j)=4k+1support_i^{(0)}(j) = 4k + 1.

  • Front-Runner Counters: fronti(r)(j)=∣{x∈(Πi4k+1∖Ignorei(r)):j=min⁡Candx(r)}∣front_i^{(r)}(j) = |\{x \in(\Pi_i^{4k+1} \setminus Ignore_i^{(r)}) : j = \min Cand_x^{(r)}\}|, tracking processes where pjp_j is the minimum-ID candidate, initialized with fronti(0)(j)=0front_i^{(0)}(j) = 0 (no minimum if Candx(r)=∅Cand_x^{(r)} = \varnothing).

The protocol

The pseudocode for PCLA appears in Algorithm 4, with its complete formal proof given in Appendix D. The protocol proceeds as follows. Each core process begins with the two

local variables for process $p_i$: $Send_i = \varnothing$, input $v_i$, prediction $a_i$
Value PCLA():
    if $\pi_i(i) > 5k + 1$: //not part of core
        wait until receive at least $3k+1$ DECIDE(v) messages from processes in $\Pi_i^{4k+1}$
        decide v and terminate
    initialize()
    Cand = generateCandidates()
    stop = 2; Ignore = $\varnothing$; support[1..n] = $4k+1$; front[1..n] = 0
    while true:
        if stop <= 0: return $v_i$
        if stop == 1: stop -= 1
        (newval, g) = gradedAgreement($v_i$)
        (newg, gg) = gradedAgreement(g)
        if (newg, gg) == (1,1):
            decide newval and broadcast DECIDE(newval) to all processes
            stop -= 1
        maxg = max(g, newg)
        send Cand to all processes in $Send_i$
        RCands = set of tuples (x, $Cand_x$) where $p_x \in \Pi_i^{4k+1}$ and $Cand_x$ is received candidate set from $p_x$
        for each (x, $Cand_x$) in RCands:
            if $\exists p_j \in Cand_x$ such that support[j] $\le k$:
                add $p_x$ to Ignore //ignore procs that failed cleanup rule
        old_front[1...n] = front[1...n];
        support[1..n] = 0; front[1..n] = 0 //update support and front counters
        for each (x, $Cand_x$) in RCands:
            if $p_x \in Ignore$: continue // Not counting ignored processes
            for each $p_j \in Cand_x$: support[j]++
            if $Cand_x \ne \varnothing$: front[min $Cand_x$]++
        if front[i] $\ge 3k+1$:
            send LEADER(newval) to all processes
        UsedLeaders = $\varnothing$
        upon receiving LEADER(v) message from $p_j$:
            add $p_j$ to UsedLeaders
            if $p_j \in Cand$ && support[j] $\ge 3k+1$ && front[j] $\ge k+1$ && maxg == 0:
                newval = v //accept $p_j$ as leader
        RemoveSet = $\{p_j$:support[j]$< 3k+1\} \cup$ UsedLeaders $\cup \{p_j$:front[j]$\ge3k+1$ and old_front[j]$\ge3k+1\}$
        Cand = Cand $\setminus$ RemoveSet
        $v_i$ = newval

Algorithm 4 The Predictive Core-Leader Agreement (PCLA) Algorithm

setup phases: it sends pings to build SendiSend_i, and exchanges listening sets to construct its initial candidate set Candi(1)Cand_i^{(1)}.

Each round of the main loop begins with two consecutive calls to core-set graded agreement; once with pip_i’s current value, to receive newvalinewval_i, gig_i as output, and the other with the outputted grade from the previous graded agreement instance (i.e., inputting gig_i to the second instance). If the second instance outputs (1, 1), pip_i then decides the output of the first instance newvalinewval_i, and broadcasts its decision to all processes. This double graded agreement scheme allows safe early stopping – if a process receives a double grade-1, it can decide immediately and terminate after one more round, with the knowledge that all other processes have necessarily adopted its decision value and will decide in the next round as well. Importantly, a leader’s value is only adopted in a given round if the maximum grade of the two graded agreement instances in that round is 0. Graded agreement therefore also serves as a validity check, preventing a Byzantine leader from injecting an invalid value.

We formalize this intuition in the following lemma that establishes the safety of the double grade-1 termination policy described above.

Lemma 12. If some honest core process first decides value vv in round rr, then all honest core processes decide by the end of round r+1r+1.

The remainder of the protocol is to ensure that this eventually occurs; in particular, that we eventually have a good round in which some honest process is guaranteed to decide. For this purpose, processes trade candidates and use this information to attempt to converge on a value through the selection of a leader.

In more detail, after the graded agreement instances have been run, process pip_i now sends its candidate set Candi(r)\mathit{Cand}_i^{(r)} to all processes in its sending set. Once it receives Candj(r)\mathit{Cand}_j^{(r)} from all processes pjp_j in its listening set who sent their candidate sets in this round, pip_i uses these candidate sets to (a) determine who should be leader in this round, and (b) update its own candidate set for the next round. It also uses this information to detect Byzantine reports and eliminate senders of such reports from its consideration going forward.

After receiving the candidate sets, pip_i checks whether it should act as leader in this round, by checking whether it is the front runner in at least $3k+1$ received candidate sets. If so, it sends a ⟨LEADER,newvali⟩\langle\mathit{LEADER},\mathit{newval}_i\rangle to all processes. Importantly, if pip_i does not believe itself to be the leader, it uses different conditions to determine whether to accept a leader message if it receives one. In particular, pip_i accepts a leader message from pjp_j if pjp_j is in its candidate set Candi(r)\mathit{Cand}_i^{(r)} and (a) appears in the candidate set of at least 3k+13k+1 processes (i.e., supporti(r)(j)≥3k+1\mathit{support}_i^{(r)}(j) \ge3k+1, and (b) is the front runner of at least k+1k+1 processes (i.e., fronti(r)(j)≥k+1).Ifaleaderisacceptedby\mathit{front}_i^{(r)}(j) \ge k+1). If a leader is accepted byp_i$, then pip_i adopts its value if the maximum grade it got from its two graded agreement instances in this round was 0. We show that this acceptance of a leader ensures uniqueness per process per round. More formally,

Lemma 13 (Local uniqueness of accepted leader). In every round, each honest process accepts at most one leader proposal.

Proof. Suppose pip_i accepts j<ℓj < \ell, requiring supporti(r)(j)≥3k+1\mathit{support}_i^{(r)}(j) \ge3k+1 and fronti(r)(ℓ)≥k+1\mathit{front}_i^{(r)}(\ell) \ge k+1. Since any candidate set with minimum ℓ\ell cannot contain jj, the two counts are disjoint. This requires at least (3k+1)+(k+1)>4k+1(3k+1)+(k+1)>4k+1 distinct senders in Πi4k+1\Pi_i^{4k+1}, contradicting ∣Πi4k+1∣=4k+1|\Pi_i^{4k+1}|=4k+1.

Lemma 14. If some honest process pkp_k acts as leader in round rr, and some honest process pip_i has maxg=1\mathit{maxg}=1 in round rr, then pkp_k sends a LEADER(v)\mathit{LEADER}(v) message with the same value vv that pip_i has as its newval\mathit{newval} in round rr.

Proof. This is a simple consequence of the correctness of the graded agreement protocol. For pip_i to have maxg=1\mathit{maxg}=1 in round rr, it must have gotten grade 1 in at least one of the graded agreement instances in round rr. By validity, if the second invocation returns value 1, then some honest core process input 1 to it, and hence some honest core process received grade 1 in the first invocation. By the graded consistency of the first instance, all honest processes received the same value newval\mathit{newval} in the first instance. Thus, since pip_i and pkp_k are both honest, and pkp_k sends its newval\mathit{newval} value in its leader message, pip_i and pkp_k have the same value.

Note that there is an asymmetry in leader selection; pip_i needs more certainty to act as leader than to accept another process that claims to be leader. This asymmetry turns out to be the balance that is needed to ensure that a good leader is eventually chosen and listened to by all honest core processes despite their differences in listening and candidate sets. In particular, we show that eventually, there is a round in which some honest process is the accepted leader for all honest core processes.

However, for the latter condition to hold, we must carefully prune the candidate sets in each round to ensure progress towards this goal; in particular, any processes that turn out not to be p⋆p^\star must be removed from the candidate sets to ensure that p⋆p^\star is eventually the front runner in sufficiently many candidate sets. Thus, the candidate set is pruned in a clean-up phase that removes: (1) any process pjp_j with support⁡i(r)(j)≤3k\operatorname{support}_i^{(r)}(j) \le3k, as it can never be accepted by pip_i in future rounds; (2) any process pjp_j that sent a leader message in round rr; and (3) any process pjp_j with front⁡i(r)(j)≥3k+1\operatorname{front}_i^{(r)}(j) \ge3k+1 across two consecutive rounds, since an honest leader would have already acted.

Given these clean-up rules, pip_i can also detect Byzantine behavior of processes that did not properly execute their clean up from the previous round. Thus, if any process pℓp_\ell lists in its candidate set a process pjp_j that was supported by kk or fewer processes in the previous round, then pℓp_\ell is added to pip_i’s ignore set. Intuitively, pip_i knows that any honest process pℓp_\ell would have removed such a pjp_j from its candidate set before reporting Cand⁡ℓ(r)\operatorname{Cand}_\ell^{(r)}, and therefore, if pℓp_\ell did not do so, it must be Byzantine. This ignore-set update can be executed immediately upon receiving the candidate sets in round rr, and does not need to wait until the end of the round. We show that an honest process never places an honest process in its ignore set.

Lemma 15 (Ignore set safety). For every honest process pi∈C4k+1p_i \in C_{4k+1} and every round r≥0r \ge0, Ignore⁡i(r)∩H=∅\operatorname{Ignore}_i^{(r)} \cap H = \varnothing.

Proof sketch. The ignore rule adds a process only if it reports a candidate whose previous support was at most kk. We show that an honest process can never do this; if an honest process php_h keeps a candidate pjp_j into the next round, then php_h must have seen support at least 3k+13k+1 for pjp_j in the previous round. At least 2k+12k+1 of these supporters lie in Π^4k+1\widehat{\Pi}_{4k+1}, and for any other honest core process pip_i, its listening set’s overlap with these is at least k+1k+1. ◀

To prove that the algorithm terminates, we rely on the fact that honest core processes have a common honest candidate (as established by Lemma 7), and show that progress is made toward such a candidate being the front runner for enough processes. For that purpose, denote the lowest-ID candidate that all honest core processes have in common by

p⋆=min⁡(Π^4k+1∩⋂pi∈C4k+1∩HCand⁡i(1)).p^\star= \min\left(\widehat{\Pi}_{4k+1} \cap\bigcap_{p_i \in C_{4k+1}\cap H} \operatorname{Cand}_i^{(1)}\right).

We show that bad candidates with lower IDs than p⋆p^\star are regularly eliminated from honest processes’ candidate sets.

Lemma 16 (Three-round elimination of the global honest minimum). Let m(r)m^{(r)} be the minimum candidate across all honest core processes’ candidate sets in round rr. Then m(r)∉Cand⁡i(r+3)m^{(r)} \notin\operatorname{Cand}_i^{(r+3)} for every honest core process pip_i.

Proof sketch. Let m=m(r)m = m^{(r)}. By definition of mm, no honest core process has any candidate q<mq < m at the beginning of round rr. Thus, from the point of view of any honest core process pip_i, any report containing such a qq can only come from the at most kk wrongly-predicted-correct processes in Π^4k+1∖Π^4k+1\widehat{\Pi}_{4k+1} \setminus\widehat{\Pi}_{4k+1}. Therefore qq has support at most kk at pip_i.

Now consider round r+1r+1. If some process pjp_j reports a candidate q<mq < m, then pip_i detects that pjp_j failed to remove a candidate whose previous support was ≤k\le k, and adds pjp_j to the ignore set before recomputing support and front. Consequently, after the ignore-set update in round r+1r+1, no active candidate set seen by pip_i contains a candidate smaller than mm.

At this point, mm will be removed from pip_i’s candidate set within two rounds due to the cleanup rules — either its support diminishes to below 3k+13k+1 processes, or it acts as LEADER, or it remains the front runner of at least 3k+13k+1 candidate sets for two rounds in a row. ◀

To bound the amount of time it takes for a good candidate to emerge, we define the set of blocking candidates, or processes with a lower ID than p⋆p^\star that appear in the candidate set of some honest core process. Intuitively, these are the mms that we must spend rounds to remove from the candidate sets.

BlockingCands={q<p⋆:∃pj∈C4k+1∩H such that q∈Cand⁡j(1)}.\mathit{BlockingCands} = \{q < p^\star: \exists p_j \in C_{4k+1} \cap H \text{ such that } q \in\operatorname{Cand}_j^{(1)}\}.

Lemma 17 (Bound on blocking candidates). The number of blocking candidates satisfies ∣BlockingCands∣≤8s\lvert BlockingCands\rvert\le8s.

Proof. We show that every blocking candidate is either a classified false negative or a classified false positive. Fix q∈BlockingCandsq \in BlockingCands. If q∈Π^4k+1q \in\widehat{\Pi}^{4k+1}, then qq is an honest core process. Since q<p⋆q < p^\star, and p⋆p^\star is the minimum-ID honest core process classified positively by every honest core process, qq cannot be classified positively by all honest core processes. Hence some honest core process rejects qq, so q∈FalseNeg4k+1q \in FalseNeg_{4k+1}.

Otherwise, q∉Π^4k+1q \notin\widehat{\Pi}^{4k+1}. Since q∈BlockingCandsq \in BlockingCands, it appears in the initial candidate set of some honest core process, equivalently it is classified positively by that process. Hence q∈FalsePos4k+1q \in FalsePos_{4k+1}. Thus BlockingCands⊆FalseNeg4k+1∪FalsePos4k+1BlockingCands \subseteq FalseNeg_{4k+1} \cup FalsePos_{4k+1}. The claim follows from Lemma 8.

Definition 18 (Good leader round). A round rr is a good leader round if, after the two graded-consensus invocations of round rr, there exists an honest core process p⋆p^\star such that:

  1. p⋆p^\star sends LEADER(v)LEADER(v) in round rr;

  2. every honest core process with maxg=0maxg = 0 accepts the value sent by p⋆p^\star;

  3. every honest core process with maxg=1maxg = 1 has newval=vnewval = v.

Lemma 19 (Existence of a good leader). Let p⋆p^\star be the minimum-ID honest core process that is classified positively by every honest core process. Then either some honest core process decides before p⋆p^\star becomes a good leader, or there exists a round in which p⋆p^\star is a good leader.

Proof sketch. The proof relies on two technical facts, proved formally in Appendix § 13. First, as long as no honest core process ever sees p⋆p^\star as a strong front-runner, p⋆p^\star is never removed from any honest core candidate set. Second, since the number of blocking candidates below p⋆p^\star is bounded by Lemma 17, and Lemma 16 eliminates the global honest minimum within a constant number of rounds, eventually some honest core process must see p⋆p^\star as a strong front-runner. We show that p⋆p^\star remains in the candidate set of all honest processes until enough of them see it as the front runner. Once that happens, p⋆p^\star can act as leader, and by Lemma 14, this becomes a good leader round.

A good leader round synchronizes the values of all honest core processes: processes with maxg=0maxg = 0 adopt the leader value, while processes with maxg=1maxg = 1 already hold that value by definition of a good leader round. Therefore, by validity of the two graded-agreement invocations, all honest core processes decide in the next round.

Until now, we’ve shown that all decisions are safe, and that eventually, a decision among the core set processes is reached (since, if a decision does not happen earlier, eventually a good leader round occurs). We now wrap up the proof with a few final lemmas that show how a decision gets disseminated to the rest of the processes and formalizing the above statements to show the desired agreement, validity, and termination.

Lemma 20 (Dissemination to non-core processes). Assume that all honest core processes output the same value vv and broadcast DECIDE(v)DECIDE(v) to all processes. Then every honest process pi∉C4k+1p_i \notin C_{4k+1} eventually decides vv.

Proof. Let pi∉C4k+1p_i \notin C_{4k+1} be honest. By Lemma 3, ∣Π^i4k+1∩Π^4k+1∣≥3k+1\lvert\widehat{\Pi}^{4k+1}_i \cap\widehat{\Pi}^{4k+1}\rvert\ge3k+1. By Lemma 4, every process in Π^4k+1\widehat{\Pi}^{4k+1} belongs to C4k+1C_{4k+1}. Therefore, among the processes in Π^i4k+1\widehat{\Pi}^{4k+1}_i, at least 3k+13k+1 are honest core processes. By assumption, all of them broadcast DECIDE(v)DECIDE(v). Hence pip_i eventually receives DECIDE(v)DECIDE(v) from at least 3k+13k+1 processes in Π^4k+1\widehat{\Pi}^{4k+1} and decides vv.

Theorem 21 (Correctness). The Predictive Core-Leader Agreement protocol satisfies validity, agreement, and termination.

Complexity

We now bound the round and honest-message complexity. Throughout this section, ff denotes the actual number of Byzantine processes, kk is the local prediction-error guarantee, and s≤ks \le k is the actual maximum prediction error of any honest process in the execution.

Theorem 22 (Complexity). The Predictive Core-Leader Agreement (PCLA) protocol reaches a decision after O(s+1)O(s + 1) iterations of the main loop. Consequently, its round complexity is O(s+1)O(s + 1), and O(k)O(k) in the worst case. Its honest-message complexity is O((f+k)ks+nk)O((f + k)ks + nk). In particular, in the worst case this is O((t+k)k2+nk)O((t + k)k^{2} + nk).

Proof. By Lemma 4, there are at most 6k+16k + 1 honest core processes. Moreover, any honest process sends only to its sending set, whose size is at most f+6k+1f + 6k + 1: the sending set contains at most all honest core processes and the ff Byzantine processes. Thus, whenever all honest core processes send one message to their sending sets, the cost is O((f+k)k)O((f + k)k).

The setup phase consists of sending-set construction and candidate generation. Sending-set construction costs O(k2)O(k^{2}) messages, since each honest core process sends to 4k+14k+1 processes. Candidate generation costs O((f+k)k)O((f + k)k) messages by the sending-set bound above. Thus the total setup cost is O((f+k)k)O((f + k)k) messages and O(1)O(1) rounds.

Each main-loop iteration contains two graded-agreement invocations and one candidate-set transmission step. Each of these costs O((f+k)k)O((f + k)k) honest messages and O(1)O(1) rounds, so one iteration costs O((f+k)k)O((f + k)k) messages and O(1)O(1) rounds. By the progress argument, after O(s+1)O(s + 1) iterations either a decision has already occurred or a good synchronizing round occurs, which leads to decision within a constant number of additional iterations.

Finally, each honest core process broadcasts DECIDE at most once and sends LEADER at most once before being removed as a used leader. Since there are O(k)O(k) honest core processes, all such broadcasts contribute O(nk)O(nk) messages in total. Therefore the total honest-message complexity is O((f+k)k)+O((s+1)(f+k)k)+O(nk)=O((f+k)ks+nk)O((f + k)k) + O((s + 1)(f + k)k) + O(nk) = O((f + k)ks + nk), where the additive O((f+k)k)O((f + k)k) term is absorbed by O(nk)O(nk). Since s≤ks \le k and f≤tf \le t, the worst-case message bound is O((t+k)k2+nk)O((t + k)k^{2} + nk), and the worst-case round bound is O(k)O(k).

:::

Corollary 23 (Prefix-sensitive complexity). Let σ\sigma be the prefix-sensitive prediction error defined in Remark 9. Then the protocol reaches a decision after O(σ+1)O(\sigma+ 1) main-loop iterations, has round complexity O(σ+1)O(\sigma+ 1), and has honest-message complexity O((f+k)kσ+nk)O((f + k)k\sigma+ nk).

Lower Bounds

In this section, we prove lower bounds for the local kk-error prediction model. As in the classical Dolev–Reischuk lower bound [25], and as in prior work on Byzantine Agreement with predictions, we state the main message lower bound for Byzantine broadcast. Byzantine broadcast assumes a designated sender and requires that all honest processes deliver the same value, and that if the sender is honest then all honest processes deliver the sender’s input value. The standard reduction from Byzantine broadcast to Byzantine agreement adds only an initial sender-to-all communication step, and therefore an Ω(nk)\Omega(nk) lower bound for broadcast also gives the same asymptotic lower bound for Byzantine Agreement when k≥1k \ge1.

We first show that deterministic synchronous Byzantine broadcast in the local kk-error prediction model requires Ω(nk)\Omega(nk) honest messages even in an all-honest execution in which all processes receive the same perfectly accurate prediction vector. The key to the argument is that, although the hard execution itself has no prediction errors, the protocol must remain correct on executions in which up to kk processes are falsely predicted to be honest. then show a black-box reduction from standard Byzantine broadcast, showing that any deterministic lower bound for the classical problem carries over whenever the number of faults does not exceed the local prediction budget.

An Ω(nk)\Omega(nk) Message Lower Bound

We begin with the direct lower bound. Even if the actual execution is all-honest and all processes receive the same perfectly accurate prediction vector, any deterministic synchronous Byzantine broadcast protocol in the local kk-error prediction model must send Ω(nk)\Omega(nk) honest messages in some such execution.

Theorem 24. Assume t≥k≥1t \ge k \ge1. For every deterministic synchronous algorithm that solves Byzantine broadcast with up to tt Byzantine faults in the local kk-error prediction model, there exists an all-honest execution in which all processes receive the same perfectly accurate prediction vector, and in which honest processes send Ω(nk)\Omega(nk) messages.

Proof Sketch. We adapt the classical indistinguishability technique of Dolev and Reischuk [25] for the prediction-free Ω(nt)\Omega(nt) lower bound. Consider two all-honest executions E0,E1E_0,E_1 with sender inputs 0,10,1 and identical accurate predictions (1,…,1)(1,\ldots,1), and sender p1p_1.

We define the touch count of a process pjp_j, touch⁡(pj)\operatorname{touch}(p_j), to be the total messages incident to pjp_j (sent to or from pjp_j) across both executions. If in both executions E0,E1E_0,E_1, there are <nk/8< nk/8 honest messages, then by a loose counting argument, we can show that there is at least one process pip_i other than the sender such that touch⁡(pi)<k\operatorname{touch}(p_i) < k. Let Λ\Lambda be the set of processes that exchange at least one message with pip_i in E0E_0 or E1E_1, so ∣Λ∣≤touch⁡(pi)<k≤t|\Lambda| \le\operatorname{touch}(p_i) < k \le t. We construct a third execution EbadE_{\mathrm{bad}} in which all processes in Λ\Lambda are Byzantine, all other processes (including pip_i) are honest, the sender p1p_1 has input 00 if p1∉Λp_1 \notin\Lambda, and every honest process keeps the all-ones prediction vector (1,…,1)(1,\ldots,1). The Byzantine processes in Λ\Lambda behave as in E0E_0 toward all honest processes other than pip_i, and as in E1E_1 toward pip_i. Consequently, honest process pip_i cannot distinguish EbadE_{\mathrm{bad}} from E1E_1 and decides 11, whereas all other honest processes cannot distinguish EbadE_{\mathrm{bad}} from E0E_0 and decide 00, violating agreement. The full proof is in Appendix § 14.

Furthermore, any classical deterministic lower bound for synchronous Byzantine broadcast carries over whenever the number of faults does not exceed the local uncertainty bound (ℓ≤min⁡{t,k}\ell\le\min\{t,k\}): an adversary can simply induce an execution where all honest nodes receive the all-ones vector (1,…,1)(1,\ldots,1), incurring at most ℓ≤k\ell\le k false positives and zero false negatives. Consequently, any protocol in our model inherits the standard message lower bounds on this execution family, and the worst-case round complexity is at least min⁡{t,k}+1\min\{t,k\}+1 (formal statements and proofs in Appendix § 14).

Common Prediction Vectors and the Price of Disagreement

The ss-dependent part of our protocol is the cost of reconciling different honest local prediction views. This cost disappears when all honest processes receive the same prediction vector.

Suppose all honest processes receive the same vector aa with dH(a,a)≤kd_H(a,a) \le k, and assume n−t≥3k+1n-t \ge3k+1. Let CC be the first $3k+1$ processes in the ordering induced by aa. Then CC contains at most kk Byzantine processes. Hence the processes in CC can simply run any Byzantine Agreement protocol A\mathcal{A} for 3k+13k+1 processes tolerating kk Byzantine faults, and then disseminate the decision to all processes: each process outside CC decides after receiving k+1k+1 matching DECIDE messages from members of $C. This gives Byzantine Agreement with message complexity MA(3k+1,k)+O(nk)M_A(3k + 1, k) + O(nk) and, in the synchronous model, round complexity RA(3k+1,k)+1R_A(3k + 1, k) + 1. Thus, using a standard O(k2)O(k^2)-message committee protocol, the total message complexity is O(nk)O(nk), matching the Ω(nk)\Omega(nk) lower bound up to constants. This illustrates that the extra O((f+k)ks)O((f + k)ks) term in PCLA is the price of resolving disagreement between different honest prediction views. We therefore conjecture that the lower bound can be tightened, but this would require a different technique that explicitly relies on an execution in which processes receive different prediction vectors.

Acknowledgements

This work is partially supported by ISF grant number 3673/25.

AI Disclosure

We used ChatGPT to assist with positioning the paper, as well as cleaning up the presentation of the technical sections. The tool materially affected Sections 1 and 2. Additionally, ChatGPT helped tighten the analysis of the algorithm’s resilience, from n≥t+5k+1n \ge t + 5k + 1 to n≥t+4k+1n \ge t + 4k + 1. The authors verified the correctness and originality of all content including references.

Listening and Core Set Honest Overlap Proofs

Lemma 25. For any honest process pip_i and any x≤n−tx \le n - t, ∣Πix∩Π^x∣≥x−k\lvert\Pi_i^x \cap\hat{\Pi}^x \rvert\ge x - k.

Proof. Let aiFNa_i^{FN} be an intermediate prediction vector derived from aia_i by setting all False positive bits to 0. Thus, aiFN[j]=1a_i^{FN}[j] = 1 implies that pjp_j is honest (a^[j]=1\hat{a}[j] = 1). Let kFN≤kk_{FN} \le k be the number of False Negative errors in aiFNa_i^{FN} (and aia_i). Let πi−FN\pi_{i-FN} be the implied permutation and define Πi−FNx\Pi_{i-FN}^x similarly.

Since aiFNa_i^{FN} is “sparser” than the ground truth a^\hat{a}, for any honest process pjp_j that is predicted correctly, its rank in the mediator permutation πi−FN\pi_{i-FN} is: π^(j)=∑r=1ja^[r]≥∑r=1jaiFN[r]=πi−FN(j)\hat{\pi}(j) = \sum_{r=1}^{j} \hat{a}[r] \ge\sum_{r=1}^{j} a_i^{FN}[r] = \pi_{i-FN}(j). This implies that any process in the first xx positions of π^\hat{\pi} that is also predicted as honest by aiFNa_i^{FN} will have a rank ≤x\le x in πi−FN\pi_{i-FN}. Thus, ∣Πi−FNx∩Π^x∣≥x−kFN\lvert\Pi_{i-FN}^x \cap\hat{\Pi}^x \rvert\ge x - k_{FN}.

Next, let kFP=dH(ai,aiFN)k_{FP} = d_H(a_i,a_i^{FN}) be the number of False Positive errors in aia_i, where kFN+kFP=kk_{FN} + k_{FP} = k. Because aiFN[j]=1⇒ai[j]=1a_i^{FN}[j] = 1 \Rightarrow a_i[j] = 1, the rank of any honest process pjp_j can only increase when transitioning from πi−FN\pi_{i-FN} to πi\pi_i: πi(j)=∑r=1jai[r]≤πi−FN(j)+kFP\pi_i(j) = \sum_{r=1}^{j} a_i[r] \le\pi_{i-FN}(j) + k_{FP}. Crucially, the rank increases by at most kFPk_{FP}. Since Πi−FNx∩Π^x⊆H\Pi_{i-FN}^x \cap\hat{\Pi}^x \subseteq H then we can deduce that ∣Πix∩(Πi−FNx∩Π^x)∣≥∣Πi−FNx∩Π^x∣−kFP≥x−k\lvert\Pi_i^x \cap(\Pi_{i-FN}^x \cap\hat{\Pi}^x) \rvert\ge\lvert\Pi_{i-FN}^x \cap\hat{\Pi}^x \rvert- k_{FP} \ge x - k. Because (Πi−FNx∩Π^x)(\Pi_{i-FN}^x \cap\hat{\Pi}^x) is a subset of Π^x\hat{\Pi}^x, we conclude ∣Πix∩Π^x∣≥x−k\lvert\Pi_i^x \cap\hat{\Pi}^x \rvert\ge x - k.

Lemma 26 (Honest core size). For any x≤n−tx \le n - t, the set CxC_x contains all the first xx processes in π^\hat{\pi}, i.e. Π^x⊆Cx\hat{\Pi}^x \subseteq C_x, and ∣Cx∩H∣≤x+2k\lvert C_x \cap H \rvert\le x + 2k.

Proof. Every honest process predicts itself as honest, therefore πi(i)≤π^(i)+k\pi_i(i) \le\hat{\pi}(i) + k. If π^(i)≤x\hat{\pi}(i) \le x, then πi(i)≤x+k⇒pi∈Cx\pi_i(i) \le x + k \Rightarrow p_i \in C_x.

For the size bound on Cx∩HC_x \cap H, let pi∈Cx∩Hp_i \in C_x \cap H. Because pip_i predicts itself as honest (ai[i]=1a_i[i] = 1), its local rank satisfies πi(i)=π^(i)+FPi≤i−FNi≤i≥π^(i)−k\pi_i(i) = \hat{\pi}(i) + \mathrm{FP}_{i}^{\le i} - \mathrm{FN}_{i}^{\le i} \ge\hat{\pi}(i) - k, where FNi≤i\mathrm{FN}_{i}^{\le i} is the number of false negatives with index at most ii. Since pi∈Cxp_i \in C_x, we have πi(i)≤x+k\pi_i(i) \le x + k, so π^(i)−k≤x+k\hat{\pi}(i) - k \le x + k, which implies π^(i)≤x+2k\hat{\pi}(i) \le x + 2k. Therefore, every honest process in CxC_x belongs to Π^x+2k\hat{\Pi}^{x+2k}, proving ∣Cx∩H∣≤min⁡(x+2k,n)≤x+2k\lvert C_x \cap H \rvert\le\min(x + 2k,n) \le x + 2k.

Lemma 27 (Listening set overlap). Let pip_i, pjp_j be honest processes, and let x≤n−tx \le n - t. Then ∣Πix∩Πjx∩H∣≥x−2k\lvert\Pi_i^x \cap\Pi_j^x \cap H \rvert\ge x - 2k.

Proof. Since (Πix∩Π^x)∪(Πjx∩Π^x)⊆Π^x(\Pi_i^x \cap\hat{\Pi}^x) \cup(\Pi_j^x \cap\hat{\Pi}^x) \subseteq\hat{\Pi}^x therefore from the inclusion-exclusion principle:

∣Πix∩Π^x∣+∣Πjx∩Π^x∣−∣(Πix∩Π^x)∩(Πjx∩Π^x)∣≤∣Π^x∣\lvert\Pi_i^x \cap\hat{\Pi}^x \rvert+ \lvert\Pi_j^x \cap\hat{\Pi}^x \rvert- \lvert(\Pi_i^x \cap\hat{\Pi}^x) \cap(\Pi_j^x \cap\hat{\Pi}^x) \rvert\le\lvert\hat{\Pi}^x \rvert

By Theorem 25:

∣Πix∩Π^x∣+∣Πjx∩Π^x∣−∣Π^x∣≤∣(Πix∩Π^x)∩(Πjx∩Π^x)∣\lvert\Pi_i^x \cap\hat{\Pi}^x \rvert+ \lvert\Pi_j^x \cap\hat{\Pi}^x \rvert- \lvert\hat{\Pi}^x \rvert\le\lvert(\Pi_i^x \cap\hat{\Pi}^x) \cap(\Pi_j^x \cap\hat{\Pi}^x) \rvert

Therefore x−2k≤∣(Πix∩Π^x)∩(Πjx∩Π^x)∣x - 2k \le\lvert(\Pi_i^x \cap\hat{\Pi}^x) \cap(\Pi_j^x \cap\hat{\Pi}^x) \rvert and since

(Πix∩Π^x)∩(Πjx∩Π^x)⊆Πix∩Πjx(\Pi_i^x \cap\hat{\Pi}^x) \cap(\Pi_j^x \cap\hat{\Pi}^x) \subseteq\Pi_i^x \cap\Pi_j^x

it implies ∣Πix∩Πjx∣≥x−2k\lvert\Pi_i^x \cap\Pi_j^x \rvert\ge x - 2k. Since x≤n−tx \le n - t then Π^x⊆H\hat{\Pi}^x \subseteq H and therefore all of these processes are honest.

The following corollary shows that there is significant overlap in the listening sets of honest processes, and in particular, that there is a quorum of size at least 2k+12k + 1 of honest processes of overlap between any two honest processes’ listening sets.

Corollary 28 (Listening-set overlap). For any two honest processes pi,pjp_i,p_j, ∣Πi4k+1∩Πj4k+1∩H∣≥2k+1|\Pi_i^{4k+1} \cap\Pi_j^{4k+1} \cap\mathcal{H}| \ge2k+1.

Proof. By Lemma 25, each of Πi4k+1\Pi_i^{4k+1} and Πj4k+1\Pi_j^{4k+1} contains at least 3k+13k+1 processes from Π^4k+1\widehat{\Pi}^{4k+1}. Since ∣Π^4k+1∣=4k+1|\widehat{\Pi}^{4k+1}| = 4k+1, their overlap inside Π^4k+1\widehat{\Pi}^{4k+1} has size at least 2k+12k+1. All these processes are honest.

Proofs of Candidate Leader Properties

Lemma 29 (Common honest candidate.). There exists an honest process p⋆∈Π^4k+1p^\star\in\widehat{\Pi}^{4k+1} such that every honest core process classifies it positively:

∀pi∈H∩C4k+1:cci[p⋆]=1.\forall p_i \in\mathcal{H} \cap C_{4k+1}: \quad cc_i[p^\star] = 1.

Proof. For each honest process pr∈Π^4k+1p_r \in\widehat{\Pi}^{4k+1}, Lemma 4 implies that pr∈C4k+1p_r \in C_{4k+1}, and Lemma 3 implies that ∣Πr4k+1∩Π^4k+1∣≥3k+1|\Pi_r^{4k+1} \cap\widehat{\Pi}^{4k+1}| \ge3k+1.

Therefore each honest process in Π^4k+1\widehat{\Pi}^{4k+1} votes for at least 3k+13k+1 processes from Π^4k+1\widehat{\Pi}^{4k+1}. Since there are 4k+14k+1 honest processes in Π^4k+1\widehat{\Pi}^{4k+1}, the total number of honest votes cast by processes in Π^4k+1\widehat{\Pi}^{4k+1} toward processes in Π^4k+1\widehat{\Pi}^{4k+1} is at least (4k+1)(3k+1)(4k+1)(3k+1). These votes are distributed among the 4k+14k+1 processes of Π^4k+1\widehat{\Pi}^{4k+1}. By the pigeonhole principle, there exists a process p⋆∈Π^4k+1p^\star\in\widehat{\Pi}^{4k+1} that receives at least 3k+13k+1 honest votes from processes in Π^4k+1\widehat{\Pi}^{4k+1}.

Now fix any honest process pip_i, and let

V={pr∈Π^4k+1:pr votes for p⋆}.V = \{p_r \in\widehat{\Pi}^{4k+1}: p_r\text{ votes for }p^\star\}.

Then ∣V∣≥3k+1|V| \ge3k+1. Also, by Lemma 3, ∣Πi4k+1∩Π^4k+1∣≥3k+1|\Pi_i^{4k+1} \cap\widehat{\Pi}^{4k+1}| \ge3k+1. Both VV and Πi4k+1∩Π^4k+1\Pi_i^{4k+1} \cap\widehat{\Pi}^{4k+1} are subsets of Π^4k+1\widehat{\Pi}^{4k+1}, whose size is 4k+14k+1. Hence, by inclusion-exclusion,

∣V∩Πi4k+1∣≥∣V∣+∣Πi4k+1∩Π^4k+1∣−∣Π^4k+1∣≥(3k+1)+(3k+1)−(4k+1)=2k+1.|V \cap\Pi_i^{4k+1}| \ge|V| + |\Pi_i^{4k+1} \cap\widehat{\Pi}^{4k+1}| - |\widehat{\Pi}^{4k+1}| \ge(3k+1) + (3k+1) - (4k+1) = 2k+1.

Thus process pip_i sees at least 2k+12k+1 votes for p⋆p^\star, and therefore sets cci[p⋆]=1cc_i[p^\star] = 1.

Since pip_i was arbitrary, every honest process includes p⋆p^\star in its classification vector.

Lemma 30 (Global classification error bound).

∣FalseNeg⁡4k+1∣+∣FalsePos⁡4k+1∣≤8s.|\operatorname{FalseNeg}_{4k+1}| + |\operatorname{FalsePos}_{4k+1}| \le8s.

In particular, this quantity is O(s)O(s); since s≤ks \le k, it is at most 8k8k, and hence O(k)O(k), in the worst case.

Proof. We charge classification errors to bad prefix incidences among the processes in Π^4k+1\widehat{\Pi}^{4k+1}.

First fix pj∈FalseNeg⁡4k+1p_j \in\operatorname{FalseNeg}_{4k+1}. Then pj∈Π^4k+1p_j \in\widehat{\Pi}^{4k+1}, and there exists an honest core process pi∈C4k+1∩Hp_i \in C_{4k+1} \cap\mathcal{H} such that cci[j]=0cc_i[j] = 0. Hence pip_i counted fewer than 2k+12k+1 votes for pjp_j. By Lemma 3, ∣Πi4k+1∩Π^4k+1∣≥3k+1|\Pi_i^{4k+1} \cap\widehat{\Pi}^{4k+1}| \ge3k+1. Therefore at least (3k+1)−2k=k+1(3k+1) - 2k = k+1 processes in Πi4k+1∩Π^4k+1\Pi_i^{4k+1} \cap\widehat{\Pi}^{4k+1} omitted pjp_j from their transmitted prefixes.

Now fix pj∈FalsePos⁡4k+1p_j \in\operatorname{FalsePos}_{4k+1}. Then pj∉Π^4k+1p_j \notin\widehat{\Pi}^{4k+1}, and there exists an honest core process pi∈C4k+1∩Hp_i \in C_{4k+1} \cap\mathcal{H} such that cci[j]=1cc_i[j] = 1. Hence pip_i counted at least 2k+12k+1 votes for pjp_j. Since ∣Πi4k+1∖Π^4k+1∣≤k|\Pi_i^{4k+1} \setminus\widehat{\Pi}^{4k+1}| \le k, at least k+1k+1 of these votes come from processes in Π^4k+1\widehat{\Pi}^{4k+1}. Each such vote is an inclusion of pjp_j in a transmitted prefix although pj∉Π^4k+1p_j \notin\widehat{\Pi}^{4k+1}.

Thus every classified false negative or false positive can be charged to at least k+1k+1 bad prefix incidences contributed by processes in Π^4k+1\widehat{\Pi}^{4k+1}. The charged incidences for different classified errors are distinct, since each incidence is identified by the sender and the classified process. Therefore, if

B^4k+1=∑pr∈Π^4k+1(∣Πr4k+1∖Π^4k+1∣+∣Π^4k+1∖Πr4k+1∣),\widehat{B}_{4k+1} = \sum_{p_r \in\widehat{\Pi}^{4k+1}} \left(|\Pi_r^{4k+1} \setminus\widehat{\Pi}^{4k+1}| + |\widehat{\Pi}^{4k+1} \setminus\Pi_r^{4k+1}|\right),

then

(∣FalseNeg4k+1∣+∣FalsePos4k+1∣)(k+1)≤B^4k+1.\left(\lvert\mathrm{FalseNeg}_{4k+1}\rvert+\lvert\mathrm{FalsePos}_{4k+1}\rvert\right)(k+1)\le\widehat{B}_{4k+1}.

Finally, each process pr∈Π^4k+1p_r\in\widehat{\Pi}^{4k+1} has at most ss prediction errors. Therefore its local prefix Πr4k+1\Pi^{4k+1}_r can differ from Π^4k+1\widehat{\Pi}^{4k+1} in at most ss extra processes and at most ss missing processes. Hence each such prp_r contributes at most 2s2s to B^4k+1\widehat{B}_{4k+1}, so B^4k+1≤(4k+1)⋅2s\widehat{B}_{4k+1}\le(4k+1)\cdot2s. Combining the two inequalities gives

∣FalseNeg4k+1∣+∣FalsePos4k+1∣≤(4k+1)2sk+1≤8s=O(s).\lvert\mathrm{FalseNeg}_{4k+1}\rvert+\lvert\mathrm{FalsePos}_{4k+1}\rvert\le\frac{(4k+1)2s}{k+1}\le8s=O(s).

Since s≤ks\le k, the worst-case bound is O(k)O(k).

Correctness of Core-Set Graded Agreement

Lemma 31. The core-set graded agreement algorithm satisfies validity.

Proof. Suppose all honest processes in C4k+1C_{4k+1} start with input value vv. Fix an honest process pi∈C4k+1p_i\in C_{4k+1}.

By Lemma 6, in the exchange phase pip_i receives messages from at least 3k+13k+1 honest processes in its listening set. Since all honest core processes start with value vv, all these messages contain vv. Therefore pip_i receives at least 3k+13k+1 copies of vv, sets myval←vmyval\leftarrow v, and sends a DECIDE message.

Since pip_i was arbitrary, every honest process in C4k+1C_{4k+1} sends vv in the decide phase. Applying Lemma 6 again, every honest process pi∈C4k+1p_i\in C_{4k+1} receives at least 3k+13k+1 copies of vv in the decide phase. Thus every honest process in C4k+1C_{4k+1} outputs (v,1)(v,1).

Lemma 32 (Decide-phase integrity). If honest processes pi,pj∈C4k+1p_i,p_j\in C_{4k+1} send values viv_i and vjv_j, respectively, in the decide phase, then vi=vjv_i=v_j.

Proof. Suppose honest processes pi,pj∈C4k+1p_i,p_j\in C_{4k+1} send values viv_i and vjv_j, respectively, in the decide phase.

For pip_i to send viv_i in the decide phase, it must have received at least 3k+13k+1 copies of viv_i in the exchange phase, all counted from senders in Πi4k+1\Pi_i^{4k+1}. By Lemma 3,

∣Πi4k+1∩Π^4k+1∣≥3k+1.\left\lvert\Pi_i^{4k+1}\cap\widehat{\Pi}^{4k+1}\right\rvert\ge3k+1.

and hence at most kk processes in Πi4k+1\Pi_i^{4k+1} lie outside Π^4k+1\widehat{\Pi}^{4k+1}. Therefore at least 2k+12k+1 of the senders from which pip_i received viv_i belong to Π^4k+1\widehat{\Pi}^{4k+1}.

Similarly, at least 2k+12k+1 of the senders from which pjp_j received vjv_j belong to Π^4k+1\widehat{\Pi}^{4k+1}. Thus, both pip_i and pjp_j have sets of at least 2k+12k+1 honest-prefix senders supporting their respective decide-phase values. Since both sets are contained in Π^4k+1\widehat{\Pi}^{4k+1}, which has size 4k+14k+1, they must intersect:

(2k+1)+(2k+1)>4k+1.(2k+1)+(2k+1)>4k+1.

Therefore, there is an honest process in Π^4k+1\widehat{\Pi}^{4k+1} that sent the value supporting pip_i’s decide-phase message and also the value supporting pjp_j’s decide-phase message during the exchange phase. Honest processes send the same exchange-phase value to all recipients, so the two supported values must be the same. Hence vi=vjv_i=v_j.

Lemma 33. The core-set graded agreement protocol satisfies graded consistency.

Proof. Suppose an honest process pi∈C4k+1p_i\in C_{4k+1} outputs (v,1)(v,1). Then, in the decide phase, pip_i received at least 3k+13k+1 copies of vv from processes in Πi4k+1\Pi_i^{4k+1}.

By Lemma 3,

∣Πi4k+1∖Π^4k+1∣≤k.\left\lvert\Pi_i^{4k+1}\setminus\widehat{\Pi}^{4k+1}\right\rvert\le k.

Therefore at least 2k+12k + 1 of the decide-phase senders from which pip_i received vv belong to Π^4k+1\widehat{\Pi}^{4k+1}.

Now fix any honest process pj∈C4k+1p_j \in C_{4k+1}. Again by Lemma 3,

∣Πj4k+1∩Π^4k+1∣≥3k+1.\left|\Pi_j^{4k+1} \cap\widehat{\Pi}^{4k+1}\right| \ge3k + 1.

Both the 2k+12k + 1 honest-prefix senders of vv seen by pip_i and the set Πj4k+1∩Π^4k+1\Pi_j^{4k+1} \cap\widehat{\Pi}^{4k+1} are subsets of Π^4k+1\widehat{\Pi}^{4k+1}, whose size is 4k+14k + 1. Hence, by inclusion-exclusion, pjp_j has at least

(2k+1)+(3k+1)−(4k+1)=k+1(2k + 1) + (3k + 1) - (4k + 1) = k + 1

of those senders in its listening set Πj4k+1\Pi_j^{4k+1}. By the initialization of the sending sets, every such sender sends its decide-phase message to pjp_j. Thus pjp_j receives at least k+1k + 1 copies of vv in the decide phase.

It remains to show that pjp_j cannot output a different value. By Lemma 32, all honest processes that send in the decide phase send the same value. Since at least one honest process sends vv in the decide phase, no honest decide-phase sender sends a value different from vv. Therefore any value different from vv can be received by pjp_j only from processes in Πj4k+1∖Π^4k+1\Pi_j^{4k+1} \setminus\widehat{\Pi}^{4k+1}, of which there are at most kk by Lemma 3. Hence no value different from vv can appear at least k+1k + 1 times.

Consequently, pjp_j outputs (v,g)(v,g) for some g∈{0,1}g \in\{0,1\}.

Lemma 34. The core-set graded agreement algorithm satisfies termination.

Proof. The protocol is defined over a fixed sequence of synchronous rounds.

PCLA Protocol Correctness Proofs

Lemma 35. If some honest core process first decides value vv in round rr, then every honest core process that decides in round rr decides vv, and every honest core process that does not decide in round rr enters round r+1r + 1 with value vv. Consequently, all honest core processes decide by the end of round r+1r + 1.

Proof. Let pip_i be an honest core process that decides vv in round rr. Then pip_i outputs (1,1)(1,1) in the second graded-agreement invocation. Since the second invocation has binary inputs, not all honest core processes could have input 0; otherwise validity would force output (0,1)(0,1). Hence some honest core process input 1 to the second invocation, meaning that some honest core process obtained grade 1 in the first invocation.

By graded consistency of the first invocation, all honest core processes obtain the same value vv. By graded consistency of the second invocation, every honest core process has maxg=1\mathit{maxg} = 1 in round rr, so no honest core process adopts a leader value in that round. Therefore all honest core processes either decide vv in round rr, or enter round r+1r + 1 with value vv. In round r+1r + 1, validity of the two graded-agreement invocations makes all remaining honest core processes decide vv.

Lemma 36 (Ignore set safety). For every honest process pi∈C4k+1p_i \in C_{4k+1} and every round r≥0r \ge0,

Ignorei(r)∩H=∅.\mathit{Ignore}_i^{(r)} \cap\mathcal{H} = \varnothing.

Proof. We prove the claim by induction on rr. For r=0r = 0, it follows from Ignorei(0)=∅\mathit{Ignore}_i^{(0)} = \varnothing.

First consider the transition from round 0 to round 1. Since supporti(0)(j)=4k+1>k\mathit{support}_i^{(0)}(j) = 4k + 1 > k for every candidate pjp_j, the ignore rule cannot add any process to Ignorei(1)\mathit{Ignore}_i^{(1)}.

Thus, Ignorei(1)∩H=∅\mathit{Ignore}_i^{(1)} \cap\mathcal{H} = \varnothing. Now assume the claim holds for round r≥1r \ge1. Suppose, towards contradiction, that in round r+1r+1 an honest process php_h is added to IgnoreiIgnore_i, for some honest pip_i. Then, by the ignore rule, there exists pj∈Candh(r+1)p_j \in Cand_h^{(r+1)} such that supporti(r)(j)≤ksupport_i^{(r)}(j) \le k.

Since php_h is honest and pj∈Candh(r+1)p_j \in Cand_h^{(r+1)}, candidate pjp_j was not removed by php_h at the end of round rr. Hence supporth(r)(j)≥3k+1support_h^{(r)}(j) \ge3k+1. Among these supporters, at least 2k+12k+1 are in Π^4k+1\widehat{\Pi}^{4k+1}, since Πh4k+1\Pi_h^{4k+1} contains at most kk processes outside Π^4k+1\widehat{\Pi}^{4k+1}.

By Lemma 3, ∣Πi4k+1∩Π^4k+1∣≥3k+1|\Pi_i^{4k+1} \cap\widehat{\Pi}^{4k+1}| \ge3k+1. Thus, the 2k+12k+1 honest-prefix supporters seen by php_h and the 3k+13k+1 honest-prefix processes in Πi4k+1\Pi_i^{4k+1} intersect in at least (2k+1)+(3k+1)−(4k+1)=k+1(2k+1)+(3k+1)-(4k+1)=k+1 processes. By the induction hypothesis, none of these honest processes is in Ignorei(r)Ignore_i^{(r)}. Therefore supporti(r)(j)≥k+1support_i^{(r)}(j) \ge k+1, contradicting supporti(r)(j)≤ksupport_i^{(r)}(j) \le k.

Hence no honest process is added to any ignore set in round r+1r+1, completing the induction. ◀

Lemma 37 (Three-round elimination of the global honest minimum). Let m(r)=min⁡(⋃s∈C4k+1∩HCands(r))m^{(r)} = \min\left(\bigcup_{s\in C_{4k+1}\cap H} Cand_s^{(r)}\right) for any r≥1r \ge1 in which ⋃s∈C4k+1∩HCands(r)≠∅\bigcup_{s\in C_{4k+1}\cap H} Cand_s^{(r)} \ne\varnothing. Then m(r)∉Candi(r+3)m^{(r)} \notin Cand_i^{(r+3)} for every honest core process pi∈C4k+1p_i \in C_{4k+1}. Consequently, m(r)<m(r+3)m^{(r)} < m^{(r+3)}.

Proof. Write m=m(r)m=m^{(r)}, and fix an honest core process pi∈C4k+1∩Hp_i \in C_{4k+1} \cap H. If m∉Candi(r)m \notin Cand_i^{(r)}, then since honest candidate sets only shrink, m∉Candi(r+3)m \notin Cand_i^{(r+3)}. So assume m∈Candi(r)m \in Cand_i^{(r)}.

Consider any candidate q<mq<m. By definition of mm, no honest core process has qq in its candidate set in round rr. Therefore any process in Πi4k+1\Pi_i^{4k+1} that reports qq in round rr must lie outside Π^4k+1\widehat{\Pi}^{4k+1}. There are at most kk such processes, hence supporti(r)(q)≤ksupport_i^{(r)}(q) \le k. Thus, by the ignore-set update rule, any process that reports such a qq in round r+1r+1 is added to Ignorei(r+1)Ignore_i^{(r+1)} before supporti(r+1)support_i^{(r+1)} and fronti(r+1)front_i^{(r+1)} are evaluated. Consequently, no non-ignored process in round r+1r+1 reports a candidate smaller than mm. If m∉Candi(r+1)m \notin Cand_i^{(r+1)}, we are done. Otherwise, mm is the smallest candidate appearing in pip_i’s active received candidate sets in round r+1r+1. Now we will cover all cases and see that mm is added to the RemoveSetRemoveSet on round r+1r+1 or round r+2r+2 and therefore m∉Candi(r+3)m \notin Cand_i^{(r+3)}. If supporti(r+1)(m)<3k+1support_i^{(r+1)}(m) < 3k+1, then mm is part of the removed set of round r+1r+1. Otherwise, supporti(r+1)(m)≥3k+1support_i^{(r+1)}(m) \ge3k+1. Since mm is the smallest candidate appearing in pip_i’s active received candidate sets, whenever mm appears in a received set it is its minimum. Hence fronti(r+1)(m)=supporti(r+1)(m)≥3k+1front_i^{(r+1)}(m)=support_i^{(r+1)}(m)\ge3k+1. If m=im=i, then fronti(r+1)(i)≥3k+1front_i^{(r+1)}(i)\ge3k+1, and therefore pip_i sends a LEADER message in round r+1r+1. Hence i=mi=m is included in UsedLeadersUsedLeaders and is added to RemoveSetRemoveSet in round r+1r+1. If m≠im\ne i and pip_i receives a LEADER message from pmp_m in round r+1r+1, then mm is included in UsedLeadersUsedLeaders and is added to RemoveSetRemoveSet in round r+1r+1. Therefore, if mm survives round r+1r+1, it must be that either m≠im\ne i and pip_i did not receive a LEADER message from pmp_m in that round. In round r+2r+2, one of the following happens:

  • either supporti(r+2)(m)<3k+1support_i^{(r+2)}(m)<3k+1, in which case mm is added to RemoveSetRemoveSet;

  • or supporti(r+2)(m)≥3k+1support_i^{(r+2)}(m)\ge3k+1. Since mm was the smallest identifier appearing in the active received candidate sets in round r+1r+1, every q<mq<m had supporti(r+1)(q)=0≤ksupport_i^{(r+1)}(q)=0\le k. Hence any process that reports such a qq in round r+2r+2 is added to Ignorei(r+2)Ignore_i^{(r+2)} before fronti(r+2)front_i^{(r+2)} and supporti(r+2)support_i^{(r+2)} are evaluated. Therefore, among the non-ignored processes in round r+2r+2, mm is again the minimum of every received set containing it, so fronti(r+2)(m)≥3k+1front_i^{(r+2)}(m)\ge3k+1. Since also fronti(r+1)(m)≥3k+1front_i^{(r+1)}(m)\ge3k+1, candidate mm is added to RemoveSetRemoveSet by the consecutive-front cleanup rule.

Thus in all cases mm will be removed in round rr, r+1r+1 or r+2r+2 so m∉Candi(r+3)m \notin Cand_i^{(r+3)}. Since pip_i

was arbitrary, mm is absent from every honest core candidate set in round r+3r+3. Consequently, if m(r+3)m^{(r+3)} is defined, then m(r)<m(r+3)m^{(r)} < m^{(r+3)}.

Lemma 38. Assume that some process p⋆p^\star is initially in the candidate set of every honest core process and that there is no round rr such that there is some honest core process php_h such that front⁡h(r)(p⋆)≥3k+1\operatorname{front}_h^{(r)}(p^\star) \ge3k+1. Then p⋆p^\star stays in the candidate sets of all honest core processes forever.

Proof. We prove this claim by induction. Initially, p⋆p^\star is in all candidate sets by construction. Now consider any round rr in which p⋆p^\star belongs to every honest core candidate set at the beginning of the round. Let pip_i be an honest core process. By Lemma 3, pip_i receives candidate sets from at least 3k+13k+1 honest core processes in Π^4k+1\widehat{\Pi}^{4k+1}, and by Lemma 15 none of these processes is ignored by pip_i. Since all of them still contain p⋆p^\star, we have support⁡i(r)(p⋆)≥3k+1\operatorname{support}_i^{(r)}(p^\star) \ge3k+1. Thus p⋆p^\star is not added to the RemoveSet in the first set on line 37. It is also not added in the second set (i.e., the UsedLeaders set), because p⋆p^\star is honest, and by our assumption, no honest process ever sees front⁡(r)(p⋆)≥3k+1\operatorname{front}^{(r)}(p^\star) \ge3k+1, so p⋆p^\star does not send a LEADER message. Finally, it is not added to the last set that makes up the RemoveSet, since that rule requires p⋆p^\star to be the front runner at least 3k+13k+1 in some round, which does not happen, again by our assumption. Hence p⋆p^\star remains in every honest core candidate set in round r+1r+1, proving the claim.

Lemma 39. There exists a round rr and an honest core process php_h such that front⁡h(r)(p⋆)≥3k+1,\operatorname{front}_h^{(r)}(p^\star) \ge3k+1, where p⋆p^\star is the minimum-ID honest core process that is classified positively by every honest core process.

Proof. We prove the claim by contradiction. Suppose the claim does not hold. Note that by construction, a core process classified positively by an honest core process pip_i appears in its candidate set in round 1. By Lemma 38, p⋆p^\star remains in all honest core candidate sets forever. Therefore the global honest candidate set is never empty. By Lemma 16, the global honest minimum strictly increases every constant number of rounds. Since, by Lemma 17, fewer than 8k8k candidates smaller than p⋆p^\star ever appear in honest core candidate sets, eventually no honest core candidate set contains a candidate smaller than p⋆p^\star. At that point, p⋆p^\star is the minimum candidate in every honest core candidate set. Furthermore, recall that by Lemma 15, no honest process is ignored by any honest process. Hence, every honest core process sees p⋆p^\star as the front-runner in at least 3k+13k+1 non-ignored honest core candidate sets, contradicting our assumption. Thus such a round exists.

Lemma 40. Let p⋆p^\star be the minimum-ID honest core process that is classified positively by every honest core process. Then either some honest core process decides before p⋆p^\star acts as a leader, or there exists a round in which p⋆p^\star establishes a good synchronizing round.

Proof. We prove that, unless an honest core process decides earlier, the process p⋆p^\star eventually becomes an acceptable leader for all honest core processes.

Let rr be the first round in which some honest core process php_h has front⁡h(r)(p⋆)≥3k+1\operatorname{front}_h^{(r)}(p^\star) \ge3k+1. By Lemma 39, such a round exists.

Let GoodVotershGoodVoters_h be the subset of processes in Π^4k+1\widehat{\Pi}^{4k+1} listened to by php_h that have p⋆p^\star as their front runner. Formally,

GoodVotersh={x∈(Π^4k+1∖Ignore⁡h(r))∩Π^4k+1:p⋆=min⁡Cand⁡x(r)}.GoodVoters_h = \{x \in(\widehat{\Pi}^{4k+1} \setminus\operatorname{Ignore}_h^{(r)}) \cap\widehat{\Pi}^{4k+1} : p^\star= \min\operatorname{Cand}_x^{(r)}\}.

Note that since, by Lemma 3, at most kk processes in php_h’s listening set lie outside Π^4k+1\widehat{\Pi}^{4k+1}, ∣GoodVotersh∣≥2k+1|GoodVoters_h| \ge2k+1.

By Lemma 3, for any honest process pip_i, ∣Πi4k+1∩Π^4k+1∣≥3k+1|\Pi_i^{4k+1}\cap\widehat{\Pi}^{4k+1}|\ge3k+1. Since both GoodVotershGoodVoters_h (of size at least 2k+12k+1) and Πi4k+1∩Π^4k+1\Pi_i^{4k+1}\cap\widehat{\Pi}^{4k+1} are subsets of Π^4k+1\widehat{\Pi}^{4k+1} (of size 4k+14k+1), inclusion–exclusion yields

∣Πi4k+1∩GoodVotersh∩H∣=∣Πi4k+1∩GoodVotersh∣≥(2k+1)+(3k+1)−(4k+1)=k+1.|\Pi_i^{4k+1}\cap GoodVoters_h\cap\mathcal{H}|=|\Pi_i^{4k+1}\cap GoodVoters_h|\ge(2k+1)+(3k+1)-(4k+1)=k+1.

By Lemma 36, these honest processes are not ignored by pip_i, and therefore fronti(r)(p⋆)≥k+1front_i^{(r)}(p^\star)\ge k+1. Furthermore, by the choice of rr and Lemma 38, p⋆p^\star is still in every candidate set in round rr, and thus supporti(r)≥3k+1support_i^{(r)}\ge3k+1.

We distinguish two cases.

Case 1:

frontp⋆(r)(p⋆)≥3k+1.front_{p^\star}^{(r)}(p^\star)\ge3k+1.

Then p⋆p^\star sends LEADER⁡(vp⋆tmp)\operatorname{LEADER}(v_{p^\star}^{tmp}) in round rr. Since LEADER messages are sent to all processes, every honest process receives it. As established above, for every honest pip_i,

p⋆∈Candi(r),supporti(r)(p⋆)≥3k+1,fronti(r)(p⋆)≥k+1.p^\star\in Cand_i^{(r)},\qquad support_i^{(r)}(p^\star)\ge3k+1,\qquad front_i^{(r)}(p^\star)\ge k+1.

Thus every honest process with grade 0 accepts the value sent by p⋆p^\star in round rr. Further, by Lemma 14, all processes with maxg=1maxg=1 have the same newvalnewval in this round. So rr is a good synchronizing round, as desired.

Case 2:

frontp⋆(r)(p⋆)<3k+1.front_{p^\star}^{(r)}(p^\star)<3k+1.

We claim that every candidate q<p⋆q<p^\star is removed from every honest candidate set at the end of round rr.

Fix an honest process pip_i and a candidate q<p⋆q<p^\star. Suppose, towards contradiction, that

supporti(r)(q)≥3k+1.support_i^{(r)}(q)\ge3k+1.

Then at least 2k+12k+1 counted supporters of qq lie in Π^4k+1\widehat{\Pi}^{4k+1}. Let

Qq={x∈(Πi4k+1∖Ignore(r))∩Π^4k+1:q∈Candx(r)}.Q_q=\{x\in(\Pi_i^{4k+1}\setminus Ignore^{(r)})\cap\widehat{\Pi}^{4k+1}:q\in Cand_x^{(r)}\}.

Then ∣Qq∣≥2k+1|Q_q|\ge2k+1. Since GoodVotersh,Qq⊆Π^4k+1GoodVoters_h,Q_q\subseteq\widehat{\Pi}^{4k+1},

∣GoodVotersh∩Qq∣≥(2k+1)+(2k+1)−(4k+1)=1.|GoodVoters_h\cap Q_q|\ge(2k+1)+(2k+1)-(4k+1)=1.

Thus some honest process psp_s has both p⋆=min⁡Cands(r)p^\star=\min Cand_s^{(r)} and q∈Cands(r)q\in Cand_s^{(r)}, impossible because q<p⋆q<p^\star. Hence

supporti(r)(q)<3k+1,support_i^{(r)}(q)<3k+1,

so every honest process removes every such qq in line 37 in the first subset of RemoveSetRemoveSet.

Process p⋆p^\star itself is not removed at the end of round rr, since it is supported by all honest processes, did not act as leader in this round, and has been the front runner of at least 3k+13k+1 candidate sets in any honest core process’s listening sets for at most 1 round, by the choice of rr.

Therefore, at the beginning of round r+1r+1, every honest candidate set contains p⋆p^\star and no honest candidate set contains a smaller candidate. Since honest processes are never ignored by Lemma 15, every honest process sees at least 3k+13k+1 non-ignored honest sets whose minimum is p⋆p^\star. In particular,

frontp⋆(r+1)(p⋆)≥3k+1.front_{p^\star}^{(r+1)}(p^\star)\ge3k+1.

so p⋆p^\star sends LEADER⁡(newval)\operatorname{LEADER}(newval) in round r+1r+1. The same acceptance argument as in Case 1 shows that every honest process with grade 0 accepts it. Further, by Lemma 14, all processes with maxg=1maxg=1 have the same newvalnewval in this round. Therefore round r+1r+1 is a good synchronizing round, as desired.

Lemma 41. If no honest core process decides before round rr, and round rr is a good synchronizing round, then all honest core processes decide in round r+1r+1, and all decide the same value.

Proof. Suppose no honest core process decides before round rr, and round rr is a good synchronizing round with p⋆p^\star acting as leader, sending newval in its proposal. By definition of a good synchronizing round, after the grade-update step of round rr, every honest core process with maxg=1\mathit{maxg}=1 already has newval as its current value, while every honest core process with maxg=0\mathit{maxg}=0 accepts the value sent by p⋆p^\star in the leader step. Hence, after the leader step and value update of round rr, all honest core processes start round r+1r+1 with the same value. By the same validity argument used in Lemma 12, the first graded agreement invocation in round r+1r+1 returns this value with grade 1 to every honest core process, and the second invocation on unanimous input 1 returns (1,1)(1,1). Hence all honest core processes decide in round r+1r+1, and all decide the same value.

Theorem 42 (Correctness). The Predictive Core-Leader Agreement (PCLA) protocol satisfies validity, agreement, and termination.

Proof. Validity. Suppose all honest processes start with the same input value vv. Then in particular all honest core processes in C4k+1C_{4k+1} start with value vv. In the first round, the first invocation of graded agreement is executed on unanimous honest core input vv, and therefore every honest core process obtains (v,1)(v,1). The second invocation is then executed on unanimous input 1, hence every honest core process obtains (1,1)(1,1), broadcasts DECIDE(vv), and outputs vv. By Lemma 20, every honest process outside C4k+1C_{4k+1} eventually decides vv as well. Therefore validity holds for all honest processes.

Agreement. We distinguish two cases.

Case 1: Some honest core process outputs before any good synchronizing round occurs.

Let rr be the first round in which an honest core process outputs. By Lemma 12, every honest core process that outputs in round rr outputs the same value, and every honest core process that does not output in round rr enters round r+1r+1 with that same value and with grade 1. Consequently, all remaining honest core processes output in round r+1r+1 with the same value. Since outputting core processes broadcast their decision values, Lemma 20 implies that every honest non-core process eventually decides that same value. Therefore agreement holds for all honest processes.

Case 2: No honest core process outputs before any good synchronizing round occurs.

By Lemma 40, a good synchronizing round exists; let rr be the first such round. Since no honest core process outputs before round rr, Lemma 41 implies that all honest core processes output in round r+1r+1, and all output the same value. They all broadcast this value, and by Lemma 20, every honest process outside C4k+1C_{4k+1} eventually decides the same value. Therefore agreement holds for all honest processes.

Termination. Again, we distinguish two cases.

If some honest core process outputs before any good synchronizing round occurs, then by Lemma 12, every remaining honest core process outputs in the next round. By the protocol, outputting core processes continue for one additional iteration and then terminate. Once all honest core processes have output the same value, they have all broadcast DECIDE for that value, so Lemma 20 implies that every honest non-core process eventually decides. Hence every honest process eventually terminates.

Otherwise, no honest core process outputs before any good synchronizing round occurs. By Lemma 40, a good synchronizing round exists; let rr be the first such round. Lemma 41

implies that all honest core processes output in round r+1r+1. By the protocol, they continue for one additional iteration and then terminate. Once they broadcast their common decision value, Lemma 20 implies that every honest process outside C4k+1C_{4k+1} also eventually decides. Hence every honest process eventually terminates.

Lower bounds

Theorem 43. Assume t≥k≥1t \ge k \ge1. For every deterministic synchronous algorithm that solves Byzantine broadcast with up to tt Byzantine faults in the local kk-error prediction model, there exists an all-honest execution in which all processes receive the same perfectly accurate prediction vector, and in which honest processes send Ω(nk)\Omega(nk) messages.

Proof. Let PP be a deterministic Byzantine broadcast protocol in the local kk-error prediction model. Without loss of generality, let p1p_1 be the designated sender. Consider the following two executions:

  • E0E_0: all processes are honest, every process receives the prediction vector (1,…,1)(1,\ldots,1), and the sender’s input is 0;

  • E1E_1: all processes are honest, every process receives the prediction vector (1,…,1)(1,\ldots,1), and the sender’s input is 1.

In both executions, the common prediction vector is perfectly accurate.

Assume, toward a contradiction, that in both E0E_0 and E1E_1 the honest processes send fewer than nk/8nk/8 messages. For every process pj≠p1p_j \ne p_1, let touch⁡(pj)\operatorname{touch}(p_j) be the total number of messages incident to pjp_j over both executions E0E_0 and E1E_1 together, that is, messages either sent by pjp_j or received by pjp_j in either one of the executions. Since each message contributes at most 2 to the total touch-count, we have

∑j≠1touch⁡(pj)<2⋅nk8+2⋅nk8=nk2.\sum_{j \ne1} \operatorname{touch}(p_j) < 2 \cdot\frac{nk}{8} + 2 \cdot\frac{nk}{8} = \frac{nk}{2}.

Therefore, by averaging over the n−1n-1 processes distinct from the sender, there exists a process pi≠p1p_i \ne p_1 such that

touch⁡(pi)<nk2(n−1)<k,\operatorname{touch}(p_i) < \frac{nk}{2(n-1)} < k,

where the last inequality holds for n≥3n \ge3. Let Λ\Lambda be the set of all processes pj≠pip_j \ne p_i that either send a message to pip_i or receive a message from pip_i in at least one of the two executions E0,E1E_0,E_1. By definition, ∣Λ∣≤touch⁡(pi)<k|\Lambda| \le\operatorname{touch}(p_i) < k. Since t≥kt \ge k, it is valid to choose all processes in Λ\Lambda as Byzantine. Now define a third execution EbadE_{\mathrm{bad}} as follows:

  • every process in Λ\Lambda is Byzantine;

  • every process outside Λ\Lambda is honest, including pip_i;

  • if the designated sender p1∉Λp_1 \notin\Lambda, then it is honest with input 0; if p1∈Λp_1 \in\Lambda, then it is Byzantine;

  • every honest process receives the prediction vector (1,…,1)(1,\ldots,1).

This execution satisfies the local kk-error prediction assumption: the faulty set is exactly Λ\Lambda, every honest process receives the all-ones prediction vector, and therefore each honest prediction vector has exactly ∣Λ∣≤k|\Lambda| \le k false positives and no false negatives.

The Byzantine processes in Λ\Lambda behave as in execution E0E_0 toward every honest process other than pip_i, and behave as in execution E1E_1 toward pip_i. If p1∉Λp_1 \notin\Lambda, then the honest sender has input 0, as in E0E_0. This is consistent because, by construction, every process that sends a message to pip_i or receives a message from pip_i in either E0E_0 or E1E_1 belongs to Λ\Lambda. Consequently:

  • for every honest process pj≠pip_j \ne p_i, the local view of pjp_j in EbadE_{\mathrm{bad}} is indistinguishable from its view in E0E_0, where the honest sender has input 0; hence pjp_j outputs 0;

  • the local view of pip_i in EbadE_{\mathrm{bad}} is indistinguishable from its view in E1E_1, where the honest sender has input 1; hence pip_i outputs 1.

This violates agreement in EbadE_{\mathrm{bad}}, since both pip_i and the honest processes outside Λ\Lambda are honest. Therefore, at least one of E0E_0 and E1E_1 must contain at least nk/8nk/8 honest messages. Hence there exists an all-honest execution with a common perfectly accurate prediction vector in which honest processes send Ω(nk)\Omega(nk) messages.

Reductions from Classical Byzantine Broadcast

Theorem 44 (Message Lower Bound Reduction). Any deterministic message lower bound for synchronous Byzantine broadcast with up to tt Byzantine faults also applies to Byzantine broadcast in the local kk-error prediction model if t≤kt \le k.

Proof. Consider any execution with at most tt Byzantine faults, and give every honest process the all-ones prediction vector ai=(1,…,1)\mathbf{a}_i = (1,\ldots,1). Since there are at most t≤kt \le k faulty processes, each honest process makes at most kk prediction errors, all of them false positives. Thus, the execution is valid in the local kk-error prediction model. Therefore, on this family of executions, any protocol for the local kk-error prediction model must also solve ordinary synchronous Byzantine broadcast with up to tt Byzantine faults, inheriting all deterministic message lower bounds.

Theorem 45 (Round Lower Bound Reduction). Let ℓ≤min⁡{t,k}\ell\le\min\{t,k\}. Any deterministic round lower bound for synchronous Byzantine broadcast with up to ℓ\ell Byzantine faults also applies to Byzantine broadcast in the local kk-error prediction model. In particular, the worst-case round complexity is at least min⁡{t,k}+1\min\{t,k\}+1.

Proof. The proof follows by the same reduction as in Theorem 44, restricting the fault count to ℓ≤min⁡{t,k}\ell\le\min\{t,k\}.

References

  1. [1]Ittai Abraham, Naama Ben-David, Gilad Stern, and Sravya Yandamuri. On the round complexity of asynchronous crusader agreement. Cryptology ePrint Archive, 2023.DOI
  2. [2]Ittai Abraham, Naama Ben-David, and Sravya Yandamuri. Efficient and adaptively secure asynchronous binary agreement via binding crusader agreement. In Proceedings of the 2022 ACM Symposium on Principles of Distributed Computing, pages 381–391, 2022.DOI
  3. [3]Marcos K Aguilera, Naama Ben-David, Rachid Guerraoui, Virendra Marathe, and Igor Zablotchi. The impact of rdma on agreement. In Proceedings of the 2019 ACM symposium on principles of distributed computing, pages 409–418, 2019.arxiv.org/abs/1905.12143
  4. [4]Marcos K Aguilera, Naama Ben-David, Rachid Guerraoui, Antoine Murat, Athanasios Xygkis, and Igor Zablotchi. ubft: Microsecond-scale bft using disaggregated memory. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2, pages 862–877, 2023.
  5. [5]Marcos K. Aguilera, Naama Ben-David, Rachid Guerraoui, Dalia Papuc, Athanasios Xygkis, and Igor Zablotchi. Frugal Byzantine Computing. In 35th International Symposium on Distributed Computing (DISC 2021), 2021.arxiv.org/abs/2108.01330
  6. [6]Sara Ahmadian, Hossein Esfandiari, Vahab Mirrokni, and Binghui Peng. Robust load balancing with machine learned advice. Journal of Machine Learning Research, 2023.DOI
  7. [7]Spyros Angelopoulos, Christoph Dürr, Shendan Jin, Shahin Kamali, and Marc Renault. Online computation with untrusted advice. Journal of Computer and System Sciences, 2024.
  8. [8]James Aspnes and Faith Ellen. Tight bounds for adopt-commit objects. Theory of Computing Systems, 55(3):451–474, 2014.DOI
  9. [9]Yossi Azar, Debmalya Panigrahi, and Noam Touitou. Online graph algorithms with predictions. In Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 35–66. SIAM, 2022.arxiv.org/abs/2112.11831
  10. [10]Naama Ben-David, Benjamin Y Chan, and Elaine Shi. Revisiting the power of non-equivocation in distributed protocols. In Proceedings of the 2022 ACM Symposium on Principles of Distributed Computing, pages 450–459, 2022.
  11. [11]Naama Ben-David, Muhammad Ayaz Dzulfikar, Faith Ellen, and Seth Gilbert. Byzantine agreement with predictions. In Proceedings of the ACM Symposium on Principles of Distributed Computing, pages 3–14, 2025.
  12. [12]Piotr Berman, Juan A Garay, and Kenneth J Perry. Optimal early stopping in distributed consensus. In International Workshop on Distributed Algorithms, pages 221–237. Springer, 1992.DOI
  13. [13]Piotr Berman, Juan A Garay, Kenneth J Perry, et al. Towards optimal distributed consensus. In FOCS, volume 89, pages 410–415, 1989.DOI
  14. [14]Joan Boyar, Faith Ellen, and Kim S. Larsen. Brief announcement: Distributed graph algorithms with predictions. In Proceedings of the Symposium on Principles of Distributed Computing (PODC), 2025. doi:10.1145/3732772.3733530.DOI
  15. [15]Christian Cachin. Asymmetric distributed trust. In Proceedings of the 22nd International Conference on Distributed Computing and Networking, pages 3–3, 2021.
  16. [16]Varun Chandola, Arindam Banerjee, and Vipin Kumar. Anomaly detection: A survey. ACM computing surveys (CSUR), 41(3):1–58, 2009.
  17. [17]Tushar Deepak Chandra, Vassos Hadzilacos, and Sam Toueg. The weakest failure detector for solving consensus. Journal of the ACM (JACM), 1996.
  18. [18]Tushar Deepak Chandra and Sam Toueg. Unreliable failure detectors for reliable distributed systems. Journal of the ACM (JACM), 43(2):225–267, 1996.
  19. [19]Byung-Gon Chun, Petros Maniatis, Scott Shenker, and John Kubiatowicz. Attested append-only memory: Making adversaries stick to their word. ACM SIGOPS Operating Systems Review, 41(6):189–204, 2007.
  20. [20]Pierre Civit, Muhammad Ayaz Dzulfikar, Seth Gilbert, Rachid Guerraoui, Jovan Komatovic, Manuel Viduigueria, and Igor Zablotchi. Efficient signature-free validated agreement. arXiv preprint arXiv:2403.08374, 2024.arxiv.org/abs/2403.08374
  21. [21]Allen Clement, Flavio Junqueira, Aniket Kate, and Rodrigo Rodrigues. On the (limited) power of non-equivocation. In Proceedings of the 2012 ACM symposium on Principles of distributed computing, pages 301–308, 2012.DOI
  22. [22]Julien Dallot, Darya Melnyk, Tijana Milentijevic, Stefan Schmid, and Patrik Welters. Resilient byzantine agreement with predictions. arXiv preprint arXiv:2605.19452, 2026.arxiv.org/abs/2605.19452
  23. [23]Darktrace. https://darktrace.com. Accessed: 2025-02-08.
  24. [24]Danny Dolev. The byzantine generals strike again. Journal of algorithms, 3(1):14–30, 1982.DOI
  25. [25]Danny Dolev and Rüdiger Reischuk. Bounds on information exchange for byzantine agreement. Journal of the ACM (JACM), 32(1):191–204, 1985.
  26. [26]Danny Dolev and H. Raymond Strong. Authenticated algorithms for byzantine agreement. SIAM Journal on Computing, 12(4):656–666, 1983.DOI
  27. [27]Muhammad Ayaz Dzulfikar and Seth Gilbert. Communication efficient byzantine agreement with predictions. arXiv preprint arXiv:2605.12935, 2026.arxiv.org/abs/2605.12935
  28. [28]Paul Feldman and Silvio Micali. Optimal algorithms for byzantine agreement. In Proceedings of the twentieth annual ACM symposium on Theory of computing, pages 148–161, 1988.DOI
  29. [29]Eli Gafni. Round-by-round fault detectors (extended abstract) unifying synchrony and asynchrony. In Proceedings of the seventeenth annual ACM symposium on Principles of distributed computing, pages 143–152, 1998.
  30. [30]Sepandar D Kamvar, Mario T Schlosser, and Hector Garcia-Molina. The eigentrust algorithm for reputation management in p2p networks. In Proceedings of the 12th international conference on World Wide Web, pages 640–651, 2003.
  31. [31]Leslie Lamport, Robert Shostak, and Marshall Pease. The byzantine generals problem. ACM Transactions on Programming Languages and Systems, 4(3):382–401, 1982.
  32. [32]Christoph Lenzen and Sahar Sheikhoeslami. A recursive early-stopping phase king protocol. In Proceedings of the 2022 ACM Symposium on Principles of Distributed Computing, pages 60–69, 2022.DOI
  33. [33]Alexander Lindermayr and Nicole Megow. Algorithms with predictions. https://algorithms-with-predictions.github.io, 2025.
  34. [34]Dahlia Malkhi and Michael Reiter. Unreliable intrusion detection in distributed computations. In Proceedings 10th Computer Security Foundations Workshop, pages 116–124. IEEE, 1997.
  35. [35]David Mazieres. The stellar consensus protocol: A federated model for internet-level consensus. Stellar Development Foundation, 32(4):1–45, 2015.
  36. [36]Michael Mitzenmacher and Sergei Vassilvitskii. Algorithms with predictions. Communications of the ACM, 65(7):56–63, 2022.
  37. [37]Marshall Pease, Robert Shostak, and Leslie Lamport. Reaching agreement in the presence of faults. Journal of the ACM (JACM), 27(2):228–234, 1980.DOI
  38. [38]Manish Purohit, Zoya Svitkina, and Ravi Kumar. Improving online algorithms via ml predictions. Advances in Neural Information Processing Systems, 31, 2018.
  39. [39]Judy Hanwen Shen, Ellen Vitcerik, and Anders Wikum. Algorithms with calibrated machine learning predictions. In International Conference on Machine Learning, pages 54476–54498. PMLR, 2025.arxiv.org/abs/2502.02861
  40. [40]Bo Sun, Jerry Huang, Nicolas Christianson, Mohammad Hajiesmaili, Adam Wierman, and Raouf Boutaba. Online algorithms with uncertainty-quantified predictions. In Proceedings of the 41st International Conference on Machine Learning, pages 47056–47077, 2024.arxiv.org/abs/2310.11558
  41. [41]Vectra AI. https://www.vectra.ai. Accessed: 2025-02-08.
  42. [42]Zeek. https://www.zeek.org. Accessed: 2025-02-08.
  43. [43]Lior Zeno, Naama Ben-David, and Mark Silberstein. In link we trust: {BFT} at the speed of {CFT} using switches. In 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI 26), pages 1431–1452, 2026.

Paper details

vlnc:W_atz2pzhj
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

ChatGPT

View statement
Looking for related papers…
Contents