Skip to main content
QUICK REVIEW

[Paper Review] Every Bit Counts in Consensus

Pierre Civit, Seth Gilbert|arXiv (Cornell University)|Jan 1, 2023
Cryptography and Data SecurityComputer Science3 citations
TL;DR

This paper presents DARE, a novel Byzantine consensus algorithm that achieves O(n^1.5L + n^2.5κ) bit complexity by decoupling value agreement from value retrieval via a novel dispersal primitive. It further introduces DARE-Stark, which uses STARK proofs to nearly match the theoretical lower bound with O(nL + n^2poly(κ)) bit complexity and optimal O(n) latency, significantly improving upon prior O(n^2L) bounds for large-value consensus.

ABSTRACT

Consensus enables n processes to agree on a common valid L-bit value, despite t < n/3 processes being faulty and acting arbitrarily. A long line of work has been dedicated to improving the worst-case communication complexity of consensus in partial synchrony. This has recently culminated in the worst-case word complexity of O(n^2). However, the worst-case bit complexity of the best solution is still O(n^2 L + n^2 kappa) (where kappa is the security parameter), far from the Ω(n L + n^2) lower bound. The gap is significant given the practical use of consensus primitives, where values typically consist of batches of large size (L > n). This paper shows how to narrow the aforementioned gap while achieving optimal linear latency. Namely, we present a new algorithm, DARE (Disperse, Agree, REtrieve), that improves upon the O(n^2 L) term via a novel dispersal primitive. DARE achieves O(n^{1.5} L + n^{2.5} kappa) bit complexity, an effective sqrt{n}-factor improvement over the state-of-the-art (when L > n kappa). Moreover, we show that employing heavier cryptographic primitives, namely STARK proofs, allows us to devise DARE-Stark, a version of DARE which achieves the near-optimal bit complexity of O(n L + n^2 poly(kappa)). Both DARE and DARE-Stark achieve optimal O(n) latency.

Motivation & Objective

  • To close the gap between the theoretical lower bound of Ω(nL + n^2) and the best-known O(n^2L + n^2κ) bit complexity in Byzantine consensus for large values (L > nκ).
  • To design a consensus protocol that achieves sub-quadratic bit complexity while maintaining optimal O(n) worst-case latency in partial synchrony.
  • To demonstrate that large-value consensus can be efficiently achieved by separating value dispersal, agreement on hashes, and value retrieval.
  • To show that STARK-based proofs enable near-optimal bit complexity, approaching the theoretical lower bound.

Proposed method

  • DARE decomposes consensus into three phases: dispersal (distributing encoded fragments of values), agreement (on hashed values using threshold signatures), and retrieval (reconstructing values from fragments).
  • It uses Reed-Solomon encoding to disperse L-bit values into n fragments of size O(L/n), enabling efficient and robust dissemination.
  • Each process broadcasts a hash of its value along with a (2t+1)-threshold signature over the hash, enabling agreement on the hash in O(n) time.
  • The protocol uses provable proofs (e.g., STARKs) to bind each fragment to its source, ensuring correctness during retrieval.
  • Upon agreement on a hash, processes broadcast their corresponding Reed-Solomon symbols with cryptographic proofs, enabling recovery once t+1 correct fragments are received.
  • DARE-Stark enhances this with STARK proofs to reduce the per-fragment cost to poly(κ), achieving near-optimal bit complexity.

Experimental results

Research questions

  • RQ1Can Byzantine consensus be designed with sub-quadratic bit complexity for large values (L > nκ)?
  • RQ2Is it possible to achieve near-optimal bit complexity O(nL + n^2poly(κ)) using efficient cryptographic primitives?
  • RQ3Can the separation of dispersal, agreement, and retrieval phases lead to better communication efficiency without sacrificing latency?
  • RQ4What is the impact of using STARK proofs on the bit complexity and practicality of consensus protocols?
  • RQ5Can the O(n^2L) bit complexity bottleneck in existing consensus protocols be overcome through novel dispersal techniques?

Key findings

  • DARE achieves O(n^1.5L + n^2.5κ) bit complexity, representing an effective √n-factor improvement over the O(n^2L) state-of-the-art for L ≥ nκ.
  • DARE-Stark achieves O(nL + n^2poly(κ)) bit complexity, nearly matching the theoretical lower bound of Ω(nL + n^2).
  • Both DARE and DARE-Stark maintain optimal O(n) worst-case latency, ensuring fast convergence in partial synchrony.
  • The use of Reed-Solomon encoding and threshold signatures enables efficient dispersal and robust agreement on hashes with minimal communication overhead.
  • STARK-based proofs in DARE-Stark allow for compact, cryptographically sound proofs that reduce per-fragment communication to poly(κ), enabling near-optimal performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.