paper-with-me

Papers

The Limit of the Batch Size

2020-06-15 · Yang You, Yuhui Wang, huan zhang, Zhao Zhang, James Demmel, Cho-Jui Hsieh

Large-batch training is an efficient approach for current distributed deep learning systems. It has enabled researchers to reduce the ImageNet/ResNet-50 training from 29 hours to around 1 minute. In this paper, we focus on studying the limit of the batch size. We think it may provide a guidance to AI supercomputer and algorithm designers. We provide detailed numerical optimization instructions for step-by-step comparison. Moreover, it is important to understand the generalization and optimization performance of huge batch training. Hoffer et al. introduced "ultra-slow diffusion" theory to large-batch training. However, our experiments show contradictory results with the conclusion of Hoffer et al. We provide comprehensive experimental results and detailed analysis to study the limitations of batch size scaling and "ultra-slow diffusion" theory. For the first time we scale the batch size on ImageNet to at least a magnitude larger than all previous work, and provide detailed studies on the performance of many state-of-the-art optimization schemes under this setting. We propose an optimization recipe that is able to improve the top-1 test accuracy by 18% compared to the baseline.

📄 PDF Abstract BibTeX arXiv:2006.08517

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Enabling Large Batch Size Training for DNN Models Beyond the Memory Limit While Maintaining Performance

2021-10-24 · XinYu Piao, DoangJoo Synn, JooYoung Park, Jong-Kook Kim

Recent deep learning models are difficult to train using a large batch size, because commodity machines may not have enough memory to accommodate both the model and a large data batch size. The batch size is one of the h…

Deep Learning

An Empirical Model of Large-Batch Training

2018-12-14 · Sam McCandlish, Jared Kaplan, Dario Amodei, OpenAI Dota Team

In an increasing number of domains it has been demonstrated that deep learning models can be trained using relatively large batch sizes without sacrificing data efficiency. However the limits of this massive data paralle…

Dota 2modelReinforcement Learning

The Effect of Batch Size on Contrastive Self-Supervised Speech Representation Learning

2024-02-21 · Nik Vaessen, David A. van Leeuwen

Foundation models in speech are often trained using many GPUs, which implicitly leads to large effective batch sizes. In this paper we study the effect of batch size on pre-training, both in terms of statistics that can …

BenchmarkingRepresentation LearningSelf-Supervised LearningSpeech Representation Learning

Subsampling is not Magic: Why Large Batch Sizes Work for Differentially Private Stochastic Optimisation

2024-02-06 · Ossi Räisä, Joonas Jälkö, Antti Honkela

We study how the batch size affects the total gradient variance in differentially private stochastic gradient descent (DP-SGD), seeking a theoretical explanation for the usefulness of large batch sizes. As DP-SGD is the …

Extended Batch Normalization

2020-03-12 · Chunjie Luo, Jianfeng Zhan, Lei Wang, Wanling Gao

Batch normalization (BN) has become a standard technique for training the modern deep networks. However, its effectiveness diminishes when the batch size becomes smaller, since the batch statistics estimation becomes ina…

Image Classification