Skip to main content
QUICK REVIEW

[Paper Review] Scale out for large minibatch SGD: Residual network training on ImageNet-1K with improved accuracy and reduced time to train

Valeriu Codreanu, Damian Podareanu|arXiv (Cornell University)|Nov 12, 2017
Advanced Neural Network ApplicationsComputer Science23 references36 citations
TL;DR

This paper proposes a scalable, high-efficiency training framework for ResNet-50 on ImageNet-1K using large minibatch SGD across up to 104K x86 cores, achieving 77.5% top-1 accuracy in just 28 minutes with over 90% scaling efficiency. It introduces the novel Collapsed Ensemble technique to boost accuracy without modifying the model architecture.

ABSTRACT

For the past 5 years, the ILSVRC competition and the ImageNet dataset have attracted a lot of interest from the Computer Vision community, allowing for state-of-the-art accuracy to grow tremendously. This should be credited to the use of deep artificial neural network designs. As these became more complex, the storage, bandwidth, and compute requirements increased. This means that with a non-distributed approach, even when using the most high-density server available, the training process may take weeks, making it prohibitive. Furthermore, as datasets grow, the representation learning potential of deep networks grows as well by using more complex models. This synchronicity triggers a sharp increase in the computational requirements and motivates us to explore the scaling behaviour on petaflop scale supercomputers. In this paper we will describe the challenges and novel solutions needed in order to train ResNet-50 in this large scale environment. We demonstrate above 90\% scaling efficiency and a training time of 28 minutes using up to 104K x86 cores. This is supported by software tools from Intel's ecosystem. Moreover, we show that with regular 90 - 120 epoch train runs we can achieve a top-1 accuracy as high as 77\% for the unmodified ResNet-50 topology. We also introduce the novel Collapsed Ensemble (CE) technique that allows us to obtain a 77.5\% top-1 accuracy, similar to that of a ResNet-152, while training a unmodified ResNet-50 topology for the same fixed training budget. All ResNet-50 models as well as the scripts needed to replicate them will be posted shortly.

Motivation & Objective

  • To reduce training time for deep residual networks on large-scale datasets like ImageNet-1K without sacrificing accuracy.
  • To address the generalization gap and convergence issues typically associated with large minibatch SGD in deep learning.
  • To enable high-performance, scalable training on petaflop-scale HPC systems using Intel’s software stack and x86 architectures.
  • To develop techniques that improve model accuracy within a fixed training budget, especially for large-batch training.
  • To demonstrate that state-of-the-art accuracy can be achieved with minimal architectural changes through optimized training strategies.

Proposed method

  • Employing very large global batch sizes (up to 65,536) with data parallelism across thousands of CPU cores.
  • Applying modified batch normalization that adapts to large local and global batch sizes to stabilize training.
  • Implementing an aggressive, linearly scaled learning rate schedule with gradual warm-up to maintain convergence.
  • Introducing the Collapsed Ensemble (CE) technique, which reuses snapshots from a single training run to form an ensemble, improving generalization.
  • Using weight decay and learning rate strategies inspired by cyclic and SGDR schedules to enhance optimization stability.
  • Leveraging Intel’s distribution of Caffe and HPC-optimized software stack for efficient scaling on Intel Knights Landing and Skylake systems.

Experimental results

Research questions

  • RQ1Can large-batch SGD training achieve high accuracy on ImageNet-1K without the typical generalization gap?
  • RQ2How can training time be reduced to under 30 minutes for ResNet-50 while maintaining or improving top-1 accuracy?
  • RQ3What training techniques enable high scaling efficiency (over 90%) on 100K+ x86 cores?
  • RQ4Can a single-model accuracy of 77.5% be achieved using only a ResNet-50 architecture and a fixed training budget?
  • RQ5To what extent can the Collapsed Ensemble technique outperform standard ensembling and snapshot methods on ImageNet-1K?

Key findings

  • The authors achieved a top-1 accuracy of 77.5% using the Collapsed Ensemble technique on a single ResNet-50 model, matching the performance of a ResNet-152.
  • Training time was reduced to 28 minutes on up to 104,000 x86 cores, with scaling efficiency exceeding 90%.
  • The proposed learning rate schedule and training techniques enabled convergence at 76.5% top-1 accuracy after 75 epochs.
  • The Collapsed Ensemble method outperformed the snapshot ensemble method of Huang et al. when using a 5-model ensemble on ImageNet-1K.
  • The framework demonstrated strong scaling efficiency on both Intel Knights Landing and Skylake architectures, with projected training times under 50 minutes on MareNostrum 4 for 76.5% accuracy.
  • All models and training scripts are publicly released in the IntelCaffe GitHub repository for reproducibility.

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.