arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1907.08818cs.ITcs.DCmath.IT
收藏

分层编码矩阵乘法

Hierarchical Coded Matrix Multiplication

Shahrzad Kiani, Nuwan Ferdinand, Stark C. Draper

摘要:

工作速度慢的节点,称为落伍者,可以大大降低分布式计算的速度。编码矩阵乘法是最近引入的一种技术,它可以实现大型矩阵的抗离散分布式乘法。一个关键的属性是,完成时间只取决于一组最快的工人完成的工作,而最慢的工人完成的工作被完全忽略。本文的动机是观察到,在现实世界的商业云计算系统,如亚马逊的弹性计算云(EC2)之间的区别快和慢节点往往是一个软的。因此,如果我们也能利用掉队者完成的工作,我们可能会实现可观的性能增益。为了实现这样的增益,在本文中,我们使用分层编码的思想(Ferdinand和Draper,IEEE Int. Symp. Inf. Theory,2018).我们将整个矩阵乘法任务分解成一个层次结构的异构大小的子任务。完成每个子任务的责任由所有工人分担,每个子任务(通常)具有不同的复杂性。分层分解的动机是认识到更多的工人将完成第一个子任务,而不是第二个(或第三个,第四个等)。连接到纠错编码,因此较早的子任务可以被设计为比较晚的子任务具有更高的速率。通过这种分层设计,我们的方案利用了落后者完成的工作,而不是忽略它,即使这个数量比最快的工人完成的要少得多。我们的数值计算表明,我们的方法实现了60%的预期完成时间的改进,广泛研究的统计模型的计算速度,在亚马逊EC2上,增益为35%。

英文摘要:

Slow working nodes, known as stragglers, can greatly reduce the speed of distributed computation. Coded matrix multiplication is a recently introduced technique that enables straggler-resistant distributed multiplication of large matrices. A key property is that the finishing time depends only on the work completed by a set of the fastest workers, while the work done by the slowest workers is ignored completely. This paper is motivated by the observation that in real-world commercial cloud computing systems such as Amazon's Elastic Compute Cloud (EC2) the distinction between fast and slow nodes is often a soft one. Thus, if we could also exploit the work completed by stragglers we may realize substantial performance gains. To realize such gains, in this paper we use the idea of hierarchical coding (Ferdinand and Draper, IEEE Int. Symp. Inf. Theory, 2018). We decompose the overall matrix multiplication task into a hierarchy of heterogeneously sized subtasks. The duty to complete each subtask is shared amongst all workers and each subtask is (generally) of a different complexity. The motivation for the hierarchical decomposition is the recognition that more workers will finish the first subtask than the second (or third, forth, etc.). Connecting to error correction coding, earlier subtasks can therefore be designed to be of a higher rate than later subtasks. Through this hierarchical design our scheme exploits the work completed by stragglers, rather than ignoring it, even if that amount is much less than that completed by the fastest workers. We numerically show that our method realizes a 60% improvement in the expected finishing time for a widely studied statistical model of the speed of computation and, on Amazon EC2, the gain is 35%.

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

↑