Skip to main content
QUICK REVIEW

[Paper Review] Rateless Codes for Private Distributed Matrix-Matrix Multiplication

Rawad Bitar, Marvin Xhemrishi|arXiv (Cornell University)|Apr 27, 2020
Stochastic Gradient Optimization TechniquesComputer Science27 references7 citations
TL;DR

This paper proposes RPM3, a rateless coded scheme for private distributed matrix-matrix multiplication that enables the master to dynamically assign tasks to heterogeneous, time-varying worker nodes based on their computational capacity. By using polynomial interpolation and adaptive task scheduling, RPM3 decouples task size from straggler tolerance, allowing the master to decode the result as soon as sufficient responses are received, significantly reducing computation latency in dynamic environments while preserving information-theoretic privacy.

ABSTRACT

We consider the problem of designing rateless coded private distributed matrix-matrix multiplication. A master server owns two private matrices $\mathbf{A}$ and $\mathbf{B}$ and wants to hire worker nodes to help compute the multiplication. The matrices should remain private from the workers, in an information-theoretic sense. This problem has been considered in the literature and codes with a predesigned threshold are constructed. More precisely, the master assigns tasks to the workers and waits for a predetermined number of workers to finish their assigned tasks. The size of the tasks assigned to the workers depends on the designed threshold. We are interested in settings where the size of the task must be small and independent of the designed threshold. We design a rateless private matrix-matrix multiplications scheme, called RPM3. Our scheme fixes the size of the tasks and allows the master to send multiple tasks to the workers. The master keeps receiving results until it can decode the multiplication. Two main applications require this property: i) leverage the possible heterogeneity in the system and assign more tasks to workers that are faster; and ii) assign tasks adaptively to account for a possibly time-varying system.

Motivation & Objective

  • To address the challenge of straggler nodes in private distributed matrix-matrix multiplication by enabling adaptive task assignment based on worker heterogeneity.
  • To maintain information-theoretic privacy of the input matrices A and B from non-colluding workers.
  • To design a scheme where task size is fixed and independent of the straggler tolerance threshold, enabling dynamic load balancing.
  • To reduce the master's waiting time by allowing early decoding once sufficient results are collected, improving overall computation efficiency.

Proposed method

  • The master splits matrices A and B into submatrices and uses random matrices R and S to encode tasks via polynomial interpolation.
  • Each worker receives evaluations of two polynomials f(x) = R(1−x) + Ax and g(x) = S(1−x) + Bx at distinct points ai ∈ Fq.
  • The master collects results h(ai) = f(ai)g(ai) from workers and decodes the full product C = AB using interpolation once enough evaluations are received.
  • Workers are grouped into clusters based on computational capacity, with faster clusters assigned more tasks (τu tasks per cluster u).
  • The scheme uses Lagrange interpolation to reconstruct the matrix product from a subset of worker responses, ensuring privacy and correctness.
  • The master dynamically adjusts task distribution across clusters to account for time-varying worker performance and resource availability.

Experimental results

Research questions

  • RQ1How can private distributed matrix-matrix multiplication be made adaptive to heterogeneous and time-varying worker resources?
  • RQ2Can task size be decoupled from straggler tolerance threshold while preserving privacy and correctness?
  • RQ3What is the trade-off between computational flexibility and coding rate in rateless private computation schemes?
  • RQ4How does dynamic task assignment across clusters affect the overall computation latency compared to fixed-threshold schemes?
  • RQ5What is the impact of using multiple polynomials per round on the rate and decoding delay in private matrix multiplication?

Key findings

  • RPM3 enables the master to decode the matrix product as soon as enough results are received, reducing waiting time compared to schemes that require a fixed number of responses.
  • The scheme allows dynamic task assignment proportional to worker speed, improving system efficiency in heterogeneous environments.
  • The rate of RPM3 is lower than that of prior schemes like [25] when m_I + z k_I + z - 1 ≤ -D, where D = m_I k_I - m k (1+ε), indicating a trade-off between flexibility and rate.
  • When τ_c < ⌈m k / (m_I k_I)⌉, RPM3 reduces latency because the master waits for fewer tasks per worker compared to fixed-threshold schemes.
  • The number of required results N is given by N = 2 m k (1+ε) + (z−1) τ_c ∑γ_u,c + z τ_c γ_1,c, which accounts for task distribution across clusters.
  • The scheme maintains information-theoretic privacy as long as the number of compromised workers is below the threshold, even under adaptive task scheduling.

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.