Skip to main content
QUICK REVIEW

[Paper Review] Accelerating Deep Neural Network Training with Inconsistent Stochastic Gradient Descent

Linnan Wang, Yi Yang|arXiv (Cornell University)|Mar 17, 2016
Stochastic Gradient Optimization TechniquesComputer Science7 citations
TL;DR

This paper proposes Inconsistent Stochastic Gradient Descent (ISGD), a method that dynamically adjusts training effort per batch based on loss variance, using statistical process control to identify under-trained batches and solve a constrained subproblem to accelerate convergence. ISGD achieves up to 28.57% faster convergence than standard SGD across MNIST, CIFAR-10, and ImageNet without extra memory or complex modifications.

ABSTRACT

SGD is the widely adopted method to train CNN. Conceptually it approximates the population with a randomly sampled batch; then it evenly trains batches by conducting a gradient update on every batch in an epoch. In this paper, we demonstrate Sampling Bias, Intrinsic Image Difference and Fixed Cycle Pseudo Random Sampling differentiate batches in training, which then affect learning speeds on them. Because of this, the unbiased treatment of batches involved in SGD creates improper load balancing. To address this issue, we present Inconsistent Stochastic Gradient Descent (ISGD) to dynamically vary training effort according to learning statuses on batches. Specifically ISGD leverages techniques in Statistical Process Control to identify a undertrained batch. Once a batch is undertrained, ISGD solves a new subproblem, a chasing logic plus a conservative constraint, to accelerate the training on the batch while avoid drastic parameter changes. Extensive experiments on a variety of datasets demonstrate ISGD converges faster than SGD. In training AlexNet, ISGD is 21.05\% faster than SGD to reach 56\% top1 accuracy under the exactly same experiment setup. We also extend ISGD to work on multiGPU or heterogeneous distributed system based on data parallelism, enabling the batch size to be the key to scalability. Then we present the study of ISGD batch size to the learning rate, parallelism, synchronization cost, system saturation and scalability. We conclude the optimal ISGD batch size is machine dependent. Various experiments on a multiGPU system validate our claim. In particular, ISGD trains AlexNet to 56.3% top1 and 80.1% top5 accuracy in 11.5 hours with 4 NVIDIA TITAN X at the batch size of 1536.

Motivation & Objective

  • To address the inefficiency of standard SGD, which applies uniform training effort to all batches despite varying loss variance due to sampling bias and intrinsic image differences.
  • To improve training efficiency by dynamically reallocating training effort to batches with higher loss, which contribute more to optimization progress.
  • To develop a computationally efficient, memory-free method that integrates seamlessly with existing SGD frameworks, including momentum and Nesterov acceleration.
  • To empirically validate that inconsistent training—uneven gradient updates per batch—leads to faster convergence and better generalization on real-world datasets.

Proposed method

  • ISGD models training as a stochastic process and tracks batch losses over the last n_b iterations to estimate the mean loss and compute a dynamic upper control limit.
  • It identifies under-trained batches when their loss exceeds the dynamic upper threshold, indicating they require additional updates.
  • For such batches, ISGD solves a subproblem that minimizes the discrepancy between current batch loss and the mean loss, subject to a conservative constraint on parameter change to prevent overshooting.
  • The subproblem ensures accelerated updates on high-loss batches while maintaining proximity to the current model parameters, preserving training stability.
  • The method uses statistical process control techniques to detect anomalies in batch loss behavior in real time, enabling online adaptation without auxiliary memory.
  • ISGD is compatible with standard optimization techniques like momentum and Nesterov acceleration, and integrates directly into existing deep learning training pipelines.

Experimental results

Research questions

  • RQ1Can dynamically adjusting training effort per batch based on loss variance improve convergence speed in deep neural network training?
  • RQ2Does identifying and accelerating under-trained batches through loss-based control lead to faster convergence without compromising model stability?
  • RQ3How does inconsistent training compare to standard SGD in terms of convergence rate and final accuracy across diverse datasets and network architectures?
  • RQ4What is the impact of batch size on convergence speed in multi-GPU settings, and how does ISGD perform under varying system constraints?
  • RQ5Can ISGD be effectively combined with advanced optimization techniques like Nesterov acceleration to further enhance training performance?

Key findings

  • ISGD achieved 14.94% faster convergence than SGD on ImageNet, reducing training time from 21.4 hours to 18.2 hours to reach 81% top-5 accuracy.
  • On CIFAR-10, ISGD reached 75% top-accuracy 23.57% faster than SGD, completing in 234 seconds versus 306 seconds.
  • On MNIST, ISGD achieved 99% top-accuracy 28.57% faster than SGD, completing in 40 seconds versus 56 seconds.
  • The training error of ISGD remained consistently below SGD across all datasets, explaining its superior validation accuracy.
  • When combined with Nesterov acceleration, ISGD reached the 58% top-1 accuracy threshold 13.4% faster than standard Nesterov SGD.
  • Empirical results across 10 repeated trials confirmed consistent performance gains, demonstrating robustness and reproducibility of inconsistent training.

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.