Accelerating Deep Neural Network Training with Inconsistent Stochastic Gradient Descent
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 17 Mar 2016.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 3; 2024: 2.
6 papers.
- 2021Large Batch Experience Replaycited by 14
- 2023PA&DA: Jointly Sampling PAth and DAta for Consistent NAScited by 6
- 2023Importance Sampling for Stochastic Gradient Descent in Deep Neural Networkscited by 1
- 2023Online Importance Sampling for Stochastic Gradient Optimizationcited by 1
- 2024Multiple Importance Sampling for Stochastic Gradient Estimationcited by 1
- 2024Batch-FPM: Random batch-update multi-parameter physical Fourier ptychography neural networkcited by 0
- 2024Batch-FPM: Random batch-update multi-parameter physical Fourier ptychography neural network25 Aug 2024
- 2024Multiple Importance Sampling for Stochastic Gradient Estimation22 Jul 2024
- 2023Online Importance Sampling for Stochastic Gradient Optimization24 Nov 2023
- 2023Importance Sampling for Stochastic Gradient Descent in Deep Neural Networks29 Mar 2023
- 2023PA&DA: Jointly Sampling PAth and DAta for Consistent NAS28 Feb 2023
- 2021Large Batch Experience Replay4 Oct 2021