A Unified Coded Deep Neural Network Training Strategy Based on Generalized PolyDot Codes for Matrix Multiplication
Not on the map. Why?
Abstract (arXiv)
This paper has two contributions. First, we propose a novel coded matrix multiplication technique called Generalized PolyDot codes that advances on existing methods for coded matrix multiplication under storage and communication constraints. This technique uses "garbage alignment," i.e., aligning computations in coded computing that are not a part of the desired output. Generalized PolyDot codes bridge between Polynomial codes and MatDot codes, trading off between recovery threshold and communication costs. Second, we demonstrate that Generalized PolyDot can be used for training large Deep Neural Networks (DNNs) on unreliable nodes prone to soft-errors. This requires us to address three additional challenges: (i) prohibitively large overhead of coding the weight matrices in each layer of the DNN at each iteration; (ii) nonlinear operations during training, which are incompatible with linear coding; and (iii) not assuming presence of an error-free master node, requiring us to architect a fully decentralized implementation without any "single point of failure." We allow all primary DNN training steps, namely, matrix multiplication, nonlinear activation, Hadamard product, and update steps as well as the encoding/decoding to be error-prone. We consider the case of mini-batch size B=1, as well as B>1, leveraging coded matrix-vector products, and matrix-matrix products respectively. The problem of DNN training under soft-errors also motivates an interesting, probabilistic error model under which a real number (P,Q) MDS code is shown to correct P-Q-1 errors with probability 1 as compared to lfloor fracP-Q2 rfloor for the more conventional, adversarial error model. We also demonstrate that our proposed strategy can provide unbounded gains in error tolerance over a competing replication strategy and a preliminary MDS-code-based strategy for both these error models.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 27 Nov 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 2; 2023: 0; 2024: 3.
8 papers.
- 2021Gradient Coding with Dynamic Clustering for Straggler-Tolerant Distributed Learningcited by 8
- 2021List-Decodable Coded Computing: Breaking the Adversarial Toleration Barriercited by 4
- 2022Lightweight Projective Derivative Codes for Compressed Asynchronous Gradient Descentcited by 1
- 2024Erasure Coded Neural Network Inference via Fisher Averagingcited by 1
- 2021ECRM: Efficient Fault Tolerance for Recommendation Model Training via Erasure Codingcited by 0
- 2022Random Alloy Codes and the Fundamental Limits of Coded Distributed Tensorscited by 0
- 2024Successive Refinement in Large-Scale Computation: Advancing Model Inference Applicationscited by 0
- 2024Flexible Coded Distributed Convolution Computing for Enhanced Straggler Resilience and Numerical Stability in Distributed CNNscited by 0
- 2024Flexible Coded Distributed Convolution Computing for Enhanced Straggler Resilience and Numerical Stability in Distributed CNNs3 Nov 2024
- 2024Erasure Coded Neural Network Inference via Fisher Averaging2 Sep 2024
- 2024Successive Refinement in Large-Scale Computation: Advancing Model Inference Applications11 Feb 2024
- 2022Random Alloy Codes and the Fundamental Limits of Coded Distributed Tensors7 Feb 2022
- 2022Lightweight Projective Derivative Codes for Compressed Asynchronous Gradient Descent31 Jan 2022
- 2021ECRM: Efficient Fault Tolerance for Recommendation Model Training via Erasure Coding5 Apr 2021
- 2021Gradient Coding with Dynamic Clustering for Straggler-Tolerant Distributed Learning1 Mar 2021
- 2021List-Decodable Coded Computing: Breaking the Adversarial Toleration Barrier27 Jan 2021