Resilient Byzantine Agreement with Predictions

Julien Dallot, Darya Melnyk, Tijana Milentijević, Stefan Schmid, Patrik WeltersNeurIPS 2026

TL;DR

For over forty years, distributed computing has lived under an ironclad law: you cannot guarantee consensus if more than a third of your network is actively lying (or half, if you use digital signatures). This paper shows how to break through that theoretical ceiling using Machine Learning predictions of node trustworthiness—tolerating far more malicious actors when predictions are good, degrading gracefully when they are slightly off, and maintaining provable safety nets even when the ML is completely wrong.

What Problem Does This Paper Address?

Imagine a network of computers trying to agree on a single bit of information—say, whether to commit a transaction. Some nodes are "Byzantine," meaning they might crash, collude, or send conflicting lies to different peers to sabotage agreement. This is the classic Byzantine Agreement (BA) problem.

Without cryptographic signatures (non-authenticated), classical math dictates you can only tolerate $f < n/3$ faulty nodes out of $n$. With digital signatures (authenticated), that bound rises to $f < n/2$.

In real-world systems like blockchains, nodes don't operate in a vacuum; we can monitor traffic and use anomaly detectors or ML classifiers to predict which nodes look sketchy. While recent work used ML predictions to make consensus faster, nobody knew if predictions could make consensus more resilient (i.e., tolerate more faults). The catch? ML makes mistakes. Relying blindly on a bad prediction destroys consensus, so an algorithm must balance consistency (performance when predictions are right), robustness (a worst-case guarantee when predictions are adversarial), and smoothness (how gracefully resilience degrades as prediction errors creep in).

Methods

Instead of inventing a consensus protocol from scratch, the authors wrap classical, battle-tested protocols—Phase King (for non-authenticated channels) and Dolev-Strong (for authenticated channels)—inside a clever filtering mechanism.

Each node receives its input bit, a predicted set of honest nodes $P$, and a user-chosen "trust parameter" $\alpha \in [0, 1[$ indicating the fraction of faults we hope to tolerate if the predictor is spot-on.

The algorithm runs in two phases:

  1. Forming the Active Committee: Nodes initialize an active set $L = P$. Crucially, to prevent a terrible prediction from isolating honest nodes in a tiny, compromised committee, the algorithm enforces a strict minimum size on $L$ (for example, $\lceil \frac{3}{2}(1-\alpha)n \rceil - 1$ in the non-authenticated case). If $P$ is too small, nodes deterministically pad $L$ with additional node IDs until it hits the threshold.
  2. Restricted Consensus: Only the "active" nodes inside $L$ run the classical BA protocol. "Passive" nodes outside $L$ simply wait, listen to the broadcasts from $L$, and adopt the value that clears a specific supermajority threshold.

The authors analyze this setup across four regimes: authenticated vs. non-authenticated channels, and global predictions (everyone gets the same ML broadcast) vs. local predictions (every node runs its own local detector, getting potentially different predictions).

Datasets

Not discussed in the paper. (This is a purely theoretical distributed computing paper providing mathematical proofs and impossibility bounds.)

Key Insights and Ideas

  • There is no "free lunch" backup plan for resilience: When using predictions to speed up consensus, you can always fall back to a slow, safe algorithm if things go south. For resilience, you can't—honest nodes cannot even detect that agreement has failed! Improving your best-case fault tolerance ($\alpha$) mathematically forces you to lower your worst-case safety net.
  • Graceful degradation (no sudden cliffs): Perfect predictions are rare in large networks. Fortunately, resilience doesn't fall off a cliff when the predictor makes a few errors. Initially, every single mispredicted node costs at most one unit of fault tolerance.
  • The "Phase Transition" of error: In the non-authenticated setting, once prediction errors exceed a specific threshold, the penalty doubles—each new error costs two units of resilience. Why? Early errors merely eat into the "bonus" honest buffer provided by good predictions. Once that buffer is exhausted, the active committee is right on the $1/3$ knife-edge, requiring two honest nodes to counterbalance every newly introduced Byzantine node.
  • Public consensus on predictions is vital: If every node uses its own private, local ML predictor without coordinating, adversaries can exploit the discrepancies between honest nodes' worldviews, rendering high-consistency algorithms completely fragile (zero robustness).
Indistinguishability configurations used to prove impossibility bounds.

Key Results

Using classic indistinguishability arguments (like the three scenarios illustrated above, where faulty orange nodes trick honest blue subsets into seeing different realities), the authors prove their algorithms achieve the exact mathematical limits of what is possible:

  • Non-Authenticated Global Trade-off: Given trust parameter $\alpha \in [1/3, 1[$, the algorithm tolerates up to $\alpha n$ faults when predictions are perfect, and $\frac{1-\alpha}{2}n - 1$ faults when predictions are arbitrarily wrong.
  • Authenticated Global Trade-off: For $\alpha \in [1/2, 1[$, it tolerates $\alpha n$ faults with perfect predictions, and $(1-\alpha)n - 1$ faults under arbitrary errors.
  • Smoothness Superiority: As shown in the smoothness curves below, for $\alpha = 0.8$, the learning-augmented algorithms (black lines) strictly outperform optimal prediction-free algorithms (blue horizontal lines) across a massive range of imperfect predictions, hugging right up against the theoretical impossibility zones (shaded red).
  • Local Prediction Impossibility: Under local predictions (both authenticated and non-authenticated), any algorithm aiming for $\alpha \ge 1/2$ consistency drops to 0 robustness—a single faulty node can break it if predictions go awry.
Figure 1: The Smoothness curve under global predictions for the non-authenticated and authenti- cated settings (obtained for α = 0.8). In each plot, the black curve is the algorithm’s smoothness, i.e., the worst-case resilience knowing the predictive error is η, the red curve and the dashed red region are impossible regions, and the blue horizontal line is the optimal resilience of a prediction- free algorithm. Observe that the resilience has no sudden jumps in the range of almost accurate predictions. The descending curves show great tolerance to prediction errors and allow for a clear supremacy of our algorithms compared to standard prediction-free ones on a wide range of imper- fect predictions.

Limitations and Future Work

  • Synchronous & Binary: The model assumes a synchronous, fully connected network agreeing on binary inputs with a fixed node count $n$. Asynchronous networks remain unexplored here.
  • Efficiency is sidelined: The proposed protocols optimize purely for fault resilience; their runtime and message complexity are inherited directly from classic subroutines like Phase King and Dolev-Strong.
  • Open Questions: The authors highlight an intriguing gap in the local-prediction, non-authenticated regime: can we get non-trivial robustness if we aim for a modest consistency between $1/3$ and $1/2$? Furthermore, designing a "unified" protocol whose round complexity and resilience both degrade smoothly with prediction error remains a wide-open prize for future work.

Summary updated

Abstract

The Byzantine Agreement (BA) problem is a fundamental task in distributed computing where nodes in a network need to agree on a common output in the presence of arbitrary (worst-case) node failures. In real-world applications, nodes can be monitored over time to provide ML predictions of faulty behavior in a network. In this work, we answer the question of whether predictions can improve the fault tolerance of a distributed system without sacrificing correctness when the predictions are wrong. We consider a prediction-augmented study of Byzantine agreement in which each node receives, in addition to its input bit, a predicted set of honest nodes. We focus on algorithmic resilience --- the maximum number of faulty nodes an algorithm can tolerate --- and present algorithms and impossibility results whose resilience depends on the accuracy of the predictor. As our first main result, we bring a complete characterization of the consistency--robustness trade-offs in both the non-authenticated and authenticated settings: for $n$ nodes and a parameter $\alpha \in [0, 1]$, we present algorithms that tolerate up to $\alpha \cdot n$ faulty nodes when the predictor is correct (consistency), and up to $\frac{1-\alpha}{2} \cdot n - 1$ faulty nodes when the predictor is arbitrarily wrong (robustness). In the authenticated setting, the robustness bound improves to $(1-\alpha) \cdot n - 1$. We prove matching impossibility results, showing that these tradeoffs are optimal and independent of the particular prediction system. Our second main result characterizes smoothness: the rate at which resilience degrades as the predictor becomes less accurate. We show that resilience linearly decreases in the number of wrong predictions as long as that number stays within a constant fraction of $n$. Concretely, in the non-authenticated setting, each additional wrong prediction loses one unit of resilience, whereas in the authenticated setting, the decline is halved, since two wrong predictions are needed to lose one unit of resilience.
BibTeX
@inproceedings{dallot2026resilient,
  author = {Julien Dallot and Darya Melnyk and Tijana Milentijević and Stefan Schmid and Patrik Welters},
  title = {{Resilient Byzantine Agreement with Predictions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=nnJ8B6FqKC},
}
Figure