arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.07567cs.ITmath.IT
收藏

编码分布矩阵乘法精度代价的量纲分析

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

Junge Wang, Zhuqing Jia, Syed A. Jafar

摘要:

编码的分布式矩阵乘法(CDMM)方案(例如MatDot码)寻求将矩阵乘法任务分布到一组$N$分布式服务器的有效方式,使得从任何$R$服务器返回的答案足以恢复期望的乘积。例如,为了计算矩阵${\bf U, V}$的乘积,MatDot代码将每个矩阵划分为$p>1$子矩阵以创建较小的编码计算任务,其通过$1/p$减少每个服务器处的上传/存储,使得可以从由任何$R=2p-1$服务器返回的答案恢复${\bf UV}$。CDMM中的一个重要关注点是降低给定存储/上传约束的恢复阈值$R$。最近,Jeong等人引入了近似MatDot(AMD)码,其被示出为将恢复阈值从$2p-1$提高到$p$,提高了接近$2$的因子。激励我们工作的一个关键观察是,近似计算所需的存储/上传不仅取决于分配给每个服务器的(编码)子矩阵的维度,但也对他们的精度水平-一个关键方面,是没有探讨的Jeong等人。我们的主要贡献是一个维度分析AMD代码的启发下,广义自由度(GDOF)框架先前开发的无线网络,这表明,对于相同的上传/存储,一旦考虑到任务分配的精度水平,AMD代码令人惊讶地在所有方面都达不到甚至是将全部计算任务分配给每个服务器的平凡复制方案。实际上,平凡复制方案具有比AMD码好得多的$1$恢复阈值、更好的下载成本、更好的计算成本和更好的编码/解码(不需要)复杂度。简单的数值实验支持量纲分析。

英文摘要:

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 ${\bf 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 ${\bf 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑