Abstract
In large-scale machine learning and data processing, distributed matrix-vector multiplication ($y = Ax$) is a fundamental operation. While coded computing offers resilience against straggling nodes and one-time pad techniques provide data privacy, these methods often destroy the inherent sparsity of the input matrix, leading to significant computational overhead. This paper proposes a novel "Dependent Sparse One-Time Pad" strategy that balances privacy and efficiency. By relaxing the requirement for perfect privacy in specific worker clusters, the scheme preserves matrix sparsity, thereby accelerating computation while maintaining provable information-theoretic privacy guarantees.
Introduction
As datasets grow in size, distributing computational tasks across multiple worker nodes has become a necessity. However, two primary challenges persist in distributed environments: the "straggler problem," where slow nodes delay the entire computation, and the "privacy problem," where sensitive data must be protected from potentially untrusted cloud infrastructure.
Standard approaches to these problems involve adding redundancy through coding and masking data with random noise. While effective for dense matrices, these techniques are often catastrophic for sparse matrices. Traditional privacy-preserving masks are typically dense, transforming a sparse input matrix into a dense one and eliminating the computational advantages of sparse arithmetic. This paper addresses this "artificial delay" by introducing a framework that trades a controlled amount of privacy for a significant increase in computational speed.
The Privacy-Sparsity Conflict
In traditional coded computing, a matrix $A$ is masked using a random noise matrix $R$ to produce an encoded version, such as $B = A + R$. For perfect information-theoretic privacy, $R$ is usually a dense matrix of independent and identically distributed (i.i.d.) noise. When $A$ is sparse, the resulting $B$ becomes dense, increasing the number of floating-point operations required by the worker nodes. This creates a fundamental tension: the more privacy we demand, the slower the computation becomes due to the loss of sparsity.
Proposed Methodology: Dependent Sparse One-Time Pads
To resolve this tension, the authors introduce a "Dependent Sparse One-Time Pad" strategy. The core innovation lies in generating a noise matrix $R$ that is statistically dependent on the input matrix $A$, designed specifically to maintain the sparsity of the encoded tasks.
The Two-Cluster Trust Model
The framework utilizes a heterogeneous trust model by dividing workers into two distinct groups:
- Untrusted Cluster: These workers require perfect privacy (zero information leakage). They receive tasks masked with noise that ensures no information about $A$ can be recovered.
- Partly Trusted Cluster: These workers are allowed a small, quantifiable amount of information leakage ($\epsilon$). In exchange for this relaxation, the tasks assigned to them remain highly sparse.
Conditional Probability Masking
The noise matrix $R$ is generated using specific probability mass functions (PMFs) conditioned on the values of $A$. By carefully tuning these probabilities, the authors ensure that the encoded matrices ($B_1 = R$ and $B_2 = A + R$) retain a high degree of sparsity. This approach allows the system to leverage sparse matrix-vector multiplication (SpMV) kernels, which are significantly faster than their dense counterparts.
Straggler Resilience via Cyclic Assignment
To mitigate the impact of stragglers, the scheme employs a cyclic task assignment strategy combined with fractional repetition codes. This ensures that the "Chief" node can reconstruct the final result $y = Ax$ as long as a sufficient number of workers from each cluster complete their tasks, regardless of which specific nodes lag behind.
Theoretical Results and Insights
The authors evaluate their scheme through information-theoretic analysis and numerical simulations on synthetic sparse matrices over finite fields (e.g., $\mathbb{F}_{256}$).
- Quantifiable Leakage: The paper establishes a concrete formula (Theorem 1) to measure the information leakage to colluding workers. This allows system designers to set a "privacy budget" and optimize sparsity accordingly.
- Linear Scaling: The research demonstrates that the sparsity level of the noise matrix $R$ is a linear, monotonically increasing function of the privacy parameter. This predictability allows for precise tuning of the system's performance.
- Efficiency Gains: Simulations with a matrix sparsity level of $s = 0.93$ and 100 workers show that the "Partly Trusted" cluster can achieve high computational speeds with minimal relative leakage, significantly outperforming traditional perfect-privacy schemes in terms of latency.
Conclusion
This paper demonstrates that privacy in distributed computing does not have to be a binary choice. By allowing for a controlled, measurable amount of information leakage, it is possible to preserve the structural advantages of sparse data. The proposed Dependent Sparse One-Time Pad provides a tunable framework for high-performance, privacy-aware distributed linear algebra. Future work includes extending this model to single-cluster settings and optimizing probability parameters to further enhance the sparsity-privacy trade-off.
Summary updated