arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1907.04164cs.LGstat.ML
收藏

在哪种批量下,哪种工艺选择很重要?从一个嘈杂的二次模型的见解

Which Algorithmic Choices Matter at Which Batch Sizes? Insights From a Noisy Quadratic Model

University of Toronto(多伦多大学);Vector Institute(向量研究所);Google Research(谷歌研究院);DeepMind(深度思维)

Guodong Zhang, Lala Li, Zachary Nado, James Martens, Sushant Sachdeva, George E. Dahl, Christopher J. Shallue, Roger Grosse

摘要:

增加批量大小是加速神经网络训练的一种流行方法,但超过某些临界批量大小,更大的批量大小会产生收益递减。在这项工作中,我们研究了如何关键批量的基础上的优化算法,包括加速和预处理,通过两个不同的镜头的属性变化:大规模的实验,和一个简单的噪声二次模型(NQM)的分析。我们的实验表明,优化算法,采用预处理,特别是亚当和K-FAC,导致更大的临界批量比随机梯度下降的势头。我们还证明了NQM捕获了真实神经网络训练的许多基本特征,尽管使用起来非常简单。NQM使用预处理优化器预测我们的结果,使用加速梯度下降的先前结果,以及围绕最佳学习率和大批量训练的其他结果,使其成为生成有关神经网络优化的可测试预测的有用工具。

英文摘要:

Increasing the batch size is a popular way to speed up neural network training, but beyond some critical batch size, larger batch sizes yield diminishing returns. In this work, we study how the critical batch size changes based on properties of the optimization algorithm, including acceleration and preconditioning, through two different lenses: large scale experiments, and analysis of a simple noisy quadratic model (NQM). We experimentally demonstrate that optimization algorithms that employ preconditioning, specifically Adam and K-FAC, result in much larger critical batch sizes than stochastic gradient descent with momentum. We also demonstrate that the NQM captures many of the essential features of real neural network training, despite being drastically simpler to work with. The NQM predicts our results with preconditioned optimizers, previous results with accelerated gradient descent, and other results around optimal learning rates and large batch training, making it a useful tool to generate testable predictions about neural network optimization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑