MATCHA: 通过匹配分解采样加速去中心化SGD
MATCHA: Speeding Up Decentralized SGD via Matching Decomposition Sampling
AI总结:
该研究提出MATCHA算法,通过匹配分解采样在去中心化SGD中实现误差与运行时间的双赢,验证了其在各种数据集和深度神经网络上的有效性,证明其比传统去中心化SGD快5倍。
摘要:
本文研究了在基于随机梯度下降(SGD)的去中心化训练中常见的误差-运行时间权衡问题。尽管更密集(稀疏)的网络拓扑会导致迭代更快(更慢)的误差收敛,但会带来更多的(更少)每次迭代的通信时间/延迟。本文提出MATCHA算法,能够在任意任意网络拓扑中实现误差-运行时间的双赢。MATCHA的主要思想是通过将拓扑分解为匹配来并行化节点间通信。为了保持快速的误差收敛速度,它识别并频繁通过关键链接进行通信,并通过较少使用其他链接来节省通信时间。在一系列数据集和深度神经网络上的实验验证了理论分析,并证明MATCHA在达到相同训练损失时比传统去中心化SGD快多达5倍。
英文摘要:
This paper studies the problem of error-runtime trade-off, typically encountered in decentralized training based on stochastic gradient descent (SGD) using a given network. While a denser (sparser) network topology results in faster (slower) error convergence in terms of iterations, it incurs more (less) communication time/delay per iteration. In this paper, we propose MATCHA, an algorithm that can achieve a win-win in this error-runtime trade-off for any arbitrary network topology. The main idea of MATCHA is to parallelize inter-node communication by decomposing the topology into matchings. To preserve fast error convergence speed, it identifies and communicates more frequently over critical links, and saves communication time by using other links less frequently. Experiments on a suite of datasets and deep neural networks validate the theoretical analyses and demonstrate that MATCHA takes up to $5\times$ less time than vanilla decentralized SGD to reach the same training loss.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。