Introduction
In large-scale distributed computing, performing massive matrix multiplication tasks ($C = A^T B$) often involves a master node delegating sub-tasks to multiple worker nodes. However, two major bottlenecks frequently arise: stragglers and communication load. Stragglers are slow-processing nodes that delay the entire computation. To mitigate this, "coded computation" is employed, sending redundant, encoded versions of the data so the master can reconstruct the final result from only a subset of workers. While effective, assigning many small sub-tasks to workers to exploit partial progress typically causes the communication load between the master and workers to explode.
This paper introduces Squeezed Polynomial Codes, a novel coding scheme designed to speed up distributed matrix multiplication by "squeezing" polynomial functions to overlap encoded data. This method significantly reduces the communication overhead required to assign tasks to workers while remaining resilient to stragglers.
Methodology: The Squeezed Polynomial Framework
The core innovation lies in the design of the encoding functions $p_A(x)$ and $p_B(x)$. Standard polynomial codes assign unique encoded sub-matrices for every sub-task. In contrast, "squeezing" involves designing the polynomial for one matrix (e.g., matrix $B$) such that it evaluates to the same value across multiple sub-tasks assigned to a single worker.
The "Squeezing" Mechanism
By using a higher-order polynomial function $g(x)$ that remains constant for all sub-tasks at a specific worker, the master only needs to send one encoded version of matrix $B$ to that worker, even if that worker is performing $L$ different sub-tasks. This "overlapping" of information drastically reduces the task-allocation load ($L_t$) without affecting the recovery threshold.
Task Allocation and Partitioning
The authors define two scenarios based on matrix dimensions:
- Case A: Matrices $A$ and $B$ are similar in size.
- Case B: One matrix is significantly larger than the other.
The paper provides optimized partitioning parameters ($m, n$) for both cases to minimize the total communication load ($L_t + L_r$).
Performance and Optimality
As a theoretical work focusing on algorithmic complexity and communication bounds, the scheme is evaluated using synthetic matrix tasks and numerical simulations. Performance is compared against existing benchmarks such as Polynomial, Matdot, Product, and Bi-variate codes.
Key Results
- Communication Efficiency: In Case A, Squeezed Polynomial Codes eliminate the $\sqrt{L}$ overhead factor found in standard polynomial codes. For example, in a setup with 24 workers, the squeezed scheme's communication load remains constant as the number of sub-tasks increases, while other schemes see their costs spike.
- Lower Return Load: Compared to Matdot codes, Squeezed codes offer a significantly lower return communication load—roughly $\sqrt{2/WL}$ times lower.
- Information-Theoretic Optimality: The authors prove that their scheme achieves the optimal "computation-return" load ($L_r = ac$), meaning it is as efficient as possible when workers send results back to the master.
- Robustness: The scheme maintains the optimal recovery threshold ($R = mn$), ensuring the master can decode the final product even if many workers fail or lag.
Discussion and Limitations
While Squeezed Polynomial Codes offer significant advantages, they introduce certain complexities. The master node must perform polynomial interpolation (via FFT or matrix inversion), and as the number of sub-tasks grows, this computational burden increases. Furthermore, using high-degree polynomials can lead to numerical precision issues, requiring high-precision floating-point numbers or large finite fields.
Future work could explore how these codes might be adapted for more complex distributed environments involving privacy constraints or security requirements, such as preventing workers from viewing raw data.
Summary updated