Beyond Data and Model Parallelism for Deep Neural Networks

By Matei A. Zaharia, A. Aiken. 2018

624 citations recorded by the source corpus.

The computational requirements for training deep neural networks (DNNs) have grown to the point that it is now standard practice to parallelize training. Existing deep learning systems commonly use data or model parallelism, but unfortunately, these strategies often result in suboptimal parallelization performance. In this paper, we define a more comprehensive search space of parallelization strategies for DNNs called SOAP, which includes strategies to parallelize a DNN in the Sample, Operation, Attribute, and Parameter dimensions. We also propose FlexFlow, a deep learning framework that uses guided randomized search of the SOAP space to find a fast parallelization strategy for a specific parallel machine. To accelerate this search, FlexFlow introduces a novel execution simulator that can accurately predict a parallelization strategy's performance and is three orders of magnitude faster than prior approaches that have to execute each strategy. We evaluate FlexFlow with six real-world DNN benchmarks on two GPU clusters and show that FlexFlow can increase training throughput by up to 3.8x over state-of-the-art approaches, even when including its search time, and also improves scalability.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Hardware and Architecture, Model Architectures

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. Jianfeng Gao
  3. Luke S. Zettlemoyer
  4. Graham Neubig
  5. Mohit Bansal
  6. Zhiyuan Liu
  7. Furu Wei
  8. Percy Liang

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Quoc V. Le
  3. Dacheng Tao
  4. Yi Yang
  5. Xiaogang Wang
  6. Trevor Darrell
  7. Ming-Hsuan Yang
  8. Alan L. Yuille

In Hardware and Architecture

  1. Chien-chin Huang
  2. Ferdinand Kossmann
  3. Matei A. Zaharia
  4. Gu-Yeon Wei
  5. David M. Brooks
  6. Jinyang Li
  7. Yanping Huang
  8. A. Aiken

In Model Architectures

  1. Myle Ott
  2. Orhan Firat
  3. Xipeng Qiu
  4. Yang Liu
  5. Noam Shazeer
  6. Yonghui Wu
  7. Ping Luo
  8. Matei A. Zaharia

Citations in the corpus