Analyzing and Mitigating Data Stalls in DNN Training
Not on the map. Why?
Abstract (arXiv)
Training Deep Neural Networks (DNNs) is resource-intensive and time-consuming. While prior research has explored many different ways of reducing DNN training time, the impact of input data pipeline, i.e., fetching raw data items from storage and performing data pre-processing in memory, has been relatively unexplored. This paper makes the following contributions: (1) We present the first comprehensive analysis of how the input data pipeline affects the training time of widely-used computer vision and audio Deep Neural Networks (DNNs), that typically involve complex data preprocessing. We analyze nine different models across three tasks and four datasets while varying factors such as the amount of memory, number of CPU threads, storage device, GPU generation etc on servers that are a part of a large production cluster at Microsoft. We find that in many cases, DNN training time is dominated by data stall time: time spent waiting for data to be fetched and preprocessed. (2) We build a tool, DS-Analyzer to precisely measure data stalls using a differential technique, and perform predictive what-if analysis on data stalls. (3) Finally, based on the insights from our analysis, we design and implement three simple but effective techniques in a data-loading library, CoorDL, to mitigate data stalls. Our experiments on a range of DNN tasks, models, datasets, and hardware configs show that when PyTorch uses CoorDL instead of the state-of-the-art DALI data loading library, DNN training time is reduced significantly (by as much as 5x on a single server).
Key facts. Cited by 35 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 7; 2023: 4; 2024: 6; 2025: 7; 2026: 5.
35 papers.
Sort:
By area:
- 2022DataPerf: Benchmarks for Data-Centric AI Developmentcited by 89
- 2023FFCV: Accelerating Training by Removing Data Bottleneckscited by 49
- 2021tf.data: A Machine Learning Data Processing Frameworkcited by 40
- 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Trainingcited by 28
- 2021Accelerating Recommendation System Training by Leveraging Popular Choicescited by 22
- 2022Egeria: Efficient DNN Training with Knowledge-Guided Layer Freezingcited by 22
- 2023Reducing Energy Bloat in Large Model Trainingcited by 22
- 2021Plumber: Diagnosing and Removing Performance Bottlenecks in Machine Learning Data Pipelinescited by 15
- 2022tf.data service: A Case for Disaggregating ML Input Data Processingcited by 15
- 2022Where Is My Training Bottleneck? Hidden Trade-Offs in Deep Learning Preprocessing Pipelinescited by 10
- 2024FastPersist: Accelerating Model Checkpointing in Deep Learningcited by 6
- 2025Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference Servingcited by 6
23 more
- 2024cedar: Optimized and Unified Machine Learning Input Data Pipelinescited by 5
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Trainingcited by 5
- 2023InTune: Reinforcement Learning-based Data Pipeline Optimization for Deep Recommendation Modelscited by 3
- 2024TensorSocket: Shared Data Loading for Deep Learning Trainingcited by 3
- 2024PreSto: An In-Storage Data Preprocessing System for Training Recommendation Modelscited by 2
- 2025Mixtera: A Data Plane for Foundation Model Trainingcited by 2
- 2025Position: Neglecting the Sustainability of AI is Fuelling a Global AI Arms Racecited by 2
- 2022An Overview of the Data-Loader Landscape: Comparative Performance Analysiscited by 1
- 2022A Study on the Intersection of GPU Utilization and CNN Inferencecited by 1
- 2025GPUs, CPUs, and... NICs: Rethinking the Network's Role in Serving Complex AI Pipelinescited by 1
- 2025MinatoLoader: Accelerating Machine Learning Training Through Efficient Data Preprocessingcited by 1
- 2021Synergy: Resource Sensitive DNN Scheduling in Multi-Tenant Clusterscited by 0
- 2021Characterizing and Taming Resolution in Convolutional Neural Networkscited by 0
- 2022L3: Accelerator-Friendly Lossless Image Format for High-Resolution, High-Throughput DNN Trainingcited by 0
- 2023[Experiments & Analysis] Evaluating the Feasibility of Sampling-Based Techniques for Training Multilayer Perceptronscited by 0
- 2024PREBA: A Hardware/Software Co-Design for Multi-Instance GPU based AI Inference Serverscited by 0
- 2025Optimizing Cloud-to-GPU Throughput for Deep Learning With Earth Observation Datacited by 0
- 2025Preparation Meets Opportunity: Enhancing Data Preprocessing for ML Training With Senecacited by 0
- 2026GetBatch: Distributed Multi-Object Retrieval for ML Data Loadingcited by 0
- 2026MLSYSIM: First-Principles Infrastructure Modeling for Machine Learning Systemscited by 0
- 2026VersaDB: A High-Performance AI Storage Database for Unifying Mutimodal Datasetscited by 0
- 2026RGB Input Pipelines: Throughput, GPU Memory, and Transformation Coveragecited by 0
- 2026A principled approach for energy-efficient training via phase-aware GPU frequency tuningcited by 0
- 2026A principled approach for energy-efficient training via phase-aware GPU frequency tuning21 Sep 2026
- 2026RGB Input Pipelines: Throughput, GPU Memory, and Transformation Coverage6 Sep 2026
- 2026VersaDB: A High-Performance AI Storage Database for Unifying Mutimodal Datasets24 Aug 2026
- 2026MLSYSIM: First-Principles Infrastructure Modeling for Machine Learning Systems28 Jun 2026
- 2026GetBatch: Distributed Multi-Object Retrieval for ML Data Loading25 Feb 2026
- 2025Preparation Meets Opportunity: Enhancing Data Preprocessing for ML Training With Seneca24 Sep 2025
- 2025MinatoLoader: Accelerating Machine Learning Training Through Efficient Data Preprocessing12 Sep 2025
- 2025Optimizing Cloud-to-GPU Throughput for Deep Learning With Earth Observation Data6 Jun 2025
- 2025Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference Serving10 Apr 2025
- 2025Position: Neglecting the Sustainability of AI is Fuelling a Global AI Arms Race27 Feb 2025
- 2025Mixtera: A Data Plane for Foundation Model Training27 Feb 2025
- 2025GPUs, CPUs, and... NICs: Rethinking the Network's Role in Serving Complex AI Pipelines22 Jan 2025
23 more
- 2024PREBA: A Hardware/Software Co-Design for Multi-Instance GPU based AI Inference Servers28 Nov 2024
- 2024TensorSocket: Shared Data Loading for Deep Learning Training27 Sep 2024
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Training16 Jul 2024
- 2024FastPersist: Accelerating Model Checkpointing in Deep Learning19 Jun 2024
- 2024PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models11 Jun 2024
- 2024cedar: Optimized and Unified Machine Learning Input Data Pipelines17 Jan 2024
- 2023Reducing Energy Bloat in Large Model Training12 Dec 2023
- 2023InTune: Reinforcement Learning-based Data Pipeline Optimization for Deep Recommendation Models13 Aug 2023
- 2023FFCV: Accelerating Training by Removing Data Bottlenecks21 Jun 2023
- 2023[Experiments & Analysis] Evaluating the Feasibility of Sampling-Based Techniques for Training Multilayer Perceptrons15 Jun 2023
- 2022A Study on the Intersection of GPU Utilization and CNN Inference15 Dec 2022
- 2022tf.data service: A Case for Disaggregating ML Input Data Processing26 Oct 2022
- 2022An Overview of the Data-Loader Landscape: Comparative Performance Analysis27 Sep 2022
- 2022L3: Accelerator-Friendly Lossless Image Format for High-Resolution, High-Throughput DNN Training18 Aug 2022
- 2022DataPerf: Benchmarks for Data-Centric AI Development20 Jul 2022
- 2022Where Is My Training Bottleneck? Hidden Trade-Offs in Deep Learning Preprocessing Pipelines17 Feb 2022
- 2022Egeria: Efficient DNN Training with Knowledge-Guided Layer Freezing17 Jan 2022
- 2021Plumber: Diagnosing and Removing Performance Bottlenecks in Machine Learning Data Pipelines7 Nov 2021
- 2021Characterizing and Taming Resolution in Convolutional Neural Networks28 Oct 2021
- 2021Synergy: Resource Sensitive DNN Scheduling in Multi-Tenant Clusters12 Oct 2021
- 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Training20 Aug 2021
- 2021Accelerating Recommendation System Training by Leveraging Popular Choices1 Mar 2021
- 2021tf.data: A Machine Learning Data Processing Framework28 Jan 2021
- 2022DataPerf: Benchmarks for Data-Centric AI Developmentcited by 89
- 2023FFCV: Accelerating Training by Removing Data Bottleneckscited by 49
- 2021tf.data: A Machine Learning Data Processing Frameworkcited by 40
- 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Trainingcited by 28
- 2021Accelerating Recommendation System Training by Leveraging Popular Choicescited by 22
- 2022Egeria: Efficient DNN Training with Knowledge-Guided Layer Freezingcited by 22
- 2023Reducing Energy Bloat in Large Model Trainingcited by 22
- 2021Plumber: Diagnosing and Removing Performance Bottlenecks in Machine Learning Data Pipelinescited by 15
- 2022tf.data service: A Case for Disaggregating ML Input Data Processingcited by 15
- 2022Where Is My Training Bottleneck? Hidden Trade-Offs in Deep Learning Preprocessing Pipelinescited by 10
- 2024FastPersist: Accelerating Model Checkpointing in Deep Learningcited by 6
- 2024cedar: Optimized and Unified Machine Learning Input Data Pipelinescited by 5
12 most cited of 34 All 34 (JSON)
- 2026A principled approach for energy-efficient training via phase-aware GPU frequency tuning21 Sep 2026
- 2026RGB Input Pipelines: Throughput, GPU Memory, and Transformation Coverage6 Sep 2026
- 2026VersaDB: A High-Performance AI Storage Database for Unifying Mutimodal Datasets24 Aug 2026
- 2026MLSYSIM: First-Principles Infrastructure Modeling for Machine Learning Systems28 Jun 2026
- 2026GetBatch: Distributed Multi-Object Retrieval for ML Data Loading25 Feb 2026
- 2025Preparation Meets Opportunity: Enhancing Data Preprocessing for ML Training With Seneca24 Sep 2025
- 2025MinatoLoader: Accelerating Machine Learning Training Through Efficient Data Preprocessing12 Sep 2025
- 2025Optimizing Cloud-to-GPU Throughput for Deep Learning With Earth Observation Data6 Jun 2025
- 2025Position: Neglecting the Sustainability of AI is Fuelling a Global AI Arms Race27 Feb 2025
- 2025Mixtera: A Data Plane for Foundation Model Training27 Feb 2025
- 2025GPUs, CPUs, and... NICs: Rethinking the Network's Role in Serving Complex AI Pipelines22 Jan 2025
- 2024PREBA: A Hardware/Software Co-Design for Multi-Instance GPU based AI Inference Servers28 Nov 2024
12 newest of 34 All 34 (JSON)