D2: Decentralized Training over Decentralized Data

By Hanlin Tang, Xiangru Lian, Ming Yan, Ce Zhang, Ji Liu. 2018

401 citations recorded by the source corpus.

While training a machine learning model using multiple workers, each of which collects data from their own data sources, it would be most useful when the data collected from different workers can be {\em unique} and {\em different}. Ironically, recent analysis of decentralized parallel stochastic gradient descent (D-PSGD) relies on the assumption that the data hosted on different workers are {\em not too different}. In this paper, we ask the question: {\em Can we design a decentralized parallel stochastic gradient descent algorithm that is less sensitive to the data variance across workers?} In this paper, we present D$^2$, a novel decentralized parallel stochastic gradient descent algorithm designed for large data variance \xr{among workers} (imprecisely, "decentralized" data). The core of D$^2$ is a variance blackuction extension of the standard D-PSGD algorithm, which improves the convergence rate from $O\left({\sigma \over \sqrt{nT}} + {(n\zeta^2)^{\frac{1}{3}} \over T^{2/3}}\right)$ to $O\left({\sigma \over \sqrt{nT}}\right)$ where $\zeta^{2}$ denotes the variance among data on different workers. As a result, D$^2$ is robust to data variance among workers. We empirically evaluated D$^2$ on image classification tasks where each worker has access to only the data of a limited set of labels, and find that D$^2$ significantly outperforms D-PSGD.

Subfields: Artificial Intelligence, Computational Theory and Mathematics, Federated & Distributed Learning, 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. Martin Jaggi
  2. Peter Richtárik
  3. Sebastian U. Stich
  4. Ji Liu
  5. Nicolas Loizou
  6. Hanlin Tang
  7. Anastasia Koloskova
  8. Aurélien Bellet

In Computational Theory and Mathematics

  1. Xiangru Lian
  2. Ji Liu
  3. Shusen Wang
  4. Sebastian U. Stich
  5. Onur Mutlu
  6. Aurélien Bellet
  7. Dimitris Papailiopoulos
  8. Ce Zhang

In Federated & Distributed Learning

  1. Martin Jaggi
  2. Aurélien Bellet
  3. Hanlin Tang
  4. Anastasia Koloskova
  5. Ji Liu
  6. Sebastian U. Stich
  7. Tong Zhang
  8. Nicolas Loizou

In ML Systems & Hardware

  1. Sebastian U. Stich
  2. Martin Jaggi
  3. Hanlin Tang
  4. Nicolas Loizou
  5. Anastasia Koloskova
  6. Aurélien Bellet
  7. Tong Zhang
  8. Ji Liu

Citations in the corpus