PipeMare: Asynchronous Pipeline Parallel DNN Training

By Bowen Yang, Jian Zhang, Christopher R'e, Christopher R. Aberger, Christopher De Sa. 2019

136 citations recorded by the source corpus.

Recently there has been a flurry of interest around using pipeline parallelism while training neural networks. Pipeline parallelism enables larger models to be partitioned spatially across chips and within a chip, leading to both lower network communication and overall higher hardware utilization. Unfortunately, to preserve statistical efficiency, existing pipeline-parallelism techniques sacrifice hardware efficiency by introducing bubbles into the pipeline and/or incurring extra memory costs. In this paper, we investigate to what extent these sacrifices are necessary. Theoretically, we derive a simple but robust training method, called PipeMare, that tolerates asynchronous updates during pipeline-parallel execution. Using this, we show empirically, on a ResNet network and a Transformer network, that PipeMare can achieve final model qualities that match those of synchronous training techniques (at most 0.9% worse test accuracy and 0.3 better test BLEU score) while either using up to 2.0X less weight and optimizer memory or being up to 3.3X faster than other pipeline parallel training techniques. To the best of our knowledge we are the first to explore these techniques and fine-grained pipeline parallelism (e.g. the number of pipeline stages equals to the number of layers) during neural network training.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Optimization & Training

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. Bryan Catanzaro
  2. Quoc V. Le
  3. Matei A. Zaharia
  4. Mohammad Shoeybi
  5. Jianfeng Gao
  6. Yonghui Wu
  7. Jinyu Li
  8. Ping Luo

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Xiaogang Wang
  4. Ming-Hsuan Yang
  5. Andrew Zisserman
  6. Quoc V. Le
  7. Jitendra Malik
  8. Yi Yang

In Optimization & Training

  1. Mohammad Shoeybi
  2. Bryan Catanzaro
  3. M. Patwary
  4. Matei A. Zaharia
  5. Vitaliy Chiley
  6. Atli Kosson
  7. Abhinav Venigalla
  8. Jinliang Wei

Citations in the corpus