arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.15259cs.LGmath.OCstat.ML
收藏

可扩展的具有传送机制的分散式学习

Scalable Decentralized Learning with Teleportation

Kyoto University(京都大学);OIST(冲绳科学技术大学院大学);CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心)

Yuki Takezawa, Sebastian U. Stich

AI总结:

提出TELEPORTATION方法,通过仅激活部分节点并在小拓扑上进行参数交换,完全消除分散式SGD在大规模节点下的收敛速度下降,并提升训练稳定性与准确率。

摘要:

分散式随机梯度下降(Decentralized SGD)可以以较低的通信成本运行,但其稀疏的通信特性会恶化收敛速度,尤其是在节点数量较多的情况下。在分散式学习设置中,通信被假定仅发生在给定的拓扑结构上,而在许多实际场景中,该拓扑结构仅仅代表一种偏好的通信模式,连接到任意节点仍然是可能的。以往的研究试图通过设计具有较大谱间隙的拓扑结构来缓解这些情况下的收敛速度下降问题。然而,当节点数量较大时,性能下降仍然显著。在这项工作中,我们提出了TELEPORTATION(传送机制)。TELEPORTATION仅激活一部分节点,被激活的节点从先前激活的节点获取参数。然后,被激活的节点通过SGD更新其参数,并仅在一个由激活节点组成的相对较小的拓扑结构上进行八卦平均(gossip averaging)。我们证明,通过仅激活适当数量的节点,TELEPORTATION可以完全消除收敛速度的下降。此外,我们提出了一种高效的超参数调优方法,以搜索应激活的适当节点数量。实验表明,与分散式SGD相比,TELEPORTATION能够更稳定地训练神经网络并获得更高的准确率。

英文摘要:

Decentralized SGD can run with low communication costs, but its sparse communication characteristics deteriorate the convergence rate, especially when the number of nodes is large. In decentralized learning settings, communication is assumed to occur on only a given topology, while in many practical cases, the topology merely represents a preferred communication pattern, and connecting to arbitrary nodes is still possible. Previous studies have tried to alleviate the convergence rate degradation in these cases by designing topologies with large spectral gaps. However, the degradation is still significant when the number of nodes is substantial. In this work, we propose TELEPORTATION. TELEPORTATION activates only a subset of nodes, and the active nodes fetch the parameters from previous active nodes. Then, the active nodes update their parameters by SGD and perform gossip averaging on a relatively small topology comprising only the active nodes. We show that by activating only a proper number of nodes, TELEPORTATION can completely alleviate the convergence rate degradation. Furthermore, we propose an efficient hyperparameter-tuning method to search for the appropriate number of nodes to be activated. Experimentally, we showed that TELEPORTATION can train neural networks more stably and achieve higher accuracy than Decentralized SGD.

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

↑