计算机科学 > 机器学习
[提交于 2021年11月19日 (v1),最后修订于 2021年11月19日 (此版本, v2)]
标题:Adaptive Learning of the Optimal Batch Size of SGD
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Recent advances in the theoretical understanding of SGD led to a formula for the optimal batch size minimizing the number of effective data passes, i.e., the number of iterations times the batch size. However, this formula is of no practical value as it depends on the knowledge of the variance of the stochastic gradients evaluated at the optimum. In this paper we design a practical SGD method capable of learning the optimal batch size adaptively throughout its iterations for strongly convex and smooth functions. Our method does this provably, and in our experiments with synthetic and real data robustly exhibits nearly optimal behaviour; that is, it works as if the optimal batch size was known a-priori. Further, we generalize our method to several new batch strategies not considered in the literature before, including a sampling suitable for distributed implementations.
提交历史
来自:Motasem Alfarra Alfarra M[v2] 2021年11月19日 星期五 18:46:59 UTC