mlsanityData to 7 Oct 2026

tf.data service: A Case for Disaggregating ML Input Data Processing

arXiv 2210.14826 ↗First posted 26 Oct 2022cs.LG cs.DCcited by 15

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  5. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
  6. 2019A Survey on Distributed Machine Learningcited by 187
  7. 2021tf.data: A Machine Learning Data Processing Frameworkcited by 40
  8. 2022How Much Data Are Augmentations Worth? An Investigation into Scaling Laws, Invariance, and Implicit Regularizationcited by 40
  9. 2020Analyzing and Mitigating Data Stalls in DNN Trainingcited by 35
  10. 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Trainingcited by 28
  11. 2020Neural Data Server: A Large-Scale Search Engine for Transfer Learning Datacited by 27
  12. 2019Faster Neural Network Training with Data Echoingcited by 19
3 more
  1. 2021Plumber: Diagnosing and Removing Performance Bottlenecks in Machine Learning Data Pipelinescited by 15
  2. 2022Scalable Neural Data Server: A Data Recommender for Transfer Learningcited by 4
  3. 2018Pay One, Get Hundreds for Free: Reducing Cloud Costs through Shared Query Executioncited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 8; 2025: 5; 2026: 2.

15 papers.

Sort: