paper-with-me

홈 › Papers

Coupling Adaptive Batch Sizes with Learning Rates

2016-12-15 · Lukas Balles, Javier Romero, Philipp Hennig

Mini-batch stochastic gradient descent and variants thereof have become standard for large-scale empirical risk minimization like the training of neural networks. These methods are usually used with a constant batch size chosen by simple empirical inspection. The batch size significantly influences the behavior of the stochastic optimization algorithm, though, since it determines the variance of the gradient estimates. This variance also changes over the optimization process; when using a constant batch size, stability and convergence is thus often enforced by means of a (manually tuned) decreasing learning rate schedule. We propose a practical method for dynamic batch size adaptation. It estimates the variance of the stochastic gradients and adapts the batch size to decrease the variance proportionally to the value of the objective function, removing the need for the aforementioned learning rate decrease. In contrast to recent related work, our algorithm couples the batch size to the learning rate, directly reflecting the known relationship between the two. On popular image classification benchmarks, our batch size adaptation yields faster optimization convergence, while simultaneously simplifying learning rate tuning. A TensorFlow implementation is available.

📄 PDF Abstract BibTeX arXiv:1612.05086

Code (1)

ProbabilisticNumerics/cabs 공식 구현 tf

Tasks

image-classificationImage ClassificationStochastic Optimization

Similar Papers 제목 키워드 기반

AdAdaGrad: Adaptive Batch Size Schemes for Adaptive Gradient Methods

2024-02-17 · Tim Tsz-Kit Lau, Han Liu, Mladen Kolar

The choice of batch sizes in minibatch stochastic gradient optimizers is critical in large-scale model training for both optimization and generalization performance. Although large-batch training is arguably the dominant…

image-classificationImage Classification

AdaBatchGrad: Combining Adaptive Batch Size and Adaptive Step Size

2024-02-07 · Petr Ostroukhov, Aigerim Zhumabayeva, Chulu Xiang, Alexander Gasnikov 외

This paper presents a novel adaptation of the Stochastic Gradient Descent (SGD), termed AdaBatchGrad. This modification seamlessly integrates an adaptive step size with an adjustable batch size. An increase in batch size…

AdaBatch: Adaptive Batch Sizes for Training Deep Neural Networks

2017-12-06 · Aditya Devarakonda, Maxim Naumov, Michael Garland

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…

Computational Efficiency

Adaptive Batch Size Schedules for Distributed Training of Language Models with Data and Model Parallelism

2024-12-30 · Tim Tsz-Kit Lau, Weijian Li, Chenwei Xu, Han Liu 외

An appropriate choice of batch sizes in large-scale model training is crucial, yet it involves an intrinsic yet inevitable dilemma: large-batch training improves training efficiency in terms of memory utilization, while …

Big Batch SGD: Automated Inference using Adaptive Batch Sizes

2016-10-18 · Soham De, Abhay Yadav, David Jacobs, Tom Goldstein

Classical stochastic gradient methods for optimization rely on noisy gradient approximations that become progressively less accurate as iterates approach a solution. The large noise and small signal in the resulting grad…