Introduction
Large-scale distributed computing faces a significant bottleneck known as the "straggler" problem, where the overall task completion time is dictated by the slowest nodes in a cluster. While coded computing offers a solution by introducing redundancy, it often incurs substantial communication overhead during the data upload phase. This paper proposes a novel framework using multivariate polynomial codes to optimize the trade-off between communication costs and computational latency in distributed matrix-matrix multiplication.
System Architecture and the Straggler Problem
In a typical distributed matrix multiplication scenario ($M_0 \times M_1$), a master node partitions the input matrices and distributes coded versions of these blocks to $N$ worker nodes. The system is designed to reconstruct the final product $M$ once a specific number of workers, known as the recovery threshold, complete their assigned subtasks.
The primary challenges are twofold: mitigating the impact of stragglers and minimizing the communication overhead required to upload coded inputs. Traditional univariate polynomial codes, while effective, often impose rigid partitioning constraints or high upload costs that can become a massive bottleneck in large clusters.
Multivariate Polynomial Coding Schemes
The authors extend the framework of coded computing by moving from univariate polynomials to multivariate versions. They introduce two primary schemes—Bivariate (Bi0/Bi2) and Tri-variate (Tri)—that offer significant improvements over existing Entangled Polynomial Codes (EPC).
Key Innovations
- Generalized Partitioning: Unlike previous attempts, these new schemes support arbitrary grid partitions (splitting matrices into $p_0 \times p_1$ and $p_1 \times p_2$ blocks), allowing for fine-tuned system design.
- Structured Evaluation Sets: The core innovation involves using a Cartesian product evaluation set. By structuring the points where polynomials are evaluated, the master node can broadcast coded blocks that workers reuse across multiple subtasks.
- Bivariate vs. Tri-variate: Bivariate schemes reduce overhead for one input matrix, while the Tri-variate scheme optimizes both simultaneously. This "power of reuse" allows one evaluation of $M_0(x, y)$ to be paired with multiple evaluations of $M_1(y, z)$ because they share coordinates.
Performance Evaluation
The proposed methods were evaluated using synthetic matrix partitions and a shifted exponential model to simulate realistic worker completion times. The results demonstrate that multivariate codes offer superior performance in bandwidth-constrained environments.
As shown in Figure 2, the Tri-variate scheme achieves the lowest average computation latency when communication resources are strictly limited. This highlights a critical trade-off: intentionally increasing local computational complexity at the worker nodes can drastically lower the communication overhead, which is a winning strategy in bandwidth-limited scenarios.
Conclusion and Future Work
By evolving from univariate to multivariate polynomial codes, this research provides a more flexible and efficient framework for distributed matrix multiplication. These schemes allow for lower upload overheads and better latency performance, particularly in large-scale clusters. Future work will explore these codes in "online" settings to mitigate storage requirements and extend the framework to secure distributed computing environments.
Summary updated