Price of Precision in Coded Distributed Matrix Multiplication: A Dimensional Analysis

05/17/2021
by   Junge Wang, et al.
0

Coded distributed matrix multiplication (CDMM) schemes, such as MatDot codes, seek efficient ways to distribute matrix multiplication task(s) to a set of N distributed servers so that the answers returned from any R servers are sufficient to recover the desired product(s). For example, to compute the product of matrices U, V, MatDot codes partition each matrix into p>1 sub-matrices to create smaller coded computation tasks that reduce the upload/storage at each server by 1/p, such that UV can be recovered from the answers returned by any R=2p-1 servers. An important concern in CDMM is to reduce the recovery threshold R for a given storage/upload constraint. Recently, Jeong et al. introduced Approximate MatDot (AMD) codes that are shown to improve the recovery threshold by a factor of nearly 2, from 2p-1 to p. A key observation that motivates our work is that the storage/upload required for approximate computing depends not only on the dimensions of the (coded) sub-matrices that are assigned to each server, but also on their precision levels – a critical aspect that is not explored by Jeong et al. Our main contribution is a dimensional analysis of AMD codes inspired by the Generalized Degrees of Freedom (GDoF) framework previously developed for wireless networks, which indicates that for the same upload/storage, once the precision levels of the task assignments are accounted for, AMD codes surprisingly fall short in all aspects to even the trivial replication scheme which assigns the full computation task to every server. Indeed, the trivial replication scheme has a much better recovery threshold of 1, better download cost, better computation cost, and much better encoding/decoding (none required) complexity than AMD codes. The dimensional analysis is supported by simple numerical experiments.

READ FULL TEXT
research
09/30/2019

Cross Subspace Alignment Codes for Coded Distributed Batch Matrix Multiplication

The goal of coded distributed matrix multiplication (CDMM) is to efficie...
research
05/05/2021

ε-Approximate Coded Matrix Multiplication is Nearly Twice as Efficient as Exact Multiplication

We study coded distributed matrix multiplication from an approximate rec...
research
07/22/2021

Flexible Distributed Matrix Multiplication

The distributed matrix multiplication problem with an unknown number of ...
research
03/29/2023

HerA Scheme: Secure Distributed Matrix Multiplication via Hermitian Codes

We consider the problem of secure distributed matrix multiplication (SDM...
research
11/28/2018

An Application of Storage-Optimal MatDot Codes for Coded Matrix Multiplication: Fast k-Nearest Neighbors Estimation

We propose a novel application of coded computing to the problem of the ...
research
12/26/2018

CodedSketch: A Coding Scheme for Distributed Computation of Approximated Matrix Multiplication

In this paper, we propose CodedSketch, as a distributed straggler-resist...
research
02/07/2022

Locally Random Alloy Codes with Channel Coding Theorems for Distributed Matrix Multiplication

Matrix multiplication is a fundamental operation in machine learning and...

Please sign up or login with your details

Forgot password? Click here to reset