Improved communication complexity of fault-tolerant consensus

Mohammad Taghi Hajiaghayi, Dariusz R. Kowalski, Jan Olkowski

Abstract

Distributed consensus is a fundamental requirement for reliable systems, yet a significant complexity gap has persisted for decades regarding communication efficiency against strong, adaptive adversaries. This paper introduces a novel randomized algorithm, ParameterizedConsensus*, which establishes a fundamental trade-off between time and communication complexity. By utilizing new primitives such as fuzzy counting and adaptive expander graphs, the algorithm reduces the communication overhead from $\Theta(n^{1.5})$ to near-optimal levels, bridging the gap between theoretical lower bounds and practical upper bounds in fault-tolerant computing.

Introduction

In the realm of distributed computing, Consensus—the ability of independent processes to agree on a single value despite individual failures—is the cornerstone of system reliability. While consensus is well-understood under "weak" adversary models (where failures are predetermined), it remains a formidable challenge when facing a strong adaptive adversary. Such an adversary can observe the system's state in real-time and strategically crash processes to maximize disruption.

For over twenty years, a massive gap existed in the complexity of randomized consensus against these adversaries. While the theoretical lower bound for communication was a constant $\Omega(1)$ bits per process, the best-known upper bound remained stuck at roughly $\Theta(n^{1.5})$. This research addresses this inefficiency, proposing a framework that allows for a tunable balance between speed and communication volume.

The ParameterizedConsensus* Algorithm

The authors propose ParameterizedConsensus*, a parameterized algorithm designed to operate efficiently even as an adversary attempts to isolate or crash nodes. The algorithm’s success relies on four primary deterministic primitives:

  1. Super-Processes: To reduce the "surface area" available to an adversary, individual processes are clustered into $x$ groups. These groups act as single entities during the initial phases of the algorithm, simplifying the coordination task.
  2. Fuzzy Counting: Traditional consensus often requires an exact count of active processes, which is computationally expensive ($\Omega(n)$ bits). The authors introduce "fuzzy counting," which provides a range estimate of alive processes. This primitive is significantly cheaper to compute ($O(\text{polylog } n)$ bits) yet provides sufficient information for the algorithm to progress.
  3. Fault-Tolerant Gossip: A divide-and-conquer rumor-spreading mechanism ensures that information propagates through the network rapidly, even when the adversary attempts to block specific communication paths.
  4. Local Signaling & Adaptive Expanders: The algorithm utilizes expander graphs for its communication overlay. It begins with a sparse graph to minimize communication. If a process detects an unusual number of failures among its neighbors, it "densifies" the overlay locally. This "just-in-time" complexity ensures that high communication costs are only incurred where and when they are strictly necessary.

Theoretical Insights: The Time-Communication Trade-off

A central contribution of this work is the identification of a fundamental trade-off in distributed consensus. The authors demonstrate that time and communication complexity are inversely proportional, governed by the relation:

$$\text{Time} \times \text{Amortized Communication} = \tilde{O}(n)$$

By adjusting the parameter $x$, system designers can choose to prioritize either low latency (fast execution with higher communication) or high efficiency (slower execution with minimal bit exchange). A similar structural link was discovered regarding entropy: $\text{Time} \times \text{Randomness} = \tilde{O}(n)$, suggesting that time, communication, and randomness are deeply intertwined resources in fault-tolerant systems.

Key Results and Impact

The proposed algorithm successfully narrows the linear communication gap that has characterized the field for two decades. Key performance metrics include:

  • Optimal Time Setting: When tuned for speed ($\tilde{O}(\sqrt{n})$ rounds), the algorithm requires $O(\sqrt{n} \cdot \text{polylog } n)$ bits per process—a significant improvement over the previous $n^{1.5}$ standard.
  • Communication-Efficient Setting: If the system can tolerate longer execution times, the algorithm can achieve polylogarithmic amortized communication bits per process.
  • Model Versatility: The algorithm is robust for any number of crashes $f < n$ and remains efficient within the CONGEST model, where message sizes are strictly limited to $O(\log n)$ bits.

Conclusion and Future Work

While this research significantly narrows the complexity gap for consensus, the authors note that the theoretical journey is not yet complete. Proving a matching lower bound for the $\text{Time} \times \text{Communication} = \Omega(n)$ trade-off remains an open challenge. Furthermore, while this work focuses on "crash" failures, the next frontier involves extending these "fuzzy" efficiency techniques to Byzantine failures, where processes may not just stop, but actively lie or coordinate to subvert the consensus process. Tightening the remaining polylogarithmic factors will also be a focus for future optimizations in reaching true theoretical optimality.

Summary updated

BibTeX
@inproceedings{hajiaghayi2022improved,
  author = {Mohammad Taghi Hajiaghayi and Dariusz R. Kowalski and Jan Olkowski},
  title = {{Improved communication complexity of fault-tolerant consensus}},
  booktitle = {STOC},
  year = {2022},
  url = {https://openreview.net/forum?id=lGHeC-Fw-x},
}
Figure