GradiVeQ: Vector Quantization for Bandwidth-Efficient Gradient Aggregation in Distributed CNN Training

By Mingchao Yu, Zhifeng Lin, Krishnagiri Narra, Songze Li, Youjie Li, Nam Sung Kim, Alexander Gerhard Schwing, Murali Annavaram, Amir Salman Avestimehr. 2018

70 citations recorded by the source corpus.

Data parallelism can boost the training speed of convolutional neural networks (CNN), but could suffer from significant communication costs caused by gradient aggregation. To alleviate this problem, several scalar quantization techniques have been developed to compress the gradients. But these techniques could perform poorly when used together with decentralized aggregation protocols like ring all-reduce (RAR), mainly due to their inability to directly aggregate compressed gradients. In this paper, we empirically demonstrate the strong linear correlations between CNN gradients, and propose a gradient vector quantization technique, named GradiVeQ, to exploit these correlations through principal component analysis (PCA) for substantial gradient dimension reduction. GradiVeQ enables direct aggregation of compressed gradients, hence allows us to build a distributed learning system that parallelizes GradiVeQ gradient compression and RAR communications. Extensive experiments on popular CNNs demonstrate that applying GradiVeQ slashes the wall-clock gradient aggregation time of the original RAR by more than 5X without noticeable accuracy loss, and reduces the end-to-end training time by almost 50%. The results also show that GradiVeQ is compatible with scalar quantization techniques such as QSGD (Quantized SGD), and achieves a much higher speed-up gain under the same compression ratio.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Neurology

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. Martin Jaggi
  2. Sai Praneeth Karimireddy
  3. Yuanming Shi
  4. Yuan Xie
  5. Guoqi Li
  6. Luping P. Shi
  7. Murali Annavaram
  8. By Lei Deng

In Computer Vision and Pattern Recognition

  1. Martin Jaggi
  2. Yuan Xie
  3. Sai Praneeth Karimireddy
  4. Guoqi Li
  5. Luping P. Shi
  6. By Lei Deng
  7. Song Han
  8. Tao Jiang

In Neurology

  1. Yuan Xie
  2. Song Han
  3. Khaled Ben Letaief
  4. Yuanming Shi

Citations in the corpus