Can Decentralized Algorithms Outperform Centralized Algorithms? A Case Study for Decentralized Parallel Stochastic Gradient Descent

By Xiangru Lian, Ce Zhang, Huan Zhang, Cho-Jui Hsieh, Ji Liu. 2017

1,504 citations recorded by the source corpus.

Most distributed machine learning systems nowadays, including TensorFlow and CNTK, are built in a centralized fashion. One bottleneck of centralized algorithms lies on high communication cost on the central node. Motivated by this, we ask, can decentralized algorithms be faster than its centralized counterpart? Although decentralized PSGD (D-PSGD) algorithms have been studied by the control community, existing analysis and theory do not show any advantage over centralized PSGD (C-PSGD) algorithms, simply assuming the application scenario where only the decentralized network is available. In this paper, we study a D-PSGD algorithm and provide the first theoretical analysis that indicates a regime in which decentralized algorithms might outperform centralized algorithms for distributed stochastic gradient descent. This is because D-PSGD has comparable total computational complexities to C-PSGD but requires much less communication cost on the busiest node. We further conduct an empirical study to validate our theoretical analysis across multiple frameworks (CNTK and Torch), different network configurations, and computation platforms up to 112 GPUs. On network configurations with low bandwidth or high latency, D-PSGD can be up to one order of magnitude faster than its well-optimized centralized counterparts.

Subfields: Artificial Intelligence, Computer Networks and Communications, Optimization & Training, ML Systems & Hardware

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. Gauri Joshi
  7. Aryan Mokhtari
  8. Nicolas Loizou

In Computer Networks and Communications

  1. Martin Jaggi
  2. Aryan Mokhtari
  3. Angelia Nedić
  4. Nicolas Loizou
  5. Jianyu Wang
  6. Sebastian U. Stich
  7. Wotao Yin
  8. Peter Richtárik

In Optimization & Training

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

In ML Systems & Hardware

  1. Peter Richtárik
  2. Deepesh Data
  3. Ahmed Khaled
  4. Suhas N. Diggavi
  5. Jianyu Wang
  6. Martin Jaggi
  7. Sebastian U. Stich
  8. H. Vincent Poor

Citations in the corpus