2D-HRA: Two-Dimensional Hierarchical Ring-Based All-Reduce Algorithm in Large-Scale Distributed Machine Learning
Authors:
- Youhe JiangYJYouhe Jiang
- Huaxi GuHGHuaxi Gu
- Yunfeng LuYLYunfeng Lu
- Xiaoshan YuXYXiaoshan Yu
Open Access
- 1 January 2020
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 8, 183488-183494
Abstract
Gradient synchronization, a process of communication among machines in large-scale distributed machine learning (DML), plays a crucial role in improving DML performance. Since the scale of distributed clusters is continuously expanding, state-of-the-art DML synchronization algorithms suffer from latency for thousands of GPUs. In this article, we propose 2D-HRA, a two-dimensional hierarchical ring-based all-reduce algorithm in large-scale DML. 2D-HRA combines the ring with more latency-optimal hierarchical methods, and synchronizes parameters on two dimensions to make full use of the bandwidth. Simulation results show that 2D-HRA can efficiently alleviate the high latency and accelerate the synchronization process in large-scale clusters. Compared with traditional algorithms (ring based), 2D-HRA achieves up to 76.9% reduction in gradient synchronization time in clusters of different scale.Keywords
Funding Information
- National Key Research and Development Program of China (2018YFE0202800)
- National Natural Science Foundation of China (61634004, 61934002)
- Natural Science Foundation of Shaanxi Province for Distinguished Young Scholars (2020JC-26)
- Fundamental Research Funds for the Central Universities (JB190105)
- State Key Laboratory of Computer Architecture (CARCH201919)
- China Postdoctoral Science Foundation (2018M633465)
This publication has 10 references indexed in Scilit:
- Exhaustive Study of Hierarchical AllReduce Patterns for Large Messages Between GPUs2019
- Impact of Network Topology on the Performance of DML: Theoretical Analysis and Practical Factors2019
- Hierarchical Distributed-Memory Multi-Leader MPI-Allreduce for Deep Learning Workloads2018
- Neural Network Meets DCN2018
- HiPS2018
- Ako2016
- Deep Residual Learning for Image Recognition2016
- Scaling Distributed Machine Learning with the Parameter Server2014
- Large-Scale Machine Learning with Stochastic Gradient Descent2010
- ImageNet: A large-scale hierarchical image database2009