HPSGD: Hierarchical Parallel SGD With Stale Gradients Featuring

Yuhao Zhou, Qing Ye, Hailun Zhang, Jiancheng Lv
9/6/2020
cs.LGstat.ML

Official code: Soptq/Hierarchical_Local_SGD (6 stars, Python, MIT, last commit 2020-09-27).

Abstract

While distributed training significantly speeds up the training process of the deep neural network (DNN), the utilization of the cluster is relatively low due to the time-consuming data synchronizing between workers. To alleviate this problem, a novel Hierarchical Parallel SGD (HPSGD) strategy is proposed based on the observation that the data synchronization phase can be paralleled with the local training phase (i.e., Feed-forward and back-propagation).

Show full abstract

Furthermore, an improved model updating method is unitized to remedy the introduced stale gradients problem, which commits updates to the replica (i.e., a temporary model that has the same parameters as the global model) and then merges the average changes to the global model. Extensive experiments are conducted to demonstrate that the proposed HPSGD approach substantially boosts the distributed DNN training, reduces the disturbance of the stale gradients and achieves better accuracy in given fixed wall-time.

View on arXivView PDF

Code Implementations(1)

MIT

Official Pytorch implementation of "HLSGD: Hierarchical Local SGD With Stale Gradients Featuring"

63PythonSep 1, 20206 years agoMIT

Similar Papers

Cite this paper

@article{zhou2020hpsgd,
  title  = {HPSGD: Hierarchical Parallel SGD With Stale Gradients Featuring},
  author = {Yuhao Zhou and Qing Ye and Hailun Zhang and Jiancheng Lv},
  year   = {2020},
  eprint = {2009.02701},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.02701}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.02701.svg)](https://codeofpaper.com/paper/2009.02701)

Discussion