Skip to main content
QUICK REVIEW

[Paper Review] Decentralized Deep Learning with Arbitrary Communication Compression

Anastasia Koloskova, Tao Lin|arXiv (Cornell University)|Jul 22, 2019
Privacy-Preserving Technologies in DataComputer Science58 references31 citations
TL;DR

This paper proposes Choco-SGD, a decentralized stochastic gradient descent algorithm that enables arbitrary communication compression—such as quantization and sparsification—while achieving linear speedup in the number of workers for non-convex deep learning. It proves convergence at rate $\mathcal{O}(1/\sqrt{nT} + 1/((\rho^2\delta T)^{2/3}))$, where $n$ is the number of workers, $T$ iterations, $\rho$ spectral gap, and $\delta$ compression ratio, with empirical validation showing significant communication reduction and improved time-to-accuracy in peer-to-peer and datacenter settings.

ABSTRACT

Decentralized training of deep learning models is a key element for enabling data privacy and on-device learning over networks, as well as for efficient scaling to large compute clusters. As current approaches suffer from limited bandwidth of the network, we propose the use of communication compression in the decentralized training context. We show that Choco-SGD $-$ recently introduced and analyzed for strongly-convex objectives only $-$ converges under arbitrary high compression ratio on general non-convex functions at the rate $O\bigl(1/\sqrt{nT}\bigr)$ where $T$ denotes the number of iterations and $n$ the number of workers. The algorithm achieves linear speedup in the number of workers and supports higher compression than previous state-of-the art methods. We demonstrate the practical performance of the algorithm in two key scenarios: the training of deep learning models (i) over distributed user devices, connected by a social network and (ii) in a datacenter (outperforming all-reduce time-wise).

Motivation & Objective

  • To address the limitation of existing decentralized training methods that restrict compression operators and fail to scale with high compression ratios.
  • To enable efficient, communication-efficient decentralized training in resource-constrained environments such as on-device learning and large-scale datacenters.
  • To demonstrate that arbitrary compression can be used without sacrificing convergence or model generalization in non-convex deep learning.
  • To investigate the scalability of decentralized training to large numbers of nodes and identify shared performance bottlenecks.

Proposed method

  • Choco-SGD extends the Choco-SGD framework from convex to non-convex settings, using a consensus-based gossip mechanism for gradient exchange.
  • It integrates arbitrary compression operators, including quantization (QSGD), sparsification (random/top-k), and sign-based compression with normalization.
  • The algorithm employs a momentum variant to improve convergence and generalization in practical settings.
  • It uses a consensus stepsize that balances compression error and gradient descent progress, with theoretical analysis showing convergence under general non-convex smooth functions.
  • The method is evaluated in two settings: a realistic peer-to-peer social network topology and a datacenter with ring/torus topologies.
  • Hyperparameters are tuned per compression scheme and topology to ensure fair comparison with baseline decentralized algorithms.

Experimental results

Research questions

  • RQ1Can arbitrary communication compression be used in decentralized deep learning without degrading convergence or generalization performance?
  • RQ2Does Choco-SGD achieve linear speedup in the number of workers under high compression ratios and non-IID data?
  • RQ3How does Choco-SGD perform in real-world decentralized settings such as on-device training over peer-to-peer networks?
  • RQ4What are the practical communication and time-to-accuracy trade-offs when scaling decentralized training to large numbers of nodes?
  • RQ5Why do decentralized schemes, including Choco-SGD, underperform centralized baselines when scaling to large node counts?

Key findings

  • Choco-SGD achieves linear speedup in the number of workers $n$ for non-convex functions, with the leading convergence term $\mathcal{O}(1/\sqrt{nT})$ matching centralized baselines.
  • The algorithm maintains high test accuracy even at 1-bit compression (e.g., sign+norm), with only a modest increase in training iterations compared to full-precision training.
  • In peer-to-peer training on a 32-node social network, Choco-SGD reduced transmitted bits by 95% compared to centralized training while achieving comparable test accuracy.
  • On ImageNet with ResNet-50, Choco-SGD achieved time-to-accuracy improvements in datacenter settings by reducing communication overhead.
  • Scaling to 64 nodes revealed that decentralized schemes, including Choco-SGD, require significantly more epochs than centralized training, indicating shared scalability limitations.
  • The performance gap in test accuracy between centralized and decentralized schemes persists at scale, highlighting an open challenge for decentralized learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.