NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Vers: fully distributed Coded Computing System with Distributed Encoding

Nastaran Abadi Khooshemehr, Mohammad Ali Maddah-AliarXiv 2023 · DOI

TL;DR

Vers is a novel framework for fully distributed coded computing that remains robust even when some data sources are actively malicious. By introducing a communication-efficient "tagging" system, it allows honest participants to filter out inconsistent data and establishes the exact mathematical limit of how many workers are needed to guarantee a correct result in decentralized environments like blockchains and IoT.

Introduction: The Centralization Bottleneck

Traditional coded computing is a powerful tool for making distributed systems faster and more secure, but it has a "centralization" problem. Most existing systems rely on a single "master" node to encode data and distribute it to workers. In emerging decentralized technologies like sharded blockchains, federated learning, and the Internet of Things (IoT), data is generated and stored across many different nodes. There is no central master.

This decentralization introduces a new threat: adversarial data owners. In a "discrepancy attack," a malicious data owner can send different versions of their data to different workers. When these workers perform local encoding, the resulting computations become an inconsistent mess, making it impossible for honest nodes to reconstruct the final answer. The challenge is to resolve these inconsistencies without the massive communication overhead of traditional consensus protocols.

The Vers Framework

The authors introduce Vers (short for versatile), a system consisting of $K$ data owners and $N$ workers. The framework shifts the burden of consensus from the input phase to the decoding phase.

The Vers framework handles adversarial data owners by using a tagging system. (a) An adversary sends inconsistent data versions to different workers. (b) Workers compute functions and return tags to allow honest owners to identify consistent data partitions.

Distributed Lagrange Encoding

Instead of a central encoder, workers receive raw data from all owners and perform local encoding themselves using Lagrange polynomials. This allows for a fully decentralized setup where data stays local to its origin until needed for computation.

The Tagging System

To combat "lying" data owners, each worker computes a tag—a small, unique fingerprint of all the data it received. Honest data owners use these tags to group workers. If two workers have the same tag, they almost certainly received the same data from everyone. This allows the system to isolate "consistent" sets of results. While a naive approach to verifying data might require $O(KN)$ communication, Vers uses a single-tag method that keeps the communication load linear at $O(N)$, ensuring the system can scale.

Key Insights and Theoretical Limits

The paper’s primary contribution is characterizing the fundamental limit $t^*$: the minimum number of workers required to correctly compute a target function of degree $d$ in the presence of $\beta$ adversarial owners who can distribute $v$ versions of the truth.

The authors prove the "Magic Formula": $$t^* = v^\beta d(K - 1) + 1$$

They provide a rigorous "converse" proof (showing that fewer than $t^*$ workers can be fooled by a clever adversary) and an "achievability" proof (showing that $t^*$ workers are always enough to find the truth). This result reveals that the redundancy required to stay secure grows exponentially with the number of adversarial owners and the number of "versions" they distribute.

Versatility and Future Directions

Vers isn't just a theoretical exercise; it can directly model real-world problems like PolyShard (a secure sharding protocol for blockchains) and resource-constrained IoT sensor networks. The proposed tag function is designed to be resilient against "information-theoretic" adversaries—attackers with unlimited computing power who try to find collisions in the tags.

While the current model assumes honest workers, the authors suggest that standard error-correction techniques can be added to handle malicious workers. Future work will explore more granular tagging systems and the application of these limits to non-linear codes.

Summary updated

BibTeX
@misc{khooshemehr2023vers,
  author = {Nastaran Abadi Khooshemehr and Mohammad Ali Maddah-Ali},
  title = {{Vers: fully distributed Coded Computing System with Distributed Encoding}},
  year = {2023},
  eprint = {2304.05691},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.05691},
}
Figure