Skip to main content
QUICK REVIEW

[Paper Review] Berrut Approximated Coded Computing: Straggler Resistance Beyond Polynomial Computing

Tayyebeh Jahani-Nezhad, Mohammad Ali Maddah-Ali|arXiv (Cornell University)|Sep 17, 2020
Stochastic Gradient Optimization TechniquesComputer Science5 citations
TL;DR

This paper proposes Berrut Approximated Coded Computing (BACC), a numerically stable, straggler-resistant coded computation framework that extends beyond polynomial functions by leveraging Berrut interpolation for approximating arbitrary functions. BACC enables efficient distributed learning with reduced communication and computation load per worker, achieving faster convergence than uncoded and replication-based schemes while tolerating up to s stragglers with any number of servers.

ABSTRACT

One of the major challenges in using distributed learning to train complicated models with large data sets is to deal with stragglers effect. As a solution, coded computation has been recently proposed to efficiently add redundancy to the computation tasks. In this technique, coding is used across data sets, and computation is done over coded data, such that the results of an arbitrary subset of worker nodes with a certain size are enough to recover the final results. The major challenges with those approaches are (1) they are limited to polynomial function computations, (2) the size of the subset of servers that we need to wait for grows with the multiplication of the size of the data set and the model complexity (the degree of the polynomial), which can be prohibitively large, (3) they are not numerically stable for computation over real numbers. In this paper, we propose Berrut Approximated Coded Computing (BACC), as an alternative approach, which is not limited to polynomial function computation. In addition, the master node can approximately calculate the final results, using the outcomes of any arbitrary subset of available worker nodes. The approximation approach is proven to be numerically stable with low computational complexity. In addition, the accuracy of the approximation is established theoretically and verified by simulation results in different settings such as distributed learning problems. In particular, BACC is used to train a deep neural network on a cluster of servers, which outperforms repetitive computation (repetition coding) in terms of the rate of convergence.

Motivation & Objective

  • Address the limitations of existing coded computation methods that are restricted to polynomial functions and suffer from numerical instability over real numbers.
  • Develop a numerically stable, general-purpose coded computing framework for distributed learning that works with arbitrary functions and any number of servers.
  • Reduce communication and computation overhead per worker node compared to data replication while maintaining robustness to stragglers.
  • Enable practical deployment in real-number computation scenarios such as deep learning, where traditional Lagrange-coded methods fail due to ill-conditioned Vandermonde matrices.
  • Demonstrate superior convergence speed and accuracy in training deep neural networks under straggler conditions.

Proposed method

  • BACC uses Berrut interpolation—a barycentric rational interpolation method with superior numerical stability—as the core approximation technique to reconstruct gradients from coded data.
  • Each worker node computes gradients on a linear combination of K mini-batches using Berrut weights, which are derived from interpolation nodes and ensure stability over real numbers.
  • The master node collects results from any N−s workers (where s is the number of stragglers) and decodes the full gradient using the inverse of the Berrut interpolation matrix.
  • Coded labels are formed as normalized sums of one-hot labels with Berrut coefficients, enabling multi-label classification with approximated gradients.
  • The scheme employs Sigmoid Cross-Entropy loss and backpropagation on coded data, with decoding performed only at the master node to minimize per-worker computation.
  • The method avoids solving ill-conditioned Vandermonde systems by using Berrut’s rational interpolation, which has a bounded condition number and avoids polynomial basis issues.

Experimental results

Research questions

  • RQ1Can a coded computing framework be designed to work beyond polynomial functions while maintaining numerical stability over real numbers?
  • RQ2Does BACC achieve faster convergence in distributed deep learning compared to uncoded and data replication schemes under straggler conditions?
  • RQ3How does the communication and computation load per worker in BACC compare to data replication and uncoded schemes?
  • RQ4What is the impact of Berrut interpolation’s numerical stability on the accuracy and convergence of gradient updates in distributed training?
  • RQ5Can BACC tolerate any number of stragglers (s) with a fixed number of servers (N), regardless of model complexity?

Key findings

  • BACC achieves faster convergence to a given test accuracy on MNIST, Fashion-MNIST, and CIFAR-10 datasets compared to data replication and uncoded schemes under straggler conditions.
  • On LeNet architecture with N=3, s=1 and N=5, s=2, BACC outperforms the data replication scheme in wall-clock time to reach target accuracy, despite the latter eventually surpassing it slightly.
  • The uncoded scheme converges fastest but fails to reach the final accuracy due to incomplete data usage when stragglers are present.
  • BACC reduces per-worker communication and computation load compared to data replication, where each worker processes two raw data samples instead of one coded sample.
  • Theoretical analysis confirms that Berrut interpolation avoids the exponential condition number growth of Vandermonde matrices, ensuring numerical stability for real-number computations.
  • Simulation results validate the accuracy of BACC approximation, showing that the decoded gradients closely match the true gradients, enabling effective model updates.

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.