Unbiased Single-scale and Multi-scale Quantizers for Distributed Optimization

S Vineeth
9/26/2021
cs.LGcs.DCcs.IT

Official code: vineeths96/Gradient-Compression (10 stars, Python, MIT, PyTorch, last commit 2021-11-14).

Abstract

Massive amounts of data have led to the training of large-scale machine learning models on a single worker inefficient. Distributed machine learning methods such as Parallel-SGD have received significant interest as a solution to tackle this problem.

Show full abstract

However, the performance of distributed systems does not scale linearly with the number of workers due to the high network communication cost for synchronizing gradients and parameters. Researchers have proposed techniques such as quantization and sparsification to alleviate this problem by compressing the gradients. Most of the compression schemes result in compressed gradients that cannot be directly aggregated with efficient protocols such as all-reduce. In this paper, we present a set of all-reduce compatible gradient compression schemes which significantly reduce the communication overhead while maintaining the performance of vanilla SGD. We present the results of our experiments with the CIFAR10 dataset and observations derived during the process. Our compression methods perform better than the in-built methods currently offered by the deep learning frameworks. Code is available at the repository: \url{https://github.com/vineeths96/Gradient-Compression}.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

We present a set of all-reduce compatible gradient compression algorithms which significantly reduce the communication overhead while maintaining the performance of vanilla SGD. We empirically evaluate the performance of the compression methods by training deep neural networks on the CIFAR10 dataset.

103Python, C++Jun 9, 20205 years agoMIT
deep-learningdistributed-optimizationfederated-learninggradient-compressionlarge-scale+2 more

Similar Papers

Cite this paper

@article{vineeth2021unbiased,
  title  = {Unbiased Single-scale and Multi-scale Quantizers for Distributed Optimization},
  author = {S Vineeth},
  year   = {2021},
  eprint = {2109.12497},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.12497}
}

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

Discussion