tf.data service: A Case for Disaggregating ML Input Data Processing
Not on the map. Why?
Abstract (arXiv)
Machine learning (ML) computations commonly execute on expensive specialized hardware, such as GPUs and TPUs, which provide high FLOPs and performance-per-watt. For cost efficiency, it is essential to keep these accelerators highly utilized. This requires preprocessing input data at the rate at which the accelerators can ingest and perform ML computations on the data. To avoid data stalls, the host CPU and RAM required for input data processing per accelerator core used for ML computations varies across jobs. Hence, the traditional approach of processing input data on ML accelerator hosts with a fixed hardware ratio leads to either under-utilizing the accelerators or the host CPU and RAM. In this paper, we address these concerns by building a disaggregated ML data processing system. We present tf.data service, an open-source disaggregated input data processing service built on top of tf.data in TensorFlow. We show that disaggregating data preprocessing has three key advantages for large-scale ML training jobs. First, the service can horizontally scale-out to right-size CPU/RAM host resources for data processing in each job, saving 32x training time and 26x cost, on average. Second, the service can share ephemeral preprocessed data results across jobs, to optimize CPU usage and reduce redundant computations. Finally, the service supports coordinated reads, a technique that avoids stragglers due to different input sizes in distributed training, reducing training time by 2.2x, on average. Our design is inspired by lessons learned from deploying tf.data service in production, including relaxing data visitation guarantees without impacting model accuracy.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 15 of its 62 references that are in the map. First posted on arXiv 26 Oct 2022.
Builds on
15 of 62 references.
References · 15
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
- 2019A Survey on Distributed Machine Learningcited by 187
- 2021tf.data: A Machine Learning Data Processing Frameworkcited by 40
- 2022How Much Data Are Augmentations Worth? An Investigation into Scaling Laws, Invariance, and Implicit Regularizationcited by 40
- 2020Analyzing and Mitigating Data Stalls in DNN Trainingcited by 35
- 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Trainingcited by 28
- 2020Neural Data Server: A Large-Scale Search Engine for Transfer Learning Datacited by 27
- 2019Faster Neural Network Training with Data Echoingcited by 19
Built on by
Citing papers per year: 2024: 8; 2025: 5; 2026: 2.
15 papers.
Sort:
- 2024Characterization of Large Language Model Development in the Datacentercited by 46
- 2024cedar: Optimized and Unified Machine Learning Input Data Pipelinescited by 5
- 2024I/O in Machine Learning Applications on HPC Systems: A 360-degree Surveycited by 3
- 2024TensorSocket: Shared Data Loading for Deep Learning Trainingcited by 3
- 2025The Streaming Batch Model for Efficient and Fault-Tolerant Heterogeneous Executioncited by 3
- 2025MegaScale-Data: Scaling Dataloader for Multisource Large Foundation Model Trainingcited by 3
- 2024PreSto: An In-Storage Data Preprocessing System for Training Recommendation Modelscited by 2
- 2024Hydraulis: Balancing Large Transformer Model Training via Co-designing Parallel Strategies and Data Assignmentcited by 2
- 2025Position: Neglecting the Sustainability of AI is Fuelling a Global AI Arms Racecited by 2
- 2024Bullion: A Column Store for Machine Learningcited by 1
- 2024Efficient Tabular Data Preprocessing of ML Pipelinescited by 0
- 2025Accelerating Recommender Model ETL with a Streaming FPGA-GPU Dataflowcited by 0
3 more
- 2025Preparation Meets Opportunity: Enhancing Data Preprocessing for ML Training With Senecacited by 0
- 2026BatchWeave: A Consistent Object-Store-Native Data Plane for Large Foundation Model Trainingcited by 0
- 2026Minibatch persistency, eight years later: what batch reuse costs in steps and joules, and what it saves in datacited by 0
- 2026Minibatch persistency, eight years later: what batch reuse costs in steps and joules, and what it saves in data12 Sep 2026
- 2026BatchWeave: A Consistent Object-Store-Native Data Plane for Large Foundation Model Training11 May 2026
- 2025Preparation Meets Opportunity: Enhancing Data Preprocessing for ML Training With Seneca24 Sep 2025
- 2025MegaScale-Data: Scaling Dataloader for Multisource Large Foundation Model Training14 Apr 2025
- 2025Position: Neglecting the Sustainability of AI is Fuelling a Global AI Arms Race27 Feb 2025
- 2025Accelerating Recommender Model ETL with a Streaming FPGA-GPU Dataflow21 Jan 2025
- 2025The Streaming Batch Model for Efficient and Fault-Tolerant Heterogeneous Execution16 Jan 2025
- 2024Hydraulis: Balancing Large Transformer Model Training via Co-designing Parallel Strategies and Data Assignment10 Dec 2024
- 2024TensorSocket: Shared Data Loading for Deep Learning Training27 Sep 2024
- 2024Efficient Tabular Data Preprocessing of ML Pipelines23 Sep 2024
- 2024PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models11 Jun 2024
- 2024I/O in Machine Learning Applications on HPC Systems: A 360-degree Survey16 Apr 2024
3 more
- 2024Bullion: A Column Store for Machine Learning13 Apr 2024
- 2024Characterization of Large Language Model Development in the Datacenter12 Mar 2024
- 2024cedar: Optimized and Unified Machine Learning Input Data Pipelines17 Jan 2024
- 2024Characterization of Large Language Model Development in the Datacentercited by 46
- 2024cedar: Optimized and Unified Machine Learning Input Data Pipelinescited by 5
- 2024I/O in Machine Learning Applications on HPC Systems: A 360-degree Surveycited by 3
- 2024TensorSocket: Shared Data Loading for Deep Learning Trainingcited by 3
- 2025The Streaming Batch Model for Efficient and Fault-Tolerant Heterogeneous Executioncited by 3
- 2025MegaScale-Data: Scaling Dataloader for Multisource Large Foundation Model Trainingcited by 3
- 2024PreSto: An In-Storage Data Preprocessing System for Training Recommendation Modelscited by 2
- 2024Hydraulis: Balancing Large Transformer Model Training via Co-designing Parallel Strategies and Data Assignmentcited by 2
- 2025Position: Neglecting the Sustainability of AI is Fuelling a Global AI Arms Racecited by 2
- 2024Bullion: A Column Store for Machine Learningcited by 1
- 2024Efficient Tabular Data Preprocessing of ML Pipelinescited by 0
- 2025Accelerating Recommender Model ETL with a Streaming FPGA-GPU Dataflowcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Minibatch persistency, eight years later: what batch reuse costs in steps and joules, and what it saves in data12 Sep 2026
- 2026BatchWeave: A Consistent Object-Store-Native Data Plane for Large Foundation Model Training11 May 2026
- 2025Preparation Meets Opportunity: Enhancing Data Preprocessing for ML Training With Seneca24 Sep 2025
- 2025MegaScale-Data: Scaling Dataloader for Multisource Large Foundation Model Training14 Apr 2025
- 2025Position: Neglecting the Sustainability of AI is Fuelling a Global AI Arms Race27 Feb 2025
- 2025Accelerating Recommender Model ETL with a Streaming FPGA-GPU Dataflow21 Jan 2025
- 2025The Streaming Batch Model for Efficient and Fault-Tolerant Heterogeneous Execution16 Jan 2025
- 2024Hydraulis: Balancing Large Transformer Model Training via Co-designing Parallel Strategies and Data Assignment10 Dec 2024
- 2024TensorSocket: Shared Data Loading for Deep Learning Training27 Sep 2024
- 2024Efficient Tabular Data Preprocessing of ML Pipelines23 Sep 2024
- 2024PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models11 Jun 2024
- 2024I/O in Machine Learning Applications on HPC Systems: A 360-degree Survey16 Apr 2024
12 newest of 15 All 15 (JSON)