Integrated Model, Batch, and Domain Parallelism in Training Neural Networks

By A. Gholami, Ariful Azad, Peter H. Jin, Kurt Keutzer, Aydin Buluç. 2017

88 citations recorded by the source corpus.

We propose a new integrated method of exploiting model, batch and domain parallelism for the training of deep neural networks (DNNs) on large distributed-memory computers using minibatch stochastic gradient descent (SGD). Our goal is to find an efficient parallelization strategy for a fixed batch size using P processes. Our method is inspired by the communication-avoiding algorithms in numerical linear algebra. We see P processes as logically divided into a P_r x P_c grid where the P_r dimension is implicitly responsible for model/domain parallelism and the P_c dimension is implicitly responsible for batch parallelism. In practice, the integrated matrix-based parallel algorithm encapsulates these types of parallelism automatically. We analyze the communication complexity and analytically demonstrate that the lowest communication costs are often achieved neither with pure model nor with pure data parallelism. We also show how the domain parallel approach can help in extending the theoretical scaling limit of the typical batch parallel method.

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. Quoc V. Le
  2. Torsten Hoefler
  3. Tal Ben-Nun
  4. Kurt Keutzer
  5. Jianfeng Gao
  6. Ashish Vaswani
  7. Mohit Bansal
  8. Niki Parmar

In Computer Vision and Pattern Recognition

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

In Optimization & Training

  1. Torsten Hoefler
  2. Tal Ben-Nun
  3. Kurt Keutzer
  4. HyoukJoong Lee
  5. Ashish Vaswani
  6. Blake A. Hechtman
  7. Andrei Ivanov
  8. Noam Shazeer

Citations in the corpus