Asynchronous Decentralized Parallel Stochastic Gradient Descent

By Xiangru Lian, Ce Zhang, Ji Liu. 2017

561 citations recorded by the source corpus.

Most commonly used distributed machine learning systems are either synchronous or centralized asynchronous. Synchronous algorithms like AllReduce-SGD perform poorly in a heterogeneous environment, while asynchronous algorithms using a parameter server suffer from 1) communication bottleneck at parameter servers when workers are many, and 2) significantly worse convergence when the traffic to parameter server is congested. Can we design an algorithm that is robust in a heterogeneous environment, while being communication efficient and maintaining the best-possible convergence rate? In this paper, we propose an asynchronous decentralized stochastic gradient decent algorithm (AD-PSGD) satisfying all above expectations. Our theoretical analysis shows AD-PSGD converges at the optimal $O(1/\sqrt{K})$ rate as SGD and has linear speedup w.r.t. number of workers. Empirically, AD-PSGD outperforms the best of decentralized parallel SGD (D-PSGD), asynchronous parallel SGD (A-PSGD), and standard data parallel SGD (AllReduce-SGD), often by orders of magnitude in a heterogeneous environment. When training ResNet-50 on ImageNet with up to 128 GPUs, AD-PSGD converges (w.r.t epochs) similarly to the AllReduce-SGD, but each epoch can be up to 4-8X faster than its synchronous counterparts in a network-sharing HPC environment. To the best of our knowledge, AD-PSGD is the first asynchronous algorithm that achieves a similar epoch-wise convergence rate as AllReduce-SGD, at an over 100-GPU scale.

Subfields: Artificial Intelligence, Computational Mechanics, Optimization & Training, Federated & Distributed Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Peter Richtárik
  2. Martin Jaggi
  3. Sebastian U. Stich
  4. Jakub Konecný
  5. Jianyu Wang
  6. Qiang Yang
  7. Gauri Joshi
  8. Cong Xie

In Computational Mechanics

  1. Peter Richtárik
  2. Sebastian U. Stich
  3. Jakub Konecný
  4. Martin Jaggi
  5. Ji Liu
  6. Nicolas Loizou
  7. Hanlin Tang
  8. Tong Zhang

In Optimization & Training

  1. Peter Richtárik
  2. Sebastian U. Stich
  3. Martin Jaggi
  4. Jianyu Wang
  5. Jakub Konecný
  6. Gauri Joshi
  7. Cong Xie
  8. Aryan Mokhtari

In Federated & Distributed Learning

  1. Martin Jaggi
  2. Qiang Yang
  3. Jianyu Wang
  4. Chaoyang He
  5. Murali Annavaram
  6. Cong Xie
  7. Jakub Konecný
  8. Gauri Joshi

Citations in the corpus