Proceedings

A Convergence Analysis of Distributed SGD with Communication-Efficient Gradient Sparsification

Download BibTeX Cite

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. Main track. Pages 3411-3417.

https://doi.org/10.24963/ijcai.2019/473

Abstract

Gradient sparsification is a promising technique to significantly reduce the communication overhead in decentralized synchronous stochastic gradient descent (S-SGD) algorithms. Yet, many existing gradient sparsification schemes (e.g., Top-k sparsification) have a communication complexity of O(kP), where k is the number of selected gradients by each worker and P is the number of workers. Recently, the gTop-k sparsification scheme has been proposed to reduce the communication complexity from O(kP) to O(k logP), which significantly boosts the system scalability. However, it remains unclear whether the gTop-k sparsification scheme can converge in theory. In this paper, we first provide theoretical proofs on the convergence of the gTop-k scheme for non-convex objective functions under certain analytic assumptions. We then derive the convergence rate of gTop-k S-SGD, which is at the same order as the vanilla mini-batch SGD. Finally, we conduct extensive experiments on different machine learning models and data sets to verify the soundness of the assumptions and theoretical results, and discuss the impact of the compression ratio on the convergence performance.

  1. [Acero, 1990] Alejandro Acero. Acoustical and environ- mental robustness in automatic speech recognition. In ICASSP, 1990.
  2. [Aji and Heafield, 2017] Alham Fikri Aji and Kenneth Heafield. Sparse communication for distributed gradient descent. In EMNLP, pages 440-445, 2017.
  3. [Alistarh et al., 2017] Dan Alistarh, Demjan Grubic, Jerry Li, et al. QSGD: Communication-efficient SGD via gradi- ent quantization and encoding. In NIPS, pages 1709-1720, 2017.
  4. [Alistarh et al., 2018] Dan Alistarh, Torsten Hoefler, Mikael Johansson, et al. The convergence of sparsified gradient methods. In NeurIPS, pages 5977-5987, 2018.
  5. [Awan et al., 2017] Ammar Ahmad Awan, Khaled Hami- douche, Jahanzeb Maqbool Hashmi, et al. S-Caffe: Co- designing MPI runtimes and Caffe for scalable deep learn- ing on modern GPU clusters. In PPoPP, pages 193-205. ACM, 2017.
  6. [Bernstein et al., 2018] Jeremy Bernstein, Yu-Xiang Wang, Kamyar Azizzadenesheli, et al. signSGD: compressed op- timisation for non-convex problems. In ICML, pages 559- 568, 2018.
  7. [Bottou et al., 2018] Léon Bottou, Frank E Curtis, and Jorge Nocedal. Optimization methods for large-scale machine learning. Siam Review, 60(2):223-311, 2018.
  8. [Chen et al., 2018] Chia-Yu Chen, Jungwook Choi, Daniel Brand, et al. Adacomp: Adaptive residual gradient com- pression for data-parallel distributed training. In AAAI, pages 2827-2835, 2018.
  9. [Chen et al., 2019] Chen Chen, Wei Wang, and Bo Li. Round-robin synchronization: Mitigating communication bottlenecks in parameter servers. In IEEE INFOCOM, 2019.
  10. [Dean et al., 2012] Jeffrey Dean, Greg Corrado, Rajat Monga, et al. Large scale distributed deep networks. In NIPS, pages 1223-1231, 2012.
  11. [Dekel et al., 2012] Ofer Dekel, Ran Gilad-Bachrach, Ohad Shamir, et al. Optimal distributed online prediction us- ing mini-batches. Journal of Machine Learning Research, 13(Jan):165-202, 2012.
  12. [Goyal et al., 2017] Priya Goyal, Piotr Dollár, Ross Gir- shick, et al. Accurate, large minibatch SGD: training Ima- geNet in 1 hour. arXiv preprint arXiv:1706.02677, 2017.
  13. [Haddadpour et al., 2019] Farzin Haddadpour, Moham- mad Mahdi Kamani, Mehrdad Mahdavi, et al. Trading redundancy for communication: Speeding up distributed SGD for non-convex optimization. In ICML, pages 2545-2554, 2019.
  14. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, et al. Deep residual learning for image recognition. In CVPR, pages 770-778, 2016.
  15. [Jia et al., 2018] Xianyan Jia, Shutao Song, Shaohuai Shi, et al. Highly scalable deep learning training system with mixed-precision: Training ImageNet in four minutes. In NeurIPS Workshop MLSys, 2018.
  16. [Jiang and Agrawal, 2018] Peng Jiang and Gagan Agrawal. A linear speedup analysis of distributed deep learning with sparse and quantized communication. In NeurIPS, pages 2530-2541, 2018.
  17. [Lin et al., 2018] Yujun Lin, Song Han, Huizi Mao, et al. Deep gradient compression: Reducing the communication bandwidth for distributed training. In ICLR, 2018.
  18. [Marcus et al., 1993] Mitchell P Marcus, Mary Ann Marcinkiewicz, and Beatrice Santorini. Building a large annotated corpus of English: The Penn Treebank. Computational linguistics, 19(2):313-330, 1993.
  19. [Renggli et al., 2018] Cèdric Renggli, Dan Alistarh, and Torsten Hoefler. SparCML: High-performance sparse communication for machine learning. arXiv preprint arXiv:1802.08021, 2018.
  20. [Shi et al., 2018] Shaohuai Shi, Wang Qiang, and Xiaowen Chu. Performance modeling and evaluation of distributed deep learning frameworks on GPUs. In IEEE DataCom, pages 949-957, 2018.
  21. [Shi et al., 2019a] Shaohuai Shi, Xiaowen Chu, and Bo Li. MG-WFBP: Efficient data communication for distributed synchronous SGD algorithms. In IEEE INFOCOM, 2019.
  22. [Shi et al., 2019b] Shaohuai Shi, Qiang Wang, Kaiyong Zhao, et al. A distributed synchronous SGD algorithm with global Top-k sparsification for low bandwidth net- works. In IEEE ICDCS, 2019.
  23. [Simonyan and Zisserman, 2014] Karen Simonyan and An- drew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
  24. [Stich et al., 2018] Sebastian U Stich, Jean-Baptiste Cordon- nier, and Martin Jaggi. Sparsified SGD with memory. In NeurIPS, pages 4452-4463, 2018.
  25. [Wang et al., 2018] Hongyi Wang, Scott Sievert, Shengchao Liu, et al. Atomo: Communication-efficient learning via atomic sparsification. In NeurIPS, pages 9850-9861, 2018.
  26. [Wangni et al., 2018] Jianqiao Wangni, Jialei Wang, Ji Liu, et al. Gradient sparsification for communication-efficient distributed optimization. In NeurIPS, pages 1306-1316, 2018.
  27. [Wen et al., 2017] Wei Wen, Cong Xu, Feng Yan, et al. Tern- grad: Ternary gradients to reduce communication in dis- tributed deep learning. In NIPS, pages 1509-1519, 2017.
  28. [Wu et al., 2018] Jiaxiang Wu, Weidong Huang, Junzhou Huang, et al. Error compensated quantized SGD and its applications to large-scale distributed optimization. In ICML, pages 5321-5329, 2018.
  29. [Zhang et al., 2017] Hao Zhang, Zeyu Zheng, Shizhen Xu, et al. Poseidon: an efficient communication architecture for distributed deep learning on GPU clusters. In USENIX ATC, pages 181-193, 2017.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards