Abstract
In decentralized systems such as blockchain oracles and drone swarms, nodes must reach a consensus on real-world data—a challenge known as the Distributed Oracle Problem. Existing deterministic solutions often suffer from high communication complexity ($O(n^3)$), while randomized alternatives require heavy computational overhead. This paper introduces Delphi, a deterministic, signature-free protocol that achieves approximate agreement with $O(n^2)$ communication complexity. By leveraging the "thin-tail" nature of honest sensor data, Delphi provides significant performance gains, offering up to an 8x speedup in real-world environments while maintaining high accuracy.
Introduction
Asynchronous distributed systems face a fundamental challenge: reaching agreement on a continuous value (like a commodity price or sensor reading) in the presence of network delays and malicious (Byzantine) actors. This is the core of the Distributed Oracle Problem. To be effective, a protocol must satisfy three properties: Termination (all honest nodes eventually decide), Agreement (outputs are close to one another), and Convex Validity (the output remains within the range of honest inputs).
Previous approaches to this problem have been bifurcated. Deterministic protocols typically require $O(n^3)$ communication, which does not scale well for large networks. Conversely, randomized protocols can reduce communication but rely on computationally expensive "common coins" or digital signatures. Delphi bridges this gap by providing a deterministic, signature-free protocol that optimizes communication to $O(n^2)$ by relaxing strict validity requirements in a controlled, negligible manner.
The Delphi Protocol
Delphi’s efficiency stems from a novel multi-level weighted averaging technique built upon a simplified primitive called Binary Approximate Agreement (BINAA).
1. Binary Approximate Agreement (BINAA)
In BINAA, nodes agree on a value within the range $[0, 1]$. Delphi optimizes this building block to ensure that communication remains within $O(n^2)$ bounds, providing the foundation for more complex value agreement.
2. Checkpoints and Weighted Averaging
Delphi discretizes the potential input space into intervals defined by "checkpoints." For every checkpoint, nodes run a BINAA instance. A node inputs '1' if its observed value is near that specific checkpoint and '0' otherwise. The outputs of these BINAA instances serve as weights. The final agreed-upon value is then calculated as a weighted average of these checkpoints.
3. Multi-level Structure
To account for varying data volatility, Delphi employs a multi-level checkpoint strategy. When honest inputs are tightly clustered, the protocol uses fine-grained checkpoints for high precision. If inputs are widely dispersed (high volatility), it shifts to a higher-level layer with increased distances between checkpoints. This ensures the protocol remains robust regardless of the input distribution's spread.
Experimental Methodology
The authors evaluated Delphi across two distinct real-world scenarios to test its versatility and performance:
- Financial Oracle Network: The team collected Bitcoin price feeds from 10 major exchanges (including Binance, Coinbase, and Kraken) at one-minute intervals over a two-week period in July 2023. This dataset represents typical high-stakes blockchain oracle data.
- Cyber-Physical Systems (CPS): To model sensor-heavy environments like drone swarms, the researchers used drone-based object detection data. They trained an EfficientDet model on a dataset of 100,000 car images to simulate how GPS and bounding box errors are distributed among honest sensors.
Key Insights: The "Thin-Tail" Assumption
A critical observation driving Delphi’s design is that honest sensor data in practical settings is rarely distributed randomly. Instead, it typically follows "thin-tailed" distributions, such as Normal or Gamma distributions. This means that honest nodes are likely to report values that are relatively close to one another. By optimizing for this common case and allowing a tiny, controlled error ($\epsilon$) outside the strict honest min-max range, Delphi eliminates the need for the expensive $O(n^3)$ communication required by "strict" agreement protocols.
Performance Results
Delphi was benchmarked against state-of-the-art protocols (including FIN and the protocol by Abraham et al.) in both a geo-distributed AWS environment and a local Raspberry Pi testbed.
- Latency and Speed: In a 160-node configuration, Delphi was 8x faster in the CPS environment and 3x faster on AWS than existing benchmarks.
- Bandwidth Efficiency: Delphi consumed an order of magnitude less network bandwidth than the FIN protocol, making it ideal for bandwidth-constrained IoT devices.
- Scalability: Thanks to its $O(n^2)$ complexity, Delphi’s runtime scales gracefully. While competing protocols saw exponential increases in latency as nodes were added, Delphi’s performance remained relatively stable.
- Accuracy: The trade-off for this speed is a minor relaxation in validity. However, in the Bitcoin price scenario, Delphi introduced only a 0.05% error relative to the honest average—a negligible difference for most practical applications.
Conclusion and Future Work
Delphi represents a significant advancement in distributed agreement, proving that $O(n^2)$ communication is achievable for approximate agreement without the need for digital signatures. Its reliance on the thin-tail distribution of honest data makes it highly effective for real-world oracles and sensor networks.
Future research directions include adapting Delphi for multi-dimensional agreement—such as 3D coordinate synchronization for autonomous vehicle swarms—and further refining the protocol to handle "fat-tailed" distributions where extreme outliers are more frequent.
Summary updated