arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.01064cs.DCcs.LGcs.SYeess.SY
收藏

Hop:异质性感知的去中心化训练

Hop: Heterogeneity-Aware Decentralized Training

University of Southern California(南加州大学);Tsinghua University(清华大学)

Qinyi Luo, Jinkun Lin, Youwei Zhuo, Xuehai Qian

AI总结:

本文提出Hop,首个考虑异质性的去中心化训练协议,通过引入迭代间隙这一独特特性,提出基于队列的同步机制以实现备份工作者和有限滞后,同时通过跳过迭代来缓解确定性延迟,实验表明在异质环境中相比标准去中心化训练有显著加速。

摘要:

近期研究表明,在机器学习领域,去中心化算法在异质环境中相较于集中化算法能提供更优的性能。这两种方法的主要区别在于其不同的通信模式,两者在异质环境中都可能受到性能下降的影响。尽管已有大量努力支持集中化算法对抗异质性,但针对去中心化算法的相关研究却十分有限。本文提出Hop,首个异质性感知的去中心化训练协议。基于我们识别出的去中心化训练的一个独特特性,即迭代间隙,我们提出一种基于队列的同步机制,能够高效实现备份工作者和有限滞后。为了应对确定性延迟,我们提出跳过迭代,以进一步减轻较慢工作者的影响。我们基于TensorFlow构建了Hop的原型实现。在CNN和SVM上的实验结果表明,在异质环境中相比标准去中心化训练有显著的加速效果。

英文摘要:

Recent work has shown that decentralized algorithms can deliver superior performance over centralized ones in the context of machine learning. The two approaches, with the main difference residing in their distinct communication patterns, are both susceptible to performance degradation in heterogeneous environments. Although vigorous efforts have been devoted to supporting centralized algorithms against heterogeneity, little has been explored in decentralized algorithms regarding this problem. This paper proposes Hop, the first heterogeneity-aware decentralized training protocol. Based on a unique characteristic of decentralized training that we have identified, the iteration gap, we propose a queue-based synchronization mechanism that can efficiently implement backup workers and bounded staleness in the decentralized setting. To cope with deterministic slowdown, we propose skipping iterations so that the effect of slower workers is further mitigated. We build a prototype implementation of Hop on TensorFlow. The experiment results on CNN and SVM show significant speedup over standard decentralized training in heterogeneous settings.

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

↑