Skip to main content
QUICK REVIEW

[Paper Review] Private Coded Computation for Machine Learning

Minchul Kim, Heecheol Yang|arXiv (Cornell University)|Jul 3, 2018
Stochastic Gradient Optimization TechniquesComputer Science7 references5 citations
TL;DR

This paper introduces private coded computation, a novel framework that protects the master's privacy in distributed matrix multiplication by ensuring workers cannot infer which dataset from a shared library was used. It proposes private polynomial codes—specifically private one-shot and private asynchronous polynomial codes—that balance communication load and computation time, outperforming conventional robust private information retrieval (RPIR) in at least one of these metrics across all tested scenarios.

ABSTRACT

In a distributed computing system for the master-worker framework, an erasure code can mitigate the effects of slow workers, also called stragglers. The distributed computing system combined with coding is referred to as coded computation. We introduce a variation of coded computation that protects the master's privacy from the workers, which is referred to as private coded computation. In private coded computation, the master needs to compute a function of its own dataset and one of the datasets in a library exclusively shared by the external workers. After the master recovers the result of the desired function through coded computation, the workers should not know which dataset in the library was desired by the master, which implies that the master's privacy is protected. We propose a private coded computation scheme for matrix multiplication, namely private polynomial codes, based on polynomial codes for conventional coded computation. As special cases of private polynomial codes, we propose private one-shot polynomial codes and private asynchronous polynomial codes. Whereas the private one-shot polynomial code achieves a lower communication load from the master to each worker, the private asynchronous polynomial code achieves faster computation than private one-shot polynomial codes. In terms of computation time and communication load, we compare private one-shot polynomial codes and private asynchronous polynomial codes with a conventional robust private information retrieval scheme which can be directly applied to coded computation.

Motivation & Objective

  • To address the privacy leakage in distributed computing where workers can infer which dataset the master is accessing from a shared library.
  • To develop a coded computation scheme that ensures workers cannot learn which specific dataset from a library is being processed, preserving the master's privacy.
  • To design efficient schemes that minimize communication load and computation time while maintaining privacy.
  • To compare the proposed private coded computation schemes with existing RPIR-based approaches in terms of performance trade-offs.

Proposed method

  • Proposes private polynomial codes as a privacy-preserving extension of conventional polynomial codes in coded computation.
  • Uses encoding functions $ g^D_{\mathbf{A}} $ and $ g^D_{\mathbf{B}} $ to obfuscate the master's data and the target dataset in the library.
  • Introduces private one-shot polynomial codes, where the master sends $ L=1 $ evaluation of the encoded data to each worker, minimizing communication load.
  • Develops private asynchronous polynomial codes, allowing faster workers to continue computing beyond the first completion, reducing overall computation time.
  • Employs a group-based computation model where workers process sub-computations in parallel and return results that the master can decode.
  • Uses MDS-coded submatrices and polynomial interpolation to enable recovery of the final result from any $ k $ workers, ensuring straggler resilience.

Experimental results

Research questions

  • RQ1Can coded computation be extended to protect the master’s privacy when accessing a specific dataset from a shared library of multiple datasets?
  • RQ2How can communication load and computation time be minimized in a private coded computation framework?
  • RQ3What is the trade-off between communication efficiency and computational speed in private coded computation schemes?
  • RQ4How do private one-shot and private asynchronous polynomial codes compare to the conventional RPIR scheme in terms of performance?

Key findings

  • Private one-shot polynomial codes achieve lower communication load than RPIR, with the load being at most $ N/n $ times higher than RPIR, where $ N $ is the number of workers and $ n $ is the number of workers used for decoding.
  • Private asynchronous polynomial codes achieve faster computation than private one-shot polynomial codes by allowing faster workers to continue processing after initial completion.
  • The performance gap between private asynchronous polynomial codes and RPIR diminishes as the straggler effect ($ \mu $) decreases, but private asynchronous codes remain superior in high-straggler scenarios.
  • Private one-shot polynomial codes have a trade-off between communication load and computation time: minimizing communication load increases computation time due to larger $ m $, which increases $ K = mn $.
  • In scenarios with low $ \mu $, the advantage of private asynchronous codes over RPIR becomes negligible, but they still outperform RPIR in computation time when stragglers are significant.
  • Private asynchronous polynomial codes can achieve the same communication load as RPIR ($ N|\mathbf{A}| $) when $ L = m $, but in practice $ L $ can be significantly reduced, improving the communication efficiency gap over RPIR.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.