EventGraD:并行机器学习中的事件触发通信
EventGraD: Event-Triggered Communication in Parallel Machine Learning
摘要:
并行系统中的通信会带来很大的开销,这往往会成为并行机器学习的瓶颈。为了减轻一些这种开销,在本文中,我们提出了EventGraD -一个算法与事件触发的通信随机梯度下降并行机器学习。该算法的主要思想是将并行机器学习中的随机梯度下降的标准实现中的每次迭代时的通信要求修改为仅在某些迭代中必要时进行通信。我们提供了我们所提出的算法的收敛性的理论分析。我们还实现了所提出的算法,用于训练CIFAR-10数据集的流行残差神经网络的数据并行训练,并表明EventGraD可以减少高达60%的通信负载,同时保持相同的准确度。此外,EventGraD可以与其他方法(如Top-K稀疏化)结合使用,以在保持准确性的同时进一步减少通信。
英文摘要:
Communication in parallel systems imposes significant overhead which often turns out to be a bottleneck in parallel machine learning. To relieve some of this overhead, in this paper, we present EventGraD - an algorithm with event-triggered communication for stochastic gradient descent in parallel machine learning. The main idea of this algorithm is to modify the requirement of communication at every iteration in standard implementations of stochastic gradient descent in parallel machine learning to communicating only when necessary at certain iterations. We provide theoretical analysis of convergence of our proposed algorithm. We also implement the proposed algorithm for data-parallel training of a popular residual neural network used for training the CIFAR-10 dataset and show that EventGraD can reduce the communication load by up to 60% while retaining the same level of accuracy. In addition, EventGraD can be combined with other approaches such as Top-K sparsification to decrease communication further while maintaining accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。