Privacy-Preserving Polynomial Computing Over Distributed Data

Zhiquan Tan, Dingli Yuan, Zhongyi HuangarXiv 2023 · DOI

Abstract

In the era of big data, distributed computing is essential for handling large-scale tasks, yet it introduces significant vulnerabilities: slow worker nodes (stragglers), malicious actors (Byzantine workers), and privacy risks. This paper proposes a robust framework based on Lagrange Coded Computing (LCC) to perform polynomial computations on data distributed across multiple sources while incorporating private local data from a user. The protocol provides information-theoretic privacy against colluding workers and ensures computational resilience against both errors and delays.

1. Introduction

As datasets grow beyond the capacity of single servers, distributed computing has become the standard for complex processing. However, distributing tasks across a network of worker nodes introduces a "triple threat":

  1. Stragglers: Heterogeneous hardware or network congestion can cause some nodes to be significantly slower than others, delaying the entire computation.
  2. Byzantine Workers: Faulty or malicious nodes may return incorrect results, potentially corrupting the final output.
  3. Data Privacy: Sensitive data fragments sent to workers could be intercepted or reconstructed if workers collude.

While existing techniques like Lagrange Coded Computing (LCC) address these issues for centralized data, this research extends the framework to a more complex and realistic scenario: computing a function $h(W, U)$ where $W$ represents data stored across distributed sources and $U$ represents the user's private local data.

2. System Model and Problem Formulation

The system consists of a user (the master), multiple distributed data sources, and $N$ worker nodes. The goal is to compute a polynomial function $h$ of degree $\text{deg}(h)$ over the combined dataset. The protocol must satisfy three primary requirements:

  • $X$-Privacy: Any coalition of up to $X$ workers must learn nothing about the source data $W$ or the user data $U$.
  • Straggler Resilience: The system must be able to reconstruct the result even if some workers fail to respond.
  • Byzantine Robustness: The system must detect and correct errors from up to $A$ malicious workers.

3. The Proposed Protocol

The core of the solution lies in a sophisticated application of Lagrange encoding, which treats the distributed computation as a codeword in an error-correcting code.

3.1 Encoding and Sharing

Both the distributed sources and the user encode their private data into polynomials. These polynomials are constructed such that evaluating them at specific points yields the original data, while evaluations at other points produce randomized versions. These encoded evaluations are then distributed to the $N$ workers. Because the encoding includes random noise, the protocol achieves information-theoretic privacy—the gold standard of security that remains unbreakable even with infinite computing power.

3.2 Computation and Reconstruction

Each worker performs the polynomial function $h$ on the encoded data fragments they receive and returns the result to the user. The user views these incoming results as evaluations of a higher-degree polynomial. By applying Reed-Solomon (RS) decoding algorithms, the user can reconstruct the final answer. This mathematical approach allows the user to treat "missing" results from stragglers as erasures and "wrong" results from Byzantine workers as errors, which the RS decoder can effectively "fix."

4. Key Results and Analysis

4.1 The Recovery Threshold

The authors establish a rigorous recovery threshold ($M$), defining the minimum number of successful worker responses required to guarantee a correct result: $$M = (K + X - 1)\text{deg}(h) + 2A + 1$$ Where:

  • $K$ is the data partition factor.
  • $X$ is the privacy level (number of colluding workers tolerated).
  • $\text{deg}(h)$ is the degree of the polynomial function.
  • $A$ is the number of Byzantine workers.

4.2 Efficiency and Scalability

The paper provides a complexity analysis demonstrating that the communication overhead (upload/download costs) and the computational complexity of decoding scale reasonably with the size of the data. To demonstrate the protocol's utility for complex operations, the authors provide a numerical example using Strassen’s algorithm for distributed matrix multiplication, showcasing how the framework handles bi-linear complexity efficiently.

5. Discussion and Limitations

While the protocol offers a powerful unified solution for privacy and resilience, certain practical considerations remain:

  • Polynomial Constraints: The method is optimized for polynomial functions. While many operations (like matrix multiplication or gradient descent) are polynomial, non-polynomial functions (e.g., those with logical branches or specific neural network activations) require polynomial approximations.
  • Finite Field Arithmetic: Computations occur over a finite field $\mathbb{F}_q$. In practice, mapping real-world floating-point data to finite fields without precision loss is a necessary pre-processing step.
  • Communication Latency: In high-latency environments, the overhead of distributing encoded fragments to a large number of workers may become a bottleneck, despite the theoretical efficiency of the code.

6. Conclusion

This work advances the field of coded computing by providing a robust framework for joint data processing over distributed sources. By treating computation as an error-correction problem, the proposed protocol offers a mathematically rigorous way to ensure privacy and reliability in the face of both passive eavesdropping and active sabotage.

Summary updated

BibTeX
@misc{tan2023privacy,
  author = {Zhiquan Tan and Dingli Yuan and Zhongyi Huang},
  title = {{Privacy-Preserving Polynomial Computing Over Distributed Data}},
  year = {2023},
  eprint = {2309.09315},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.09315},
}
Figure