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

一种具有非均匀性的梯度编码算法

Heterogeneity-aware Gradient Coding for Straggler Tolerance

Haozhao Wang, Song Guo, Bin Tang, Ruixuan Li, Chengjie Li

摘要:

梯度下降算法广泛应用于机器学习中。为了处理大量的数据,我们考虑在分布式计算中实现梯度下降算法,其中多个工作者计算部分数据上的梯度,主节点聚合他们的结果以获得整个数据上的梯度。然而,它的性能可能会受到掉队工人的严重影响。最近,一些基于编码的方法被引入来减轻掉队者问题,但是它们仅在工作者是同质的时有效,即,具有相同的计算能力。在本文中,我们认为工人是异构的,这是常见的现代分布式系统。我们提出了一种新的异质性感知的梯度编码方案,它不仅可以容忍预定数量的落伍者,但也充分利用异构工人的计算能力。我们表明,该计划是最佳的计算能力的工人准确估计。当计算能力的估计不那么准确时,进一步提出了该方案的变体以提高性能。我们在QingCloud集群上进行基于梯度下降的图像分类。评估结果表明,我们的计划可以减少整个计算时间高达$3\times$相比,一个国家的最先进的编码方案。

英文摘要:

Gradient descent algorithms are widely used in machine learning. In order to deal with huge volume of data, we consider the implementation of gradient descent algorithms in a distributed computing setting where multiple workers compute the gradient over some partial data and the master node aggregates their results to obtain the gradient over the whole data. However, its performance can be severely affected by straggler workers. Recently, some coding-based approaches are introduced to mitigate the straggler problem, but they are efficient only when the workers are homogeneous, i.e., having the same computation capabilities. In this paper, we consider that the workers are heterogeneous which are common in modern distributed systems. We propose a novel heterogeneity-aware gradient coding scheme which can not only tolerate a predetermined number of stragglers but also fully utilize the computation capabilities of heterogeneous workers. We show that this scheme is optimal when the computation capabilities of workers are estimated accurately. A variant of this scheme is further proposed to improve the performance when the estimations of the computation capabilities are not so accurate. We conduct our schemes for gradient descent based image classification on QingCloud clusters. Evaluation results show that our schemes can reduce the whole computation time by up to $3\times$ compared with a state-of-the-art coding scheme.

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

↑