arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.07848cs.DCcs.LG
收藏

非IID数据分布式异步训练的全局动量梯度调度

Gradient Scheduling with Global Momentum for Non-IID Data Distributed Asynchronous Training

Chengjie Li, Ruixuan Li, Haozhao Wang, Yuhua Li, Pan Zhou, Song Guo, Keqin Li

摘要:

分布式异步离线训练由于其在大规模数据和复杂模型上的高性能,近年来受到广泛关注。随着数据从云中心分布到边缘节点,分布式机器学习系统面临的一个巨大挑战是如何处理原生和自然的非独立同分布(非IID)数据进行训练。以往的异步训练方法在非IID数据上表现不佳,因为这会导致训练过程波动很大,从而导致异常收敛。针对非IID数据的分布式异步训练,提出了一种部分平均梯度和全局动量的梯度调度算法(GSGM)。我们的核心思想是将全局动量和局部平均值应用于调度后的有偏梯度,以使训练过程稳定。实验结果表明,对于相同实验条件下的非IID数据训练,基于流行优化算法的GSGM在Fashion-Mnist和CIFAR-10数据集上的训练稳定性提高了20%,准确率略有提高。同时,在CIFAR-100数据集上扩展分布式规模,导致稀疏数据分布时,GSGM可以在训练稳定性上提高37%。此外,只有GSGM可以很好地收敛时,计算节点的数量增长到30,相比最先进的分布式异步算法。同时,GSGM对不同程度的非IID数据具有鲁棒性。

英文摘要:

Distributed asynchronous offline training has received widespread attention in recent years because of its high performance on large-scale data and complex models. As data are distributed from cloud-centric to edge nodes, a big challenge for distributed machine learning systems is how to handle native and natural non-independent and identically distributed (non-IID) data for training. Previous asynchronous training methods do not have a satisfying performance on non-IID data because it would result in that the training process fluctuates greatly which leads to an abnormal convergence. We propose a gradient scheduling algorithm with partly averaged gradients and global momentum (GSGM) for non-IID data distributed asynchronous training. Our key idea is to apply global momentum and local average to the biased gradient after scheduling, in order to make the training process steady. Experimental results show that for non-IID data training under the same experimental conditions, GSGM on popular optimization algorithms can achieve a 20% increase in training stability with a slight improvement in accuracy on Fashion-Mnist and CIFAR-10 datasets. Meanwhile, when expanding distributed scale on CIFAR-100 dataset that results in sparse data distribution, GSGM can perform a 37% improvement on training stability. Moreover, only GSGM can converge well when the number of computing nodes grows to 30, compared to the state-of-the-art distributed asynchronous algorithms. At the same time, GSGM is robust to different degrees of non-IID data.

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

↑