GradedDAG: An Asynchronous DAG-based BFT Consensus with Lower Latency

Xiaohai Dai, Zhaonan Zhang, Jiang Xiao, Jingtao Yue, Xia Xie, Hai Jin

TL;DR

GradedDAG is a novel asynchronous Byzantine Fault Tolerant (BFT) consensus protocol that significantly reduces latency by optimizing the communication primitives used to build its Directed Acyclic Graph (DAG). By replacing multiple rounds of slow Reliable Broadcast (RBC) with a more efficient combination of "Graded RBC" and Consistent Broadcast, it achieves a good-case latency of just 4 communication steps—roughly half that of current state-of-the-art protocols like Tusk.

What Problem Does This Paper Address?

In the world of blockchain and distributed systems, Asynchronous BFT protocols are the gold standard for robustness because they don't rely on assumptions about network speed. However, they are notoriously slow.

Recent "DAG-based" protocols (like DAGRider and Tusk) improved throughput by allowing replicas to propose blocks in parallel. But these protocols still suffer from high latency. They operate in "waves," where each wave requires multiple rounds of Reliable Broadcast (RBC). Because a single RBC takes at least three communication steps, a wave can easily stretch to 9 or 12 steps. The authors identify that the bottleneck isn't the DAG itself, but the heavy broadcast machinery underneath it.

Methods

The authors introduce GradedDAG, which streamlines the "wave" structure using two key techniques:

  1. Graded RBC (GRBC): This is an adapted version of RBC where a replica delivers data with a "grade" (1 or 2). Delivering with Grade 2 provides a strong mathematical guarantee that at least two-thirds of the other replicas have delivered the same data with at least Grade 1. This "perceptivity" allows the protocol to make progress faster.
  2. Consistent Broadcast (CBC) Integration: CBC is faster than RBC (2 steps vs. 3) but weaker because it doesn't guarantee that everyone eventually receives the data. GradedDAG uses CBC for the second half of its wave and compensates for its weaknesses with a block-query mechanism that allows replicas to fetch missing data on demand.

The GradedDAG Wave: Unlike existing protocols that use 3 or 4 RBC rounds per wave, GradedDAG uses exactly one GRBC round and one CBC round.

  • A leader is elected from the GRBC round.
  • If the leader block is delivered with Grade 2, it (and all its ancestors) can be committed immediately.

Datasets

As this is a systems/protocol paper, it does not use traditional machine learning datasets. Instead, it evaluates performance using:

  • Synthetic Transactions: Uniformly sized at 250 bytes.
  • Testbed: A global deployment on Alibaba Cloud using ECS.g6e.xlarge instances (4 vCPU, 16GB RAM).
  • Network Scale: Tested with 7 to 61 replicas distributed across four continents and six countries to simulate real-world internet latency and jitter.

Key Insights and Ideas

  • RBC is Overkill: The "totality" property of RBC (guaranteeing everyone gets the message) isn't strictly necessary for every round of a DAG if you have a way to "pull" missing blocks later. Switching to CBC saves a full communication step per round.
  • Grades Provide a Shortcut: By using Graded RBC, the protocol can "speculate" on the leader's status. If a replica sees a Grade 2, it knows the system has reached a sufficient state of agreement to commit, without waiting for more rounds of "confirmation" blocks.
  • Parallelism via DAG: Like its predecessors, GradedDAG maintains high throughput by allowing all non-faulty nodes to add blocks to the graph simultaneously, rather than waiting for a single leader to propose.

Key Results

The authors compared GradedDAG against Tusk, the previous leader in low-latency asynchronous BFT:

  • Lower Latency: GradedDAG achieved a good-case latency of 4 communication steps (vs. 7 for Tusk) and an expected worst-case of 7.5 steps (vs. 21 for Tusk).
  • Higher Throughput: In a 7-node setup, GradedDAG reached a peak throughput of 19.9 kTPS (thousand transactions per second), more than double Tusk’s 9.3 kTPS.
  • Better Scalability: As the number of replicas increased, GradedDAG's latency grew more gradually than Tusk's, making it better suited for larger decentralized networks.

Limitations and Future Work

  • Implementation Complexity: The "graded" logic and the block-query mechanism add more moving parts to the implementation compared to standard RBC-based DAGs, which might make formal verification more difficult.
  • Adversarial Sensitivity: While the expected latency is low, a sophisticated adversary controlling the network could still delay the "Grade 2" delivery, potentially pushing the protocol toward its worst-case bounds more often.
  • Future Directions: The authors suggest that the GRBC primitive itself is a contribution that could be used to optimize other types of distributed algorithms beyond BFT consensus. They also aim to explore further optimizations for the block-query mechanism to handle extreme network congestion.

Summary updated

BibTeX
@inproceedings{dai2023gradeddag,
  author = {Xiaohai Dai and Zhaonan Zhang and Jiang Xiao and Jingtao Yue and Xia Xie and Hai Jin},
  title = {{GradedDAG: An Asynchronous DAG-based BFT Consensus with Lower Latency}},
  booktitle = {SRDS},
  year = {2023},
  doi = {10.1109/srds60354.2023.00020},
}
Figure