arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.05766cs.DC
收藏

异构网络上通信高效的分散式机器学习

Communication-efficient Decentralized Machine Learning over Heterogeneous Networks

Pan Zhou, Qian Lin, Dumitrel Loghin, Beng Chin Ooi, Yuncheng Wu, Hongfang Yu

摘要:

在过去几年中,分布式机器学习通常在异构网络上执行,例如多租户集群内的局域网或连接数据中心和边缘集群的广域网。在这些异构网络中,工作节点之间的链路速度变化很大,这使得最先进的机器学习方法难以执行有效的训练。集中式和分散式的培训方法都受到低速链接的影响。在本文中,我们提出了一种分散的方法,即NetMax,它使工作节点能够通过高速链路进行通信,从而大大加快了训练过程。NetMax具有以下新特性。首先,它由一种新的共识算法组成,该算法允许工作节点在其本地数据集上异步地训练模型副本,并通过对等通信交换信息以同步其本地副本,而不是中央主节点(即,参数服务器)。其次,每个工作节点随机选择一个对等节点,并在每次迭代中以微调的概率交换信息。特别地,具有高速链路的对等体以高概率被选择。第三,选择节点的概率设计,以最小化总的收敛时间。此外,我们从数学上证明了NetMax的收敛性。我们在异构集群网络上对NetMax进行了评估,结果表明,与最先进的分散式训练方法Prague,Allreduce-SGD和AD-PSGD相比,它分别实现了3.7X,3.4X和1.9X的加速比。

英文摘要:

In the last few years, distributed machine learning has been usually executed over heterogeneous networks such as a local area network within a multi-tenant cluster or a wide area network connecting data centers and edge clusters. In these heterogeneous networks, the link speeds among worker nodes vary significantly, making it challenging for state-of-the-art machine learning approaches to perform efficient training. Both centralized and decentralized training approaches suffer from low-speed links. In this paper, we propose a decentralized approach, namely NetMax, that enables worker nodes to communicate via high-speed links and, thus, significantly speed up the training process. NetMax possesses the following novel features. First, it consists of a novel consensus algorithm that allows worker nodes to train model copies on their local dataset asynchronously and exchange information via peer-to-peer communication to synchronize their local copies, instead of a central master node (i.e., parameter server). Second, each worker node selects one peer randomly with a fine-tuned probability to exchange information per iteration. In particular, peers with high-speed links are selected with high probability. Third, the probabilities of selecting peers are designed to minimize the total convergence time. Moreover, we mathematically prove the convergence of NetMax. We evaluate NetMax on heterogeneous cluster networks and show that it achieves speedups of 3.7X, 3.4X, and 1.9X in comparison with the state-of-the-art decentralized training approaches Prague, Allreduce-SGD, and AD-PSGD, respectively.

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

↑