利用模型碎片化提升异步去中心化学习
Boosting Asynchronous Decentralized Learning with Model Fragmentation
AI总结:
提出异步去中心化学习算法DivShare,通过模型碎片化并行传输参数子集应对通信掉队者,理论证明其收敛性,实验显示在CIFAR-10等数据集上显著降低时间至准确率并提升准确率。
摘要:
去中心化学习(Decentralized learning, DL)是一种新兴技术,允许网络上的节点在不共享原始数据的情况下协作训练机器学习模型。处理掉队者(即计算或通信速度慢于其他节点的节点)是DL中的一个关键挑战。我们提出了DivShare,一种新颖的异步DL算法,能够在存在通信掉队者的情况下实现快速的模型收敛。DivShare通过让节点将其模型碎片化为参数子集,并在计算的同时并行地将每个子集发送给其他节点的随机样本,而不是顺序交换完整模型来实现这一点。较小碎片的传输允许更有效地利用集体带宽,并使具有慢速网络链接的节点能够快速贡献至少部分模型参数。通过理论证明DivShare的收敛性,据我们所知,我们为考虑了带有延迟的异步通信影响的DL算法提供了首个正式的收敛证明。我们在两个标准数据集CIFAR-10和MovieLens上,针对两个最先进的DL基线AD-PSGD和Swift对DivShare进行了实验评估。我们发现,在CIFAR-10数据集上,存在通信掉队者的情况下,与AD-PSGD相比,DivShare将达到准确率的时间最多降低了3.9倍。与基线相比,DivShare在CIFAR-10和MovieLens数据集上分别实现了高达19.4%的更好准确率和9.5%的更低测试损失。
英文摘要:
Decentralized learning (DL) is an emerging technique that allows nodes on the web to collaboratively train machine learning models without sharing raw data. Dealing with stragglers, i.e., nodes with slower compute or communication than others, is a key challenge in DL. We present DivShare, a novel asynchronous DL algorithm that achieves fast model convergence in the presence of communication stragglers. DivShare achieves this by having nodes fragment their models into parameter subsets and send, in parallel to computation, each subset to a random sample of other nodes instead of sequentially exchanging full models. The transfer of smaller fragments allows more efficient usage of the collective bandwidth and enables nodes with slow network links to quickly contribute with at least some of their model parameters. By theoretically proving the convergence of DivShare, we provide, to the best of our knowledge, the first formal proof of convergence for a DL algorithm that accounts for the effects of asynchronous communication with delays. We experimentally evaluate DivShare against two state-of-the-art DL baselines, AD-PSGD and Swift, and with two standard datasets, CIFAR-10 and MovieLens. We find that DivShare with communication stragglers lowers time-to-accuracy by up to 3.9x compared to AD-PSGD on the CIFAR-10 dataset. Compared to baselines, DivShare also achieves up to 19.4% better accuracy and 9.5% lower test loss on the CIFAR-10 and MovieLens datasets, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。