arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.07217cs.LGstat.ML
收藏

不要使用大型微型批次,使用本地SGD

Don't Use Large Mini-Batches, Use Local SGD

EPFL(洛桑联邦理工学院);IIT Kanpur(印度理工学院坎普尔分校)

Tao Lin, Sebastian U. Stich, Kumar Kshitij Patel, Martin Jaggi

摘要:

小批量随机梯度方法(SGD)是深度神经网络分布式训练的最新技术。近年来,小批量的急剧增加导致了关键的效率和可扩展性的提高。然而,进展面临着一个主要的障碍,因为大批量训练的模型通常不能很好地泛化,即它们在新数据上没有表现出良好的准确性。作为一种补救措施,我们提出了一个\emph{post-local} SGD,并表明它显着提高了泛化性能相比,大批量训练标准基准,同时享受相同的效率(时间准确性)和可扩展性。我们进一步提供了一个广泛的研究与主机的\emph{local SGD}变体的通信效率与性能的权衡。

英文摘要:

Mini-batch stochastic gradient methods (SGD) are state of the art for distributed training of deep neural networks. Drastic increases in the mini-batch sizes have lead to key efficiency and scalability gains in recent years. However, progress faces a major roadblock, as models trained with large batches often do not generalize well, i.e. they do not show good accuracy on new data. As a remedy, we propose a \emph{post-local} SGD and show that it significantly improves the generalization performance compared to large-batch training on standard benchmarks while enjoying the same efficiency (time-to-accuracy) and scalability. We further provide an extensive study of the communication efficiency vs. performance trade-offs associated with a host of \emph{local SGD} variants.

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

↑