Skip to main content
QUICK REVIEW

[Paper Review] Distributed Matrix Multiplication Using Speed Adaptive Coding.

Krishna Giri Narra, Zhifeng Lin|arXiv (Cornell University)|Apr 15, 2019
Stochastic Gradient Optimization TechniquesComputer Science40 references4 citations
TL;DR

This paper proposes $S^2C^2$, a speed-adaptive coded computation framework that dynamically assigns workloads to fast and slow nodes based on real-time speed predictions using an LSTM model, reducing total computation latency by 19% to 39% compared to replication and standard coded computation in distributed matrix multiplication and other linear algebraic workloads.

ABSTRACT

While performing distributed computations in today's cloud-based platforms, execution speed variations among compute nodes can significantly reduce the performance and create bottlenecks like stragglers. Coded computation techniques leverage coding theory to inject computational redundancy and mitigate stragglers in distributed computations. In this paper, we propose a dynamic workload distribution strategy for coded computation called Slack Squeeze Coded Computation ($S^2C^2$). $S^2C^2$ squeezes the compute slack (i.e., overhead) that is built into the coded computing frameworks by efficiently assigning work for all fast and slow nodes according to their speeds and without needing to re-distribute data. We implement an LSTM-based speed prediction algorithm to predict speeds of compute nodes. We evaluate $S^2C^2$ on linear algebraic algorithms, gradient descent, graph ranking, and graph filtering algorithms. We demonstrate a 19% to 39% reduction in total computation latency using $S^2C^2$ compared to job replication and coded computation. We further show how $S^2C^2$ can be applied beyond linear algebra.

Motivation & Objective

  • To address performance bottlenecks caused by straggler nodes in cloud-based distributed computing environments.
  • To reduce the computational slack inherent in traditional coded computation frameworks by intelligently allocating work based on node speed.
  • To eliminate the need for data redistribution during workload reassignment by leveraging dynamic speed-aware task allocation.
  • To extend the applicability of coded computation beyond linear algebra to algorithms like gradient descent, graph ranking, and graph filtering.
  • To improve end-to-end computation latency through real-time speed prediction and adaptive workload distribution

Proposed method

  • Employing an LSTM-based speed prediction model to estimate the execution speeds of compute nodes in real time.
  • Designing a dynamic workload distribution strategy that assigns more tasks to faster nodes and fewer to slower ones, based on predicted speeds.
  • Integrating the speed predictions into a coded computation framework to minimize redundant computation and reduce overall latency.
  • Squeezing the inherent compute slack in coded frameworks by aligning task distribution with actual node performance without requiring data redistribution.
  • Applying the $S^2C^2$ framework to diverse computational workloads, including matrix multiplication, gradient descent, graph ranking, and graph filtering.
  • Using a slack-squeeze mechanism to optimize task allocation such that the total computation time is minimized under varying node speeds.

Experimental results

Research questions

  • RQ1How can computational slack in coded computation frameworks be effectively reduced in the presence of heterogeneous node speeds?
  • RQ2To what extent can LSTM-based speed prediction improve workload distribution accuracy and reduce overall latency in distributed matrix multiplication?
  • RQ3Can $S^2C^2$ achieve lower latency than both job replication and conventional coded computation across diverse computational workloads?
  • RQ4How does the dynamic workload assignment strategy in $S^2C^2$ perform without requiring data redistribution during execution?
  • RQ5To what extent is $S^2C^2$ extensible beyond linear algebraic computations to other iterative and graph-based algorithms?

Key findings

  • $S^2C^2$ reduces total computation latency by 19% to 39% compared to job replication and conventional coded computation in distributed matrix multiplication.
  • The LSTM-based speed prediction model enables accurate estimation of node execution speeds, allowing effective workload balancing.
  • The framework successfully eliminates the need for data redistribution during runtime by dynamically assigning tasks based on real-time speed predictions.
  • The performance gains of $S^2C^2$ are consistent across diverse workloads, including gradient descent, graph ranking, and graph filtering algorithms.
  • The slack-squeeze mechanism effectively minimizes idle time and computational redundancy, improving overall system efficiency.
  • The proposed method demonstrates scalability and adaptability beyond linear algebra, extending to iterative and graph-based computational tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.