Coding Method for Parallel Iterative Linear Solver

Yaoqing Yang, Pulkit Grover, Soummya Kar

Abstract

Distributed computing systems often suffer from "stragglers"—worker nodes that perform significantly slower than others. Traditional coded computation handles these by treating stragglers as erasures, discarding their partial progress. This paper introduces a novel framework that treats stragglers as "soft errors," utilizing their partial results through a weighted combination decoding process. This approach achieves significant improvements in accuracy, particularly for iterative solvers like PageRank, demonstrating up to a $10^4$ reduction in mean-squared error (MSE) on real-world social network graphs.

Introduction: The Straggler Problem

In large-scale distributed environments, the speed of computation is frequently bottlenecked by a small subset of slow workers. Standard mitigation strategies include replication (running tasks on multiple nodes) and erasure-based coded computation (reconstructing results from a subset of fast workers). However, for iterative solvers where solutions are refined over time, these methods are inherently wasteful. A straggler node may have completed a significant portion of its task by the deadline, yet traditional methods discard this partial data entirely.

Proposed Coded Method

The authors propose a Coded Distributed Linear Inverse algorithm designed to capture the value of every worker's progress. Instead of treating slow nodes as failures, the system treats the difference between a straggler's partial result and the true solution as "soft additive noise."

Comparison of classical erasure-based coded computation versus the proposed weighted combination method.

The workflow consists of three main stages:

  1. Encoding: Input vectors are linearly combined using a generator matrix (e.g., a submatrix of a Fourier matrix) to create redundant problem instances.
  2. Parallel Iteration: Workers run iterative solvers (such as Gradient Descent) on their assigned tasks until a hard deadline $T_{dl}$ is reached.
  3. Weighted Decoding: The central controller collects results from all workers. It applies a weighting matrix $\Lambda$, where weights are proportional to the number of iterations each worker completed. This ensures that more accurate results from faster workers contribute more heavily to the final estimate.

Experimental Results

The method was evaluated using real-world datasets, including the Twitter graph (~1.7M edges) and the Google Plus graph (~13.6M edges), implemented on an HT-condor cluster with 120 workers.

Average mean-squared error (MSE) vs. computation deadline for Google Plus and Twitter graphs, comparing the coded method against uncoded and replication strategies.

As shown in the performance graphs, the proposed coded method significantly outperforms traditional approaches. At tight deadlines (e.g., 2 seconds for the Twitter graph), the coded method achieves an MSE that is four orders of magnitude lower than replication-based or uncoded methods. Furthermore, the accuracy degrades gracefully as the deadline is shortened, unlike erasure-based codes which may fail completely if the number of fast workers falls below a specific threshold.

Key Insights

  • Information Maximization: By treating stragglers as noisy sources rather than erasures, the system extracts more information per unit of time.
  • Numerical Stability: Traditional methods often struggle with ill-conditioned submatrices when only a subset of workers is used. By incorporating all workers, this method improves the conditioning of the decoding process.
  • Theoretical Superiority: The authors prove that the error exponent of the coded scheme is strictly better than competing schemes as the deadline increases.

Conclusion and Future Work

This framework provides a robust solution for distributed iterative linear solvers. While the current implementation uses standard generator matrices, future research into graph-specific optimal code design could further enhance performance. Additionally, exploring the trade-offs between computation and communication costs in extremely high-latency networks remains a valuable direction for future study.

Summary updated

BibTeX
@misc{yang2017coding,
  author = {Yaoqing Yang and Pulkit Grover and Soummya Kar},
  title = {{Coding Method for Parallel Iterative Linear Solver}},
  year = {2017},
  eprint = {1706.00163},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.00163},
}
Figure