arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.03791stat.MLcs.DCcs.LGmath.OCstat.CO
收藏

网络宽度对大批量训练性能的影响

The Effect of Network Width on the Performance of Large-batch Training

University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Lingjiao Chen, Hongyi Wang, Jinman Zhao, Dimitris Papailiopoulos, Paraschos Koutris

摘要:

小批量随机梯度下降(SGD)的分布式实现遭受通信开销,这归因于小批量训练中固有的高频率梯度更新。大批量训练可以减少这些开销;但是,大批量会影响SGD的收敛特性和泛化性能。在这项工作中,我们迈出了第一步,分析神经网络的结构(宽度和深度)如何影响大批量训练的性能。我们提出了新的理论结果,这表明-对于固定数量的参数-更广泛的网络更适合快速大批量训练相比,更深的。我们提供了关于残差和全连接神经网络的大量实验,这些实验表明,与其更深层次的变体不同,更广泛的网络可以使用更大的批次进行训练,而不会导致收敛速度减慢。

英文摘要:

Distributed implementations of mini-batch stochastic gradient descent (SGD) suffer from communication overheads, attributed to the high frequency of gradient updates inherent in small-batch training. Training with large batches can reduce these overheads; however, large batches can affect the convergence properties and generalization performance of SGD. In this work, we take a first step towards analyzing how the structure (width and depth) of a neural network affects the performance of large-batch training. We present new theoretical results which suggest that--for a fixed number of parameters--wider networks are more amenable to fast large-batch training compared to deeper ones. We provide extensive experiments on residual and fully-connected neural networks which suggest that wider networks can be trained using larger batches without incurring a convergence slow-down, unlike their deeper variants.

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

↑