V3rified: Revelation vs Non-Revelation Mechanisms for Decentralized Verifiable Computation

Tiantian Gong, Aniket Kate, Alexandros Psomas, Athina Terzoglou · DOI

TL;DR

This paper explores the fundamental trade-off between decentralization (having many workers) and efficiency (getting results fast) in Web3 computation markets. The authors prove that while simple "posted-price" rules are limited in how many workers they can attract, more complex "revelation" mechanisms (like auctions) can break this deadlock, achieving high decentralization and top-tier speed simultaneously.

What Problem Does This Paper Address?

In the Web3 era, we often outsource heavy computations (like generating Zero-Knowledge Proofs) to decentralized networks. We want two things that are often at odds:

  1. Decentralization: We want many different providers to participate so no single entity can censor us or monopolize the market.
  2. Efficiency: We want the result as fast as possible.

The challenge is that workers are strategic and rational. If a mechanism rewards the fastest worker with everything, only one person might show up. If it splits the reward equally among everyone, the fastest workers (who usually have higher costs) might not find it profitable to participate, leading to slow results. This paper provides a formal framework to compare revelation mechanisms (where workers bid their costs/times) and non-revelation mechanisms (simple rules like "split the pot") to see which handles this trade-off better.

Methods

The authors model the problem using mechanism design theory. They define a "decentralization factor" ($k^*$) as the maximum number of workers that could be paid their costs given a total reward $R$. They then analyze two categories of mechanisms:

  • Non-Revelation Mechanisms: Simple rules where the client commits to a reward structure based on submission times (e.g., "Equal Reward" or "Harmonic Reward"). Workers simply decide whether to participate.
  • Revelation Mechanisms: Workers report their costs and completion times (bidding). The client then picks who does the task and what they get paid. Specifically, they introduce the Inverse Generalized Second Price (I-GSP) mechanism.

The study uses mathematical proofs to establish "worst-case" bounds on decentralization and efficiency, followed by synthetic simulations to see how these mechanisms perform on average.

Datasets

The paper uses synthetic datasets to evaluate the mechanisms. They sample worker costs from two primary distributions:

  • Uniform (0, 1): Represents a scenario where workers have a diverse, evenly spread range of costs.
  • Exponential ($\lambda=1$): Simulates a market where most workers have low costs (e.g., home PCs) and a few have very high costs (e.g., specialized server farms).
  • Uniform [0, 10]: Used for assigning completion times, ensuring that higher-cost workers generally complete tasks faster.

Key Insights and Ideas

  • The 1/2 Barrier: For simple non-revelation mechanisms, you generally cannot guarantee that more than half of the potential workers ($k^*/2$) will participate in the worst case.
  • The Harmonic Limit: As the number of potential workers grows, a "Harmonic" reward rule (where the 1st is paid $1/x$, the 2nd $1/(x+1)$, etc.) can push decentralization up to roughly $1 - 1/e$ (~63%), but no further.
  • The "Revelation Gap": This is the paper's "aha moment." They prove that while non-revelation mechanisms cannot be both highly decentralized and highly efficient, revelation mechanisms can.
  • I-GSP to the Rescue: By using an auction-style approach (I-GSP), the client can incentivize the fastest workers to show up while still rewarding enough slower workers to maintain decentralization.

Key Results

  • Theoretical Bounds: The authors proved a tight bound of $1/2$ for the Equal Reward mechanism and showed that the Harmonic Rule is asymptotically tight at $1 - 1/e$.
  • Efficiency Winner: The I-GSP mechanism was shown to be both $\alpha$-decentralized and $\alpha$-efficient, meaning it gets the fastest possible results for a given level of decentralization.
  • Experimental Validation: In simulations, both the Harmonic and Equal Reward rules outperformed their theoretical worst-case guarantees. However, the I-GSP mechanism consistently delivered significantly faster completion times than the non-revelation rules while maintaining the same number of participants.

Limitations and Future Work

  • Single Request Model: The paper focuses on a single client making a single request. In reality, workers might balance resources across many simultaneous requests.
  • Copy-Cat Protection: The model assumes workers can't simply copy each other's answers. In practice, this requires robust encryption and authenticated channels.
  • Fixed Costs: The authors assume a worker has a fixed cost for a fixed time. Future work could explore "flexible" workers who can spend more money to go even faster.
  • Collusion: The current model does not account for workers teaming up to game the rewards, which is a common threat in decentralized systems.

Summary updated

BibTeX
@misc{gong2024v,
  author = {Tiantian Gong and Aniket Kate and Alexandros Psomas and Athina Terzoglou},
  title = {{V3rified: Revelation vs Non-Revelation Mechanisms for Decentralized Verifiable Computation}},
  year = {2024},
  eprint = {2408.07177},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.07177},
}
Figure