ComputingComputer EngineeringComputer ScienceCluster ComputingParallel AlgorithmsParallel ComputingCommunication OverheadData SynchronizationDistributed ComputingDistributed Data ProcessingParallel Computing SystemsSynchronization PrimitivesDistributed Gpu ComputingGpu ArchitectureParameter Server ArchitectureParameter SynchronizationProcessing BottlenecksRefinementSynchronization In Parallel ComputationSynchronous Parallel Algorithms
Deep learning is usually performed in GPU clusters where each worker machine iteratively refines the model parameters by communicating the update with the Parameter Server (PS). More often than not, workers communicate in a synchronous manner, so as to avoid using out-of-dated parameters and make high-quality refinement in each iteration. However, as all workers synchronize with the PS simultaneously, the communication becomes a severe bottleneck. To address this problem, in this paper we propose the Round-Robin Synchronous Parallel (R <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> SP) scheme, which coordinates workers to make updates in an evenly-gapped, round-robin manner. This way, R <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> SP can minimize the network contention at a minimum cost of the refinement quality. We further extend R <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> SP to heterogeneous clusters by adaptively tuning the batch size of each worker based on its processing capability. We have implemented R <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> SP as a ready-to-use python library for status-quo deep learning frameworks. EC2 deployment in GPU clusters show that R <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> SP effectively mitigates the communication bottlenecks, accelerating the training of popular image classification models by up to 25%.
33
Deep Residual Learning for Image Recognition
Kaiming He, Xiangyu Zhang, Shaoqing Ren et al. · 2016 · 222.1K citations · Full text
ImageNet: A large-scale hierarchical image database
Jia Deng, Wei Dong, Richard Socher et al. · 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2009 · 61.8K citations
Sequence to Sequence Learning with Neural Networks
Ilya Sutskever, Oriol Vinyals, Quoc V. Le · arXiv (Cornell University) · 2014 · 13.4K citations · Full text
Computing, Computer Science, French +14