tf.data: A Machine Learning Data Processing Framework
Not on the map. Why?
Abstract (arXiv)
Training machine learning models requires feeding input data for models to ingest. Input pipelines for machine learning jobs are often challenging to implement efficiently as they require reading large volumes of data, applying complex transformations, and transferring data to hardware accelerators while overlapping computation and communication to achieve optimal performance. We present tf.data, a framework for building and executing efficient input pipelines for machine learning jobs. The tf.data API provides operators which can be parameterized with user-defined computation, composed, and reused across different machine learning domains. These abstractions allow users to focus on the application logic of data processing, while tf.data's runtime ensures that pipelines run efficiently. We demonstrate that input pipeline performance is critical to the end-to-end training time of state-of-the-art machine learning models. tf.data delivers the high performance required, while avoiding the need for manual tuning of performance knobs. We show that tf.data features, such as parallelism, caching, static optimizations, and non-deterministic execution are essential for high performance. Finally, we characterize machine learning input pipelines for millions of jobs that ran in Google's fleet, showing that input data processing is highly diverse and consumes a significant fraction of job resources. Our analysis motivates future research directions, such as sharing computation across jobs and pushing data projection to the storage layer.
Key facts. Cited by 41 papers in the map (data through 14 Oct 2026). Builds on 18 of its 64 references that are in the map. First posted on arXiv 28 Jan 2021.
Builds on
18 of 64 references.
References · 18
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2017Mask R-CNNcited by 7,277
- 2015SSD: Single Shot MultiBox Detectorcited by 3,130
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2019MLPerf Training Benchmarkcited by 115
- 2020MLIR: A Compiler Infrastructure for the End of Moore's Lawcited by 65
6 more
- 2020Analyzing and Mitigating Data Stalls in DNN Trainingcited by 36
- 2019Faster Neural Network Training with Data Echoingcited by 20
- 2019Extending Relational Query Processing with ML Inferencecited by 15
- 2020Jointly Optimizing Preprocessing and Inference for DNN-based Visual Analyticscited by 11
- 2018AutoGraph: Imperative-style Coding with Graph-based Performancecited by 9
- 2018Helix: Accelerating Human-in-the-loop Machine Learningcited by 2
Built on by
Citing papers per year: 2021: 3; 2022: 7; 2023: 4; 2024: 9; 2025: 11; 2026: 7.
41 papers.
Sort:
By area:
- 2022DataPerf: Benchmarks for Data-Centric AI Developmentcited by 90
- 2023FFCV: Accelerating Training by Removing Data Bottleneckscited by 49
- 2024Characterization of Large Language Model Development in the Datacentercited by 46
- 2023Towards Federated Foundation Models: Scalable Dataset Pipelines for Group-Structured Learningcited by 29
- 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Trainingcited by 28
- 2021Plumber: Diagnosing and Removing Performance Bottlenecks in Machine Learning Data Pipelinescited by 16
- 2022End-to-end Optimization of Machine Learning Prediction Queriescited by 16
- 2022tf.data service: A Case for Disaggregating ML Input Data Processingcited by 16
- 2022Where Is My Training Bottleneck? Hidden Trade-Offs in Deep Learning Preprocessing Pipelinescited by 10
- 2024cedar: Optimized and Unified Machine Learning Input Data Pipelinescited by 6
- 2023Modyn: Data-Centric Machine Learning Pipeline Orchestrationcited by 5
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Trainingcited by 5
29 more
- 2024TensorSocket: Shared Data Loading for Deep Learning Trainingcited by 4
- 2025MegaScale-Data: Scaling Dataloader for Multisource Large Foundation Model Trainingcited by 4
- 2023InTune: Reinforcement Learning-based Data Pipeline Optimization for Deep Recommendation Modelscited by 3
- 2024I/O in Machine Learning Applications on HPC Systems: A 360-degree Surveycited by 3
- 2025The Streaming Batch Model for Efficient and Fault-Tolerant Heterogeneous Executioncited by 3
- 2025Mixtera: A Data Plane for Foundation Model Trainingcited by 3
- 2025ShadowServe: Interference-Free KV Cache Fetching for Distributed Prefix Cachingcited by 3
- 2024PreSto: An In-Storage Data Preprocessing System for Training Recommendation Modelscited by 2
- 2025Machine Learning Fleet Efficiency: Analyzing and Optimizing Large-Scale Google TPU Systems with ML Productivity Goodputcited by 2
- 2025MinatoLoader: Accelerating Machine Learning Training Through Efficient Data Preprocessingcited by 2
- 2024Bullion: A Column Store for Machine Learningcited by 1
- 2025GPUs, CPUs, and... NICs: Rethinking the Network's Role in Serving Complex AI Pipelinescited by 1
- 2025Analytics Modelling over Multiple Datasets using Vector Embeddingscited by 1
- 2021Synergy: Resource Sensitive DNN Scheduling in Multi-Tenant Clusterscited by 0
- 2022A Machine Learning Data Fusion Model for Soil Moisture Retrievalcited by 0
- 2022L3: Accelerator-Friendly Lossless Image Format for High-Resolution, High-Throughput DNN Trainingcited by 0
- 2022Accelerating Transfer Learning with Near-Data Computation on Cloud Object Storescited by 0
- 2024KerasCV and KerasNLP: Vision and Language Power-Upscited by 0
- 2024Efficient Tabular Data Preprocessing of ML Pipelinescited by 0
- 2025Accelerating Recommender Model ETL with a Streaming FPGA-GPU Dataflowcited by 0
- 2025MaLV-OS: Rethinking the Operating System Architecture for Machine Learning in Virtualized Cloudscited by 0
- 2025Preparation Meets Opportunity: Enhancing Data Preprocessing for ML Training With Senecacited by 0
- 2026Joint Optimization of Storage and Loading for High-Performance 3D Point Cloud Data Processingcited by 0
- 2026Versioned Late Materialization for Ultra-Long Sequence Training in Recommendation Systems at Scalecited by 0
- 2026BatchWeave: A Consistent Object-Store-Native Data Plane for Large Foundation Model Trainingcited by 0
- 2026MLSYSIM: First-Principles Infrastructure Modeling for Machine Learning Systemscited by 0
- 2026FoldPipe: Bounded Remote Streaming of Native Molecular Shards with Asynchronous Prefetchcited by 0
- 2026A principled approach for energy-efficient training via phase-aware GPU frequency tuningcited by 0
- 2026Zephon: Elastic Determinism for Online, Stateful Foundation Model Data Loading Pipelinescited by 0
- 2026Zephon: Elastic Determinism for Online, Stateful Foundation Model Data Loading Pipelines2 Oct 2026
- 2026A principled approach for energy-efficient training via phase-aware GPU frequency tuning21 Sep 2026
- 2026FoldPipe: Bounded Remote Streaming of Native Molecular Shards with Asynchronous Prefetch27 Aug 2026
- 2026MLSYSIM: First-Principles Infrastructure Modeling for Machine Learning Systems28 Jun 2026
- 2026BatchWeave: A Consistent Object-Store-Native Data Plane for Large Foundation Model Training11 May 2026
- 2026Versioned Late Materialization for Ultra-Long Sequence Training in Recommendation Systems at Scale27 Apr 2026
- 2026Joint Optimization of Storage and Loading for High-Performance 3D Point Cloud Data Processing16 Mar 2026
- 2025Preparation Meets Opportunity: Enhancing Data Preprocessing for ML Training With Seneca24 Sep 2025
- 2025ShadowServe: Interference-Free KV Cache Fetching for Distributed Prefix Caching21 Sep 2025
- 2025MinatoLoader: Accelerating Machine Learning Training Through Efficient Data Preprocessing12 Sep 2025
- 2025MaLV-OS: Rethinking the Operating System Architecture for Machine Learning in Virtualized Clouds5 Aug 2025
- 2025MegaScale-Data: Scaling Dataloader for Multisource Large Foundation Model Training14 Apr 2025
29 more
- 2025Mixtera: A Data Plane for Foundation Model Training27 Feb 2025
- 2025Analytics Modelling over Multiple Datasets using Vector Embeddings24 Feb 2025
- 2025Machine Learning Fleet Efficiency: Analyzing and Optimizing Large-Scale Google TPU Systems with ML Productivity Goodput10 Feb 2025
- 2025GPUs, CPUs, and... NICs: Rethinking the Network's Role in Serving Complex AI Pipelines22 Jan 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
- 2024TensorSocket: Shared Data Loading for Deep Learning Training27 Sep 2024
- 2024Efficient Tabular Data Preprocessing of ML Pipelines23 Sep 2024
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Training16 Jul 2024
- 2024PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models11 Jun 2024
- 2024KerasCV and KerasNLP: Vision and Language Power-Ups30 May 2024
- 2024I/O in Machine Learning Applications on HPC Systems: A 360-degree Survey16 Apr 2024
- 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
- 2023Modyn: Data-Centric Machine Learning Pipeline Orchestration11 Dec 2023
- 2023InTune: Reinforcement Learning-based Data Pipeline Optimization for Deep Recommendation Models13 Aug 2023
- 2023Towards Federated Foundation Models: Scalable Dataset Pipelines for Group-Structured Learning18 Jul 2023
- 2023FFCV: Accelerating Training by Removing Data Bottlenecks21 Jun 2023
- 2022tf.data service: A Case for Disaggregating ML Input Data Processing26 Oct 2022
- 2022Accelerating Transfer Learning with Near-Data Computation on Cloud Object Stores16 Oct 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
- 2022A Machine Learning Data Fusion Model for Soil Moisture Retrieval20 Jun 2022
- 2022End-to-end Optimization of Machine Learning Prediction Queries31 May 2022
- 2022Where Is My Training Bottleneck? Hidden Trade-Offs in Deep Learning Preprocessing Pipelines17 Feb 2022
- 2021Plumber: Diagnosing and Removing Performance Bottlenecks in Machine Learning Data Pipelines7 Nov 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
- 2022DataPerf: Benchmarks for Data-Centric AI Developmentcited by 90
- 2023FFCV: Accelerating Training by Removing Data Bottleneckscited by 49
- 2024Characterization of Large Language Model Development in the Datacentercited by 46
- 2023Towards Federated Foundation Models: Scalable Dataset Pipelines for Group-Structured Learningcited by 29
- 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Trainingcited by 28
- 2021Plumber: Diagnosing and Removing Performance Bottlenecks in Machine Learning Data Pipelinescited by 16
- 2022End-to-end Optimization of Machine Learning Prediction Queriescited by 16
- 2022tf.data service: A Case for Disaggregating ML Input Data Processingcited by 16
- 2022Where Is My Training Bottleneck? Hidden Trade-Offs in Deep Learning Preprocessing Pipelinescited by 10
- 2024cedar: Optimized and Unified Machine Learning Input Data Pipelinescited by 6
- 2023Modyn: Data-Centric Machine Learning Pipeline Orchestrationcited by 5
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Trainingcited by 5
12 most cited of 40 All 40 (JSON)
- 2026Zephon: Elastic Determinism for Online, Stateful Foundation Model Data Loading Pipelines2 Oct 2026
- 2026A principled approach for energy-efficient training via phase-aware GPU frequency tuning21 Sep 2026
- 2026FoldPipe: Bounded Remote Streaming of Native Molecular Shards with Asynchronous Prefetch27 Aug 2026
- 2026MLSYSIM: First-Principles Infrastructure Modeling for Machine Learning Systems28 Jun 2026
- 2026BatchWeave: A Consistent Object-Store-Native Data Plane for Large Foundation Model Training11 May 2026
- 2026Versioned Late Materialization for Ultra-Long Sequence Training in Recommendation Systems at Scale27 Apr 2026
- 2026Joint Optimization of Storage and Loading for High-Performance 3D Point Cloud Data Processing16 Mar 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
- 2025MaLV-OS: Rethinking the Operating System Architecture for Machine Learning in Virtualized Clouds5 Aug 2025
- 2025MegaScale-Data: Scaling Dataloader for Multisource Large Foundation Model Training14 Apr 2025
- 2025Mixtera: A Data Plane for Foundation Model Training27 Feb 2025
12 newest of 40 All 40 (JSON)