Skip to main content
QUICK REVIEW

[Paper Review] Massively Distributed SGD: ImageNet/ResNet-50 Training in a Flash

Hiroaki Mikami, Hisahiro Suganuma|arXiv (Cornell University)|Nov 13, 2018
Advanced Neural Network ApplicationsComputer Science16 references73 citations
TL;DR

The paper demonstrates training ImageNet/ResNet-50 at massive scale using batch-size control, label smoothing, and 2D-Torus all-reduce, achieving 122-second training on an ABCI cluster with Neural Network Libraries (NNL).

ABSTRACT

Scaling the distributed deep learning to a massive GPU cluster level is challenging due to the instability of the large mini-batch training and the overhead of the gradient synchronization. We address the instability of the large mini-batch training with batch-size control and label smoothing. We address the overhead of the gradient synchronization with 2D-Torus all-reduce. Specifically, 2D-Torus all-reduce arranges GPUs in a logical 2D grid and performs a series of collective operation in different orientations. These two techniques are implemented with Neural Network Libraries (NNL). We have successfully trained ImageNet/ResNet-50 in 122 seconds without significant accuracy loss on ABCI cluster.

Motivation & Objective

  • Address instability of large mini-batch training.
  • Reduce gradient synchronization overhead in large GPU clusters.
  • Propose practical techniques to enable fast, scalable CNN training.
  • Demonstrate high-speed ImageNet/ResNet-50 training on a large cluster.

Proposed method

  • Use batch-size control to stabilize large mini-batch training.
  • Apply label smoothing to improve generalization under large batches.
  • Implement 2D-Torus all-reduce to organize GPUs in a 2D grid for efficient collective communication.
  • Leverage Neural Network Libraries (NNL) to implement the above techniques.
  • Evaluate on ImageNet with ResNet-50 architecture.
  • Report training time and accuracy impact on ABCI cluster.

Experimental results

Research questions

  • RQ1How can large mini-batch training be stabilized for distributed SGD at scale?
  • RQ2Can gradient synchronization overhead be reduced effectively in massive GPU clusters?
  • RQ3What performance gains in ImageNet/ResNet-50 training can be achieved with the proposed techniques?
  • RQ4What is the trade-off between speed and accuracy when applying batch-size control and label smoothing in distributed settings?

Key findings

  • Training ImageNet/ResNet-50 in 122 seconds on ABCI cluster without significant accuracy loss.
  • Batch-size control and label smoothing mitigate instability from very large mini-batches.
  • 2D-Torus all-reduce reduces gradient synchronization overhead by organizing GPUs in a 2D grid for collective operations.
  • Implementation of techniques in Neural Network Libraries (NNL) enables scalable distributed SGD.
  • Demonstrates practical path to massively distributed CNN training at scale.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.