Skip to main content
QUICK REVIEW

[Paper Review] Yet Another Accelerated SGD: ResNet-50 Training on ImageNet in 74.7 seconds

Masafumi Yamazaki, Akihiko Kasagi|arXiv (Cornell University)|Mar 29, 2019
Advanced Neural Network ApplicationsComputer Science9 references70 citations
TL;DR

The paper presents optimization techniques to train ResNet-50 on ImageNet with large mini-batches using 2,048 GPUs, achieving 74.7 seconds per run and 75.08% top-1 accuracy, with throughput over 1.73M images/sec.

ABSTRACT

There has been a strong demand for algorithms that can execute machine learning as faster as possible and the speed of deep learning has accelerated by 30 times only in the past two years. Distributed deep learning using the large mini-batch is a key technology to address the demand and is a great challenge as it is difficult to achieve high scalability on large clusters without compromising accuracy. In this paper, we introduce optimization methods which we applied to this challenge. We achieved the training time of 74.7 seconds using 2,048 GPUs on ABCI cluster applying these methods. The training throughput is over 1.73 million images/sec and the top-1 validation accuracy is 75.08%.

Motivation & Objective

  • Address the bottlenecks of distributed deep learning at mass scale.
  • Enable large-mini-batch training without sacrificing validation accuracy.
  • Identify and optimize computation, memory, and communication bottlenecks in a multi-GPU cluster.
  • Demonstrate end-to-end performance improvements on the ABCI cluster using MXNet.
  • Provide techniques that can generalize to large-scale DNN training.

Proposed method

  • Employ stochastic gradient descent with warm-up and Layer-wise Adaptive Rate Scaling (LARS) to stabilize large-batch training.
  • Use label smoothing to improve accuracy at large mini-batch sizes.
  • Tune batch normalization moving averages for large mini-batch settings.
  • Optimize MXNet framework for parallel initialization and batched norm computations on GPUs.
  • Rework allreduce communication by enlarging collective data sizes and scheduling overlaps with backpropagation.
  • Reduce bottlenecks via GPU kernel optimization and communication-aware layer grouping.

Experimental results

Research questions

  • RQ1Can large mini-batch SGD maintain validation accuracy for ResNet-50 on ImageNet when scaled to thousands of GPUs?
  • RQ2What optimization strategies (learning rate schedules, normalization, and communication) enable near-linear scalability on massive GPU clusters?
  • RQ3How do framework-level optimizations (initialization, batched norms, and allreduce scheduling) impact throughput and accuracy at scale?

Key findings

  • Achieved ResNet-50 training on ImageNet in 74.7 seconds using 2,048 GPUs.
  • Reached 1.73 million images per second throughput, with scalability of 77.0% up to 2,048 GPUs.
  • Attained 75.08% top-1 validation accuracy with 81,920 mini-batch size.
  • Validated that large mini-batch training can maintain accuracy through warm-up, LARS, and label smoothing.
  • Demonstrated favorable scalability and efficiency improvements over prior large-mini-batch results.

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.