Straggler-Resilient and Communication-Efficient Distributed Iterative Linear Solver

Farzin Haddadpour, Yaoqing Yang, Malhar Chaudhari, Viveck R. Cadambe, Pulkit Grover

Abstract

Distributed iterative linear solvers are critical for processing massive datasets in fields ranging from web search to physical simulations. However, their performance is frequently hampered by two primary factors: high communication overhead between nodes and the "straggler" problem, where slow nodes delay the entire computation. This paper introduces PolyLin, a distributed algorithm that applies coding-theoretic principles to address these bottlenecks. By treating the iterative process as a polynomial evaluation, PolyLin allows for multiple iterations to be completed in a single communication round. Furthermore, the use of redundant polynomial evaluations provides inherent resilience to stragglers. Our evaluation on AWS EC2 shows that PolyLin can achieve a 20% speedup over optimized baseline solvers while significantly reducing communication frequency.

Introduction

In the era of big data, solving massive linear systems of the form $x = Ax + Qy$ is a fundamental task. Applications such as PageRank, image reconstruction, and solving partial differential equations rely on iterative methods to find solutions. To handle the scale of these problems, the workload is typically distributed across a cluster of computing nodes.

Traditional distributed iterative solvers follow a synchronous pattern: in each iteration, every worker node performs a local computation and then synchronizes with a master node to exchange updated estimates. This approach suffers from two major drawbacks. First, the frequent synchronization creates a communication bottleneck, where the time spent transferring data often exceeds the time spent on actual computation. Second, the system is only as fast as its slowest node. These "stragglers"—nodes that experience delays due to background processes or network issues—can significantly increase the total execution time.

The PolyLin Framework

To overcome these limitations, we propose PolyLin, a method inspired by Reed-Solomon error-correcting codes. PolyLin shifts the paradigm from step-by-step iteration to a coded computation framework.

Polynomial Unrolling and One-Shot Communication

The core innovation of PolyLin is "polynomial unrolling." Instead of distributing raw matrix chunks, the master node treats the matrix $A$ as a set of coefficients in a high-degree polynomial. The iterative process is then encoded into this polynomial. Worker nodes receive specific evaluations (projections) of this polynomial.

Figure 1: Standard communication flow between the master node and workers in a distributed iterative solver.

In a standard setup (as shown in Figure 1), workers $W_1, \dots, W_P$ exchange data with the master node at every step $\ell$. In contrast, PolyLin enables workers to perform $n$ iterations locally on their polynomial evaluations. After completing these local steps, they send back a single result. The master node then uses polynomial interpolation to recover the final state of the system after $n$ iterations. This reduces the number of communication rounds from $n$ to just one.

Straggler Resilience

PolyLin provides robust fault tolerance by introducing redundancy into the polynomial evaluations. By sending out more evaluations than the minimum required for interpolation, the master node can reconstruct the final result as soon as a subset of the fastest nodes (e.g., $K$ out of $P$ workers) respond.

Figure 2: PolyLin maintains performance by ignoring slow or "straggler" nodes (marked with X), utilizing redundant computations to reconstruct the final result.

As illustrated in Figure 2, even if nodes $W_1$ and $W_P$ are slow, the master node does not need to wait for them. This "coded" approach ensures that the system's overall speed is determined by the faster nodes in the cluster rather than the slowest.

Experimental Evaluation

We evaluated PolyLin and its multi-round variant, MRPolyLin, using synthetic large-scale matrices (up to $168,000 \times 168,000$) on an AWS EC2 cluster with up to 160 t2.medium instances.

Key Results

  • Communication Efficiency: PolyLin successfully reduced the number of communication rounds to one, regardless of the number of iterations performed. The total data volume communicated scales linearly with the vector size, avoiding the iteration-dependent scaling of baseline methods.
  • System Speedup: In real-world cloud environments, PolyLin achieved a 20% speedup over optimized distributed solvers. This improvement holds even when accounting for the increased local computational load required by the polynomial method.
  • Robustness: The system demonstrated high resilience to stragglers, maintaining consistent performance even when a significant portion of the worker nodes were artificially delayed.

Discussion and Limitations

While PolyLin offers significant advantages, it involves certain trade-offs. The method requires workers to store more data than baseline approaches, which may be a constraint for memory-limited hardware. Additionally, the initial encoding of the matrix $A$ is computationally expensive. However, this cost is amortized in scenarios where the same matrix is used for multiple different inputs $y$, such as in personalized PageRank or recurring physical simulations.

Currently, PolyLin is designed for stationary iterative methods like Jacobi or Power Iteration. Extending these coded computation techniques to non-stationary methods, such as Conjugate Gradient, remains an important area for future research.

Summary updated

BibTeX
@misc{haddadpour2018straggler,
  author = {Farzin Haddadpour and Yaoqing Yang and Malhar Chaudhari and Viveck R. Cadambe and Pulkit Grover},
  title = {{Straggler-Resilient and Communication-Efficient Distributed Iterative Linear Solver}},
  year = {2018},
  eprint = {1806.06140},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.06140},
}
Figure