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

Alexander Isenko, Ruben Mayer, Jeffrey Jedele, Hans-Arno Jacobsen
2/17/2022
cs.LGcs.DCcs.PF

Official code: cirquit/presto (15 stars, Jupyter Notebook, last commit 2023-01-21).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

cirquit/prestoOfficial100%
152Jupyter Notebook, TeXNov 7, 20213 years ago

Similar Papers

Cite this paper

@article{isenko2022where,
  title  = {Where Is My Training Bottleneck? Hidden Trade-Offs in Deep Learning Preprocessing Pipelines},
  author = {Alexander Isenko and Ruben Mayer and Jeffrey Jedele and Hans-Arno Jacobsen},
  year   = {2022},
  eprint = {2202.08679},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.08679}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.08679.svg)](https://codeofpaper.com/paper/2202.08679)

Discussion