Where Is My Training Bottleneck? Hidden Trade-Offs in Deep Learning Preprocessing Pipelines
Alexander Isenko, Ruben Mayer, Jeffrey Jedele, Hans-Arno Jacobsen
摘要
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 endto-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 usecases, we obtain an increased throughput of 3× to 13× compared to an untuned system while keeping the pipeline functionally identical. These findings show the enormous potential of data pipeline tuning.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference Serving 引用了 FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data Pipeline
- Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference Serving 引用了 Jointly Optimizing Preprocessing and Inference for DNN-based Visual Analytics
- Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference Serving 引用了 Analyzing and Mitigating Data Stalls in DNN Training
- cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data Pipeline
- cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement
- Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement 引用了 cedar: Optimized and Unified Machine Learning Input Data Pipelines
- cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 Analyzing and Mitigating Data Stalls in DNN Training
- RAP: Resource-aware Automated GPU Sharing for Multi-GPU Recommendation Model Training and Input Preprocessing 引用了 Jointly Optimizing Preprocessing and Inference for DNN-based Visual Analytics
- RAP: Resource-aware Automated GPU Sharing for Multi-GPU Recommendation Model Training and Input Preprocessing 引用了 Analyzing and Mitigating Data Stalls in DNN Training
- FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data Pipeline 引用了 Analyzing and Mitigating Data Stalls in DNN Training
- Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement 引用了 FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data Pipeline
- Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement 引用了 Analyzing and Mitigating Data Stalls in DNN Training
引用它的顶会 Paper12
- FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data PipelineTaegeon Um, Byungsoo Oh, Byeongchan Seo, Minhyeok Kweun 等VLDB 2023 · 45 次引用
- Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid PlacementDan Graur, Oto Mraz, Muyu Li, Mohammad Sepehr Pourghannad 等USENIX ATC 2024 · 18 次引用
- cedar: Optimized and Unified Machine Learning Input Data PipelinesMark Zhao, Emanuel Adamiak, Christos KozyrakisVLDB 2025 · 13 次引用
- RAP: Resource-aware Automated GPU Sharing for Multi-GPU Recommendation Model Training and Input PreprocessingZheng Wang, Yuke Wang, Jiaqi Deng, Da Zheng 等ASPLOS 2024 · 9 次引用
- Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference ServingShihong Gao, Xin Zhang, Yanyan Shen, Lei ChenSIGMOD 2025 · 7 次引用
它引用的 Paper3
- Analyzing and Mitigating Data Stalls in DNN TrainingJayashree Mohan, Amar Phanishayee, Ashish Raniwala, Vijay ChidambaramVLDB 2021 · 142 次引用
- Jointly Optimizing Preprocessing and Inference for DNN-based Visual AnalyticsDaniel Kang, Ankit Mathur, Teja Veeramacheneni, Peter Bailis 等VLDB 2021 · 50 次引用
- Random Reshuffling is Not Always BetterChristopher De SaNeurIPS 2020 · 27 次引用
相关 Paper
- HyCache: Hybrid Caching for Accelerating DNN Input Preprocessing PipelinesKeshav Vinayak Jha, Shweta Pandey, Murali Annavaram, Arkaprava BasuUSENIX ATC 2025 · 2 次引用
- Beyond Inference: Performance Analysis of DNN Server Overheads for Computer VisionAhmed F. AbouElhamayed, Susanne Balle, Deshanand P. Singh, Mohamed S. AbdelfattahDAC 2024 · 3 次引用
- The Art of Losing to Win: Using Lossy Image Compression to Improve Data Loading in Deep Learning PipelinesLennart Behme, Saravanan Thirumuruganathan, Alireza Rezaei Mahdiraji, Jorge-Arnulfo Quiané-Ruiz 等ICDE 2023 · 4 次引用
- FlexPipe: Maximizing Training Efficiency for Transformer-based Models with Variable-Length InputsHairui Zhao, Qi Tian, Hongliang Li, Zizhong ChenUSENIX ATC 2025 · 6 次引用
- Cachew: Machine Learning Input Data Processing as a ServiceDan Graur, Damien Aymon, Dan Kluser, Tanguy Albrici 等USENIX ATC 2022 · 43 次引用
