arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.05550cs.LG
收藏

基于数据回显的快速神经网络训练

Faster Neural Network Training with Data Echoing

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

Dami Choi, Alexandre Passos, Christopher J. Shallue, George E. Dahl

摘要:

在摩尔定律的黄昏中,GPU和其他专用硬件加速器大大加快了神经网络的训练速度。然而,训练管道的早期阶段,如磁盘I/O和数据预处理,并不运行在加速器上。随着加速器的不断改进,这些早期阶段将越来越成为瓶颈。在本文中,我们引入了“数据回显”,它减少了早期流水线阶段使用的总计算量,并在加速器上游的计算占训练时间的主导地位时加快训练速度。数据回显重用(或“回显”)来自较早流水线阶段的中间输出,以便回收空闲容量。我们研究了不同数据回显算法在不同工作负载、不同回显量和不同批量大小下的行为。我们发现,在所有设置中,至少一种数据回显算法可以使用更少的上游计算来匹配基线的预测性能。当通过网络读取训练数据时,我们测量到ResNet-50在ImageNet上的挂钟时间减少了3.25倍。

英文摘要:

In the twilight of Moore's law, GPUs and other specialized hardware accelerators have dramatically sped up neural network training. However, earlier stages of the training pipeline, such as disk I/O and data preprocessing, do not run on accelerators. As accelerators continue to improve, these earlier stages will increasingly become the bottleneck. In this paper, we introduce "data echoing," which reduces the total computation used by earlier pipeline stages and speeds up training whenever computation upstream from accelerators dominates the training time. Data echoing reuses (or "echoes") intermediate outputs from earlier pipeline stages in order to reclaim idle capacity. We investigate the behavior of different data echoing algorithms on various workloads, for various amounts of echoing, and for various batch sizes. We find that in all settings, at least one data echoing algorithm can match the baseline's predictive performance using less upstream computation. We measured a factor of 3.25 decrease in wall-clock time for ResNet-50 on ImageNet when reading training data over a network.

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

↑