Natural Compression for Distributed Deep Learning

By Samuel Horváth, Chen-Yu Ho, Ludovit Horvath, Atal Narayan Sahu, Marco Canini, Peter Richtárik. 2019

183 citations recorded by the source corpus.

Modern deep learning models are often trained in parallel over a collection of distributed machines to reduce training time. In such settings, communication of model updates among machines becomes a significant performance bottleneck and various lossy update compression techniques have been proposed to alleviate this problem. In this work, we introduce a new, simple yet theoretically and practically effective compression technique: {\em natural compression (NC)}. Our technique is applied individually to all entries of the to-be-compressed update vector and works by randomized rounding to the nearest (negative or positive) power of two, which can be computed in a "natural" way by ignoring the mantissa. We show that compared to no compression, NC increases the second moment of the compressed vector by not more than the tiny factor $\nicefrac{9}{8}$, which means that the effect of NC on the convergence speed of popular training algorithms, such as distributed SGD, is negligible. However, the communications savings enabled by NC are substantial, leading to {\em $3$-$4\times$ improvement in overall theoretical running time}. For applications requiring more aggressive compression, we generalize NC to {\em natural dithering}, which we prove is {\em exponentially better} than the common random dithering technique. Our compression operators can be used on their own or in combination with existing operators for a more aggressive combined effect, and offer new state-of-the-art both in theory and practice.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Efficiency & Compression, Federated & Distributed Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Peter Richtárik
  2. Martin Jaggi
  3. Jakub Konecný
  4. Sebastian U. Stich
  5. Qiang Yang
  6. Peter Kairouz
  7. Ananda Theertha Suresh
  8. H. Brendan McMahan

In Computer Vision and Pattern Recognition

  1. Jakub Konecný
  2. Sebastian U. Stich
  3. Peter Richtárik
  4. Jianyu Wang
  5. Martin Jaggi
  6. Gauri Joshi
  7. Oluwasanmi Koyejo
  8. Xun Qian

In Efficiency & Compression

  1. Peter Richtárik
  2. Medhi Bennis
  3. Jakub Konecný
  4. Oluwasanmi Koyejo
  5. Ananda Theertha Suresh
  6. Qiang Yang
  7. Martin Jaggi
  8. Mehryar Mohri

In Federated & Distributed Learning

  1. Qiang Yang
  2. Peter Richtárik
  3. Jianyu Wang
  4. Martin Jaggi
  5. Gauri Joshi
  6. Jakub Konecný
  7. Yang Liu
  8. Chaoyang He

Citations in the corpus