Highly Scalable Deep Learning Training System with Mixed-Precision: Training ImageNet in Four Minutes

By Xianyan Jia, Shutao Song, Wei He, Yangzihao Wang, Haidong Rong, Feihu Zhou, Liqiang Xie, Zhenyu Guo, Yuan Yang, Liwei Yu and 4 more. 2018

423 citations recorded by the source corpus.

Synchronized stochastic gradient descent (SGD) optimizers with data parallelism are widely used in training large-scale deep neural networks. Although using larger mini-batch sizes can improve the system scalability by reducing the communication-to-computation ratio, it may hurt the generalization ability of the models. To this end, we build a highly scalable deep learning training system for dense GPU clusters with three main contributions: (1) We propose a mixed-precision training method that significantly improves the training throughput of a single GPU without losing accuracy. (2) We propose an optimization approach for extremely large mini-batch size (up to 64k) that can train CNN models on the ImageNet dataset without losing accuracy. (3) We propose highly optimized all-reduce algorithms that achieve up to 3x and 11x speedup on AlexNet and ResNet-50 respectively than NCCL-based training on a cluster with 1024 Tesla P40 GPUs. On training ResNet-50 with 90 epochs, the state-of-the-art GPU-based system with 1024 Tesla P100 GPUs spent 15 minutes and achieved 74.9\% top-1 test accuracy, and another KNL-based system with 2048 Intel KNLs spent 20 minutes and achieved 75.4\% accuracy. Our training system can achieve 75.8\% top-1 test accuracy in only 6.6 minutes using 2048 Tesla P40 GPUs. When training AlexNet with 95 epochs, our system can achieve 58.7\% top-1 test accuracy within 4 minutes, which also outperforms all other existing systems.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Health Informatics, Efficiency & Compression, ML Systems & Hardware

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. Michael W. Mahoney
  3. Kurt Keutzer
  4. Yoshua Bengio
  5. Martin Jaggi
  6. Eric P. Xing
  7. Song Han
  8. Peter Richtárik

In Computer Vision and Pattern Recognition

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

In Health Informatics

  1. Matei A. Zaharia
  2. Sanjiv Kumar
  3. Stefano Soatto
  4. Phillip B. Gibbons
  5. Amar Phanishayee

In Efficiency & Compression

  1. Kurt Keutzer
  2. A. Gholami
  3. Michael W. Mahoney
  4. Zi-Mei Yao
  5. Song Han
  6. Wujie Wen
  7. Hai Helen Li
  8. Daniel Soudry

In ML Systems & Hardware

  1. Carole-Jean Wu
  2. Eric P. Xing
  3. Phillip B. Gibbons
  4. G. R. Ganger
  5. Gu-Yeon Wei
  6. Yang You
  7. Hanlin Tang
  8. David M. Brooks

Citations in the corpus