paper-with-me

홈 › Papers

On Batch Adaptive Training for Deep Learning: Lower Loss and Larger Step Size

2018-01-01 · ICLR 2018 1 · Runyao Chen, Kun Wu, Ping Luo

Mini-batch gradient descent and its variants are commonly used in deep learning. The principle of mini-batch gradient descent is to use noisy gradient calculated on a batch to estimate the real gradient, thus balancing the computation cost per iteration and the uncertainty of noisy gradient. However, its batch size is a fixed hyper-parameter requiring manual setting before training the neural network. Yin et al. (2017) proposed a batch adaptive stochastic gradient descent (BA-SGD) that can dynamically choose a proper batch size as learning proceeds. We extend the BA-SGD to momentum algorithm and evaluate both the BA-SGD and the batch adaptive momentum (BA-Momentum) on two deep learning tasks from natural language processing to image classification. Experiments confirm that batch adaptive methods can achieve a lower loss compared with mini-batch methods after scanning the same epochs of data. Furthermore, our BA-Momentum is more robust against larger step sizes, in that it can dynamically enlarge the batch size to reduce the larger uncertainty brought by larger step sizes. We also identified an interesting phenomenon, batch size boom. The code implementing batch adaptive framework is now open source, applicable to any gradient-based optimization problems.

📄 PDF Abstract BibTeX

Code (1)

thomasyao3096/Batch_Adaptive_Framework 공식 구현 pytorch

Tasks

image-classificationImage Classification

Similar Papers 제목 키워드 기반

Adaptive Elastic Training for Sparse Deep Learning on Heterogeneous Multi-GPU Servers

2021-10-13 · Yujing Ma, Florin Rusu, Kesheng Wu, Alexander Sim

Motivated by extreme multi-label classification applications, we consider training deep learning models over sparse data in multi-GPU servers. The variance in the number of non-zero features across training batches and t…

Extreme Multi-Label ClassificationGPUMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATION+1

Select without Fear: Almost All Mini-Batch Schedules Generalize Optimally

2023-05-03 · Konstantinos E. Nikolakakis, Amin Karbasi, Dionysis Kalogerias

We establish matching upper and lower generalization error bounds for mini-batch Gradient Descent (GD) training with either deterministic or stochastic, data-independent, but otherwise arbitrary batch selection rules. We…

All

Mean-field Analysis of Batch Normalization

2019-03-06 · ICLR 2019 5 · Mingwei Wei, James Stokes, David J. Schwab

Batch Normalization (BatchNorm) is an extremely useful component of modern neural network architectures, enabling optimization using higher learning rates and achieving faster convergence. In this paper, we use mean-fiel…

Adaptive Batch Sizes for Active Learning A Probabilistic Numerics Approach

2023-06-09 · Masaki Adachi, Satoshi Hayakawa, Martin Jørgensen, Xingchen Wan 외

Active learning parallelization is widely used, but typically relies on fixing the batch size throughout experimentation. This fixed approach is inefficient because of a dynamic trade-off between cost and speed -- larger…

Active LearningBayesian OptimisationBayesian OptimizationDrug Discovery

Large Batch Training of Convolutional Networks

2017-08-13 · Yang You, Igor Gitman, Boris Ginsburg

A common way to speed up training of large convolutional networks is to add computational units. Training is then performed using data-parallel synchronous Stochastic Gradient Descent (SGD) with mini-batch divided betwee…

8k