arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.01196cs.LGcs.DCcs.PFstat.ML
收藏

加速深度神经网络训练中的数据加载

Accelerating Data Loading in Deep Neural Network Training

IBM T. J. Watson Research Center(IBM托马斯·J·沃森研究中心);Data Centric Systems(数据中心系统)

Chih-Chieh Yang, Guojing Cong

摘要:

在大规模系统中,数据加载可以支配深度神经网络训练时间。我们提出了一个全面的研究,在大规模分布式训练中加速数据加载性能。我们首先确定当前数据加载实现中的性能和可伸缩性问题。然后,我们提出了利用CPU资源的数据加载器设计的优化。我们使用一个分析模型来描述数据加载对整体训练时间的影响,并在扩展分布式训练时建立性能趋势。我们的模型表明,I/O速率限制了分布式训练的可扩展性,这启发我们设计了一个本地感知的数据加载方法。通过利用软件缓存,我们的方法可以大大减少数据加载的通信量相比,原来的数据加载实现。最后,我们评估所提出的优化与各种实验。我们使用256个节点和1,024个学习器实现了超过30倍的数据加载加速。

英文摘要:

Data loading can dominate deep neural network training time on large-scale systems. We present a comprehensive study on accelerating data loading performance in large-scale distributed training. We first identify performance and scalability issues in current data loading implementations. We then propose optimizations that utilize CPU resources to the data loader design. We use an analytical model to characterize the impact of data loading on the overall training time and establish the performance trend as we scale up distributed training. Our model suggests that I/O rate limits the scalability of distributed training, which inspires us to design a locality-aware data loading method. By utilizing software caches, our method can drastically reduce the data loading communication volume in comparison with the original data loading implementation. Finally, we evaluate the proposed optimizations with various experiments. We achieved more than 30x speedup in data loading using 256 nodes with 1,024 learners.

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

↑