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

我的训练瓶颈在哪里?深度学习预处理管道中隐藏的权衡

Where Is My Training Bottleneck? Hidden Trade-Offs in Deep Learning Preprocessing Pipelines

Technical University of Munich(慕尼黑工业大学);University of Toronto(多伦多大学)

Alexander Isenko, Ruben Mayer, Jeffrey Jedele, Hans-Arno Jacobsen

摘要:

深度学习中的预处理管道旨在提供足够的数据吞吐量,以保持训练过程忙碌。随着训练过程的吞吐量随着硬件创新(例如,更快的GPU、TPU和互连)以及高级并行化技术,这些技术可带来更好的可扩展性。与此同时,为了训练日益复杂的模型所需的训练数据量正在增长。由于这种发展,数据预处理和供应正在成为端到端深度学习管道中的严重瓶颈。在本文中,我们对来自四个不同机器学习领域的数据预处理管道进行了深入分析。我们引入了一个新的视角来有效地为端到端深度学习管道准备数据集,并提取各个权衡来优化吞吐量、预处理时间和存储消耗。此外,我们提供了一个开源的分析库,可以自动决定一个合适的预处理策略,以最大限度地提高吞吐量。通过将我们生成的见解应用于现实世界的用例,与未调优的系统相比,我们获得了3倍至13倍的吞吐量,同时保持管道功能相同。这些发现显示了数据管道调优的巨大潜力。

英文摘要:

Preprocessing pipelines in deep learning aim to provide sufficient data throughput to keep the training processes busy. Maximizing resource utilization is becoming more challenging as the throughput of training processes increases with hardware innovations (e.g., faster GPUs, TPUs, and inter-connects) and advanced parallelization techniques that yield better scalability. At the same time, the amount of training data needed in order to train increasingly complex models is growing. As a consequence of this development, data preprocessing and provisioning are becoming a severe bottleneck in end-to-end deep learning pipelines. In this paper, we provide an in-depth analysis of data preprocessing pipelines from four different machine learning domains. We introduce a new perspective on efficiently preparing datasets for end-to-end deep learning pipelines and extract individual trade-offs to optimize throughput, preprocessing time, and storage consumption. Additionally, we provide an open-source profiling library that can automatically decide on a suitable preprocessing strategy to maximize throughput. By applying our generated insights to real-world use-cases, we obtain an increased throughput of 3x to 13x compared to an untuned system while keeping the pipeline functionally identical. These findings show the enormous potential of data pipeline tuning.

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

↑