Coded Distributed Computing over Packet Erasure Channels

Dong-Jun Han, Jy-yong Sohn, Jaekyun Moon

Introduction

Distributed computing systems, such as MapReduce and Spark, are frequently hampered by "stragglers"—worker nodes that take significantly longer than average to complete assigned tasks. To mitigate this, coded computation has emerged as a robust solution, employing error-correction codes (e.g., MDS codes) to introduce redundancy. By utilizing an $(n, k)$ code, a master node only requires results from any $k$ out of $n$ workers, effectively bypassing the slowest $n-k$ nodes.

While theoretical models often assume perfect communication, real-world networks are prone to packet loss due to congestion or interference. This paper bridges the gap between theoretical coded computation and network unreliability by modeling worker-master links as packet erasure channels. The authors provide a mathematical framework to optimize coded schemes, demonstrating that they remain $\Theta(\log n)$ times faster than uncoded alternatives even in the presence of frequent packet erasures and retransmissions.

Methodology

The study focuses on a master-worker architecture performing matrix-vector multiplication. The total execution time is partitioned into two phases: computation time (local processing at the worker) and communication time (transmission over a Packet Erasure Channel). Both are modeled as exponential random variables.

Markov Chain Analysis

For the specific case where each node computes a single inner product ($k=m$), the system's progress is modeled using a continuous-time Markov chain. The state $(u, v)$ represents the number of workers that have completed their computation ($u$) and the number of results successfully received by the master ($v$).

Markov state transition diagram for the distributed computing system.

Latency Bounds and Optimization

The authors utilize order statistics to derive closed-form upper and lower bounds for the expected overall latency $E[T]$. This analytical framework allows for the optimization of the code rate $R = k/n$ and the maximum number of retransmissions $\gamma$ under specific bandwidth constraints. The methodology is validated through extensive Monte Carlo simulations rather than external datasets, ensuring the tightness of the proposed latency bounds.

Key Insights and Results

A primary finding is that link erasures effectively scale the communication rate by $(1 - \epsilon)$, increasing the expected communication time per worker by a factor of $1/(1-\epsilon)$. Despite this overhead, the coded approach maintains its order-wise advantage, remaining $\Theta(\log n)$ times faster than uncoded schemes.

Expected overall run-time vs. erasure probability, showing the tightness of the derived bounds.

Numerical results, as shown in Figure 2, demonstrate that the derived lower bound is particularly tight across various erasure probabilities. As the erasure probability $\epsilon$ increases, the optimal code rate $R^*$ shifts, providing a design guideline for balancing straggler mitigation against communication redundancy. Furthermore, the paper identifies a "sharp threshold" in scenarios with limited retransmissions; beyond a critical $\epsilon$, the probability of successful completion drops precipitously as latency constraints become impossible to satisfy.

Conclusion and Future Directions

This work provides a rigorous foundation for understanding coded computation in unreliable network environments. However, several avenues for future research remain. The current model assumes exponential distributions for task times; exploring heavy-tailed distributions (like Pareto) common in data centers could yield different insights. Additionally, extending the framework to heterogeneous clusters or more complex iterative machine learning algorithms would enhance its practical applicability to modern distributed systems.

Summary updated

BibTeX
@inproceedings{han2019coded,
  author = {Dong-Jun Han and Jy-yong Sohn and Jaekyun Moon},
  title = {{Coded Distributed Computing over Packet Erasure Channels}},
  booktitle = {ISIT},
  year = {2019},
  url = {https://openreview.net/forum?id=YDlz5g6OZF4},
}
Figure