Litcius/Paper detail

2D-HRA: Two-Dimensional Hierarchical Ring-Based All-Reduce Algorithm in Large-Scale Distributed Machine Learning

Youhe Jiang, Huaxi Gu, Yunfeng Lu, Xiaoshan Yu

2020IEEE Access17 citationsDOIOpen Access PDF

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.

Topics & Concepts

Computer scienceLatency (audio)Synchronization (alternating current)Process (computing)Scale (ratio)Parallel computingDistributed computingLow latency (capital markets)AlgorithmComputer networkTelecommunicationsQuantum mechanicsPhysicsOperating systemChannel (broadcasting)Advanced Memory and Neural ComputingFerroelectric and Negative Capacitance DevicesStochastic Gradient Optimization Techniques