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

多项式编码回归:通过数据编码的最优离散者缓解

Polynomially Coded Regression: Optimal Straggler Mitigation via Data Encoding

Department of Electrical Engineering, University of Southern California(南加州大学电气工程系(University of Southern California 为南加州大学))

Songze Li, Seyed Mohammadreza Mousavi Kalan, Qian Yu, Mahdi Soltanolkotabi, A. Salman Avestimehr

摘要:

我们考虑了使用梯度下降在大数据集上训练最小二乘回归模型的问题。计算是在由一个主节点和多个工作节点组成的分布式系统上进行的。由于存在运行缓慢的机器(掉队者)以及各种通信瓶颈,这种分布式系统的速度显着降低。我们提出了“多项式编码回归”(PCR),大大减少了掉队者的影响,减轻了在这样的系统中的通信负担。PCR的关键思想是对存储在每个工作者中的部分数据进行编码,这样工作者的计算可以被视为在不同点上评估多项式。这允许主设备通过插值该多项式来计算最终梯度。PCR显著降低了恢复阈值,恢复阈值定义为主节点在计算梯度之前必须等待的工作节点的数量。特别是,PCR需要一个恢复阈值,该阈值与每个工作者可用的计算/存储量成反比。相比之下,最先进的掉队者缓解方案需要高得多的恢复阈值,该恢复阈值仅在每个工作者计算/存储负载中线性降低。我们证明,PCR的恢复阈值是接近最小的,并在一个因素内的最佳方案。在Amazon EC2上进行的实验表明,与现有方案相比,PCR在自然离散情况下的运行时间提高了1.50倍~ 2.36倍,在人工离散情况下的运行时间提高了2.58倍~ 4.29倍。

英文摘要:

We consider the problem of training a least-squares regression model on a large dataset using gradient descent. The computation is carried out on a distributed system consisting of a master node and multiple worker nodes. Such distributed systems are significantly slowed down due to the presence of slow-running machines (stragglers) as well as various communication bottlenecks. We propose "polynomially coded regression" (PCR) that substantially reduces the effect of stragglers and lessens the communication burden in such systems. The key idea of PCR is to encode the partial data stored at each worker, such that the computations at the workers can be viewed as evaluating a polynomial at distinct points. This allows the master to compute the final gradient by interpolating this polynomial. PCR significantly reduces the recovery threshold, defined as the number of workers the master has to wait for prior to computing the gradient. In particular, PCR requires a recovery threshold that scales inversely proportionally with the amount of computation/storage available at each worker. In comparison, state-of-the-art straggler-mitigation schemes require a much higher recovery threshold that only decreases linearly in the per worker computation/storage load. We prove that PCR's recovery threshold is near minimal and within a factor two of the best possible scheme. Our experiments over Amazon EC2 demonstrate that compared with state-of-the-art schemes, PCR improves the run-time by 1.50x ~ 2.36x with naturally occurring stragglers, and by as much as 2.58x ~ 4.29x with artificial stragglers.

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

↑