Log In Sign Up

AdaBatch: Adaptive Batch Sizes for Training Deep Neural Networks

by   Aditya Devarakonda, et al.

Training deep neural networks with Stochastic Gradient Descent, or its variants, requires careful choice of both learning rate and batch size. While smaller batch sizes generally converge in fewer training epochs, larger batch sizes offer more parallelism and hence better computational efficiency. We have developed a new training approach that, rather than statically choosing a single batch size for all epochs, adaptively increases the batch size during the training process. Our method delivers the convergence rate of small batch sizes while achieving performance similar to large batch sizes. We analyse our approach using the standard AlexNet, ResNet, and VGG networks operating on the popular CIFAR-10, CIFAR-100, and ImageNet datasets. Our results demonstrate that learning with adaptive batch sizes can improve performance by factors of up to 6.25 on 4 NVIDIA Tesla P100 GPUs while changing accuracy by less than 1 relative to training with fixed batch sizes.


page 1

page 2

page 3

page 4


Revisiting Small Batch Training for Deep Neural Networks

Modern deep neural network training is typically based on mini-batch sto...

Data optimization for large batch distributed training of deep neural networks

Distributed training in deep learning (DL) is common practice as data an...

An Adaptive Batch Normalization in Deep Learning

Batch Normalization (BN) is a way to accelerate and stabilize training i...

Exploiting Invariance in Training Deep Neural Networks

Inspired by two basic mechanisms in animal visual systems, we introduce ...

An Empirical Model of Large-Batch Training

In an increasing number of domains it has been demonstrated that deep le...

Fast Distributed Deep Learning via Worker-adaptive Batch Sizing

Deep neural network models are usually trained in cluster environments, ...

Automated Learning Rate Scheduler for Large-batch Training

Large-batch training has been essential in leveraging large-scale datase...

Code Repositories


AdaBatch: Adaptive Batch Sizes for Training Deep Neural Networks

view repo