Understanding Top-k Sparsification in Distributed Deep Learning

Shaohuai Shi, Xiaowen Chu, Ka Chun Cheung, Simon See
11/20/2019
cs.LGcs.DCstat.ML

Official code: hclhkbu/GaussianK-SGD (24 stars, Python, last commit 2019-11-15).

Abstract

Distributed stochastic gradient descent (SGD) algorithms are widely deployed in training large-scale deep learning models, while the communication overhead among workers becomes the new system bottleneck. Recently proposed gradient sparsification techniques, especially Top-$k$ sparsification with error compensation (TopK-SGD), can significantly reduce the communication traffic without an obvious impact on the model accuracy.

Show full abstract

Some theoretical studies have been carried out to analyze the convergence property of TopK-SGD. However, existing studies do not dive into the details of Top-$k$ operator in gradient sparsification and use relaxed bounds (e.g., exact bound of Random-$k$) for analysis; hence the derived results cannot well describe the real convergence performance of TopK-SGD. To this end, we first study the gradient distributions of TopK-SGD during the training process through extensive experiments. We then theoretically derive a tighter bound for the Top-$k$ operator. Finally, we exploit the property of gradient distribution to propose an approximate top-$k$ selection algorithm, which is computing-efficient for GPUs, to improve the scaling efficiency of TopK-SGD by significantly reducing the computing overhead. Codes are available at: \url{https://github.com/hclhkbu/GaussianK-SGD}.

View on arXivView PDF

Code Implementations(1)

Understanding Top-k Sparsification in Distributed Deep Learning

2412Python, ShellNov 15, 20197 years ago

Similar Papers

Cite this paper

@article{shi2019understanding,
  title  = {Understanding Top-k Sparsification in Distributed Deep Learning},
  author = {Shaohuai Shi and Xiaowen Chu and Ka Chun Cheung and Simon See},
  year   = {2019},
  eprint = {1911.08772},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.08772}
}

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/1911.08772.svg)](https://codeofpaper.com/paper/1911.08772)

Discussion