arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1902.01981stat.MLcs.DCcs.ITcs.LGmath.ITstat.CO
收藏

CodedReduce:分布式学习中一个快速鲁棒的梯度聚合框架

CodedReduce: A Fast and Robust Framework for Gradient Aggregation in Distributed Learning

University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校);University of Southern California(南加利福尼亚大学)

Amirhossein Reisizadeh, Saurav Prakash, Ramtin Pedarsani, Amir Salman Avestimehr

摘要:

我们专注于常用的同步梯度下降范式的大规模分布式学习,有越来越多的兴趣,开发高效和强大的梯度聚合策略,克服两个关键的系统瓶颈:通信带宽和掉队者的延迟。特别地,已经提出了Ring-AllReduce(RAR)设计,以通过允许每个工作者仅与布置在逻辑环中的其邻居通信来避免任何特定节点处的带宽瓶颈。另一方面,最近已经提出了梯度编码(GC),以减轻在主-工人拓扑中的掉队者,通过允许精心设计的冗余分配的数据集的工人。我们提出了一个联合通信拓扑设计和数据集分配策略,命名为CodedReduce(CR),结合了RAR和GC的优点。也就是说,它并行的树拓扑结构,导致有效的带宽利用率的通信,并仔细设计了一个冗余的数据集分配和编码策略的节点,使所提出的梯度聚合计划的强大的掉队者。特别是,我们量化的通信并行化增益和弹性的建议CR计划,并证明其最优性时,通信拓扑结构是一个规则的树。此外,我们的CR的预期运行时间的特点,并显示顺序明智的加速比基准计划。最后,我们通过Amazon EC2实证评估了我们提出的CR设计的性能,并证明它分别比基准GC和RAR实现了高达27.2倍和7.0倍的加速比。

英文摘要:

We focus on the commonly used synchronous Gradient Descent paradigm for large-scale distributed learning, for which there has been a growing interest to develop efficient and robust gradient aggregation strategies that overcome two key system bottlenecks: communication bandwidth and stragglers' delays. In particular, Ring-AllReduce (RAR) design has been proposed to avoid bandwidth bottleneck at any particular node by allowing each worker to only communicate with its neighbors that are arranged in a logical ring. On the other hand, Gradient Coding (GC) has been recently proposed to mitigate stragglers in a master-worker topology by allowing carefully designed redundant allocation of the data set to the workers. We propose a joint communication topology design and data set allocation strategy, named CodedReduce (CR), that combines the best of both RAR and GC. That is, it parallelizes the communications over a tree topology leading to efficient bandwidth utilization, and carefully designs a redundant data set allocation and coding strategy at the nodes to make the proposed gradient aggregation scheme robust to stragglers. In particular, we quantify the communication parallelization gain and resiliency of the proposed CR scheme, and prove its optimality when the communication topology is a regular tree. Moreover, we characterize the expected run-time of CR and show order-wise speedups compared to the benchmark schemes. Finally, we empirically evaluate the performance of our proposed CR design over Amazon EC2 and demonstrate that it achieves speedups of up to 27.2x and 7.0x, respectively over the benchmarks GC and RAR.

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

↑