[Paper Review] Understanding and Co-designing the Data Ingestion Pipeline for Industry-Scale RecSys Training.
This paper proposes a disaggregated data ingestion pipeline for industry-scale recommendation system training, decoupling preprocessing from trainers using a distributed data warehouse and a scalable Data PreProcessing Service (DPP). The solution increases storage and preprocessing throughput by 1.9x and 2.3x, respectively, reducing training throughput loss by up to 56% due to data stalls.
The data ingestion pipeline, responsible for storing and preprocessing training data, is an important component of any machine learning training job. At Facebook, we use recommendation models extensively across our services. The data ingestion requirements to train these models are substantial. In this paper, we present an extensive characterization of the data ingestion challenges for industry-scale recommendation model training. First, dataset storage requirements are massive and variable; exceeding local storage capacities. Secondly, reading and preprocessing data is computationally expensive, requiring substantially more compute, memory, and network resources than are available on trainers themselves. These demands result in drastically reduced training throughput, and thus wasted GPU resources, when current on-trainer preprocessing solutions are used. To address these challenges, we present a disaggregated data ingestion pipeline. It includes a central data warehouse built on distributed storage nodes. We introduce Data PreProcessing Service (DPP), a fully disaggregated preprocessing service that scales to hundreds of nodes, eliminating data stalls that can reduce training throughput by 56%. We implement important optimizations across storage and DPP, increasing storage and preprocessing throughput by 1.9x and 2.3x, respectively, addressing the substantial power requirements of data ingestion. We close with lessons learned and cover the important remaining challenges and opportunities surrounding data ingestion at scale.
Motivation & Objective
- To address the severe performance bottlenecks caused by massive, variable dataset storage and computationally expensive preprocessing in industry-scale recommendation system training.
- To reduce training throughput degradation caused by data ingestion delays, which currently waste GPU resources due to on-trainer preprocessing.
- To design a scalable, distributed data ingestion pipeline that decouples data preprocessing from model training to improve system efficiency and resource utilization.
- To optimize storage and preprocessing workloads to meet the high power and throughput demands of large-scale recommendation training.
Proposed method
- Design and deploy a central data warehouse built on distributed storage nodes to handle massive, variable-sized datasets beyond local trainer capacity.
- Introduce the Data PreProcessing Service (DPP), a fully disaggregated preprocessing system that scales across hundreds of nodes to eliminate data stalls.
- Implement workload-aware optimizations across storage and DPP to improve data throughput and reduce latency in data delivery to trainers.
- Decouple preprocessing from training by offloading it to dedicated infrastructure, reducing the computational burden on GPU trainers.
- Use distributed processing and data sharding to parallelize preprocessing and scale throughput linearly with added nodes.
- Optimize data layout and I/O patterns to minimize network and memory bottlenecks during preprocessing and transfer.
Experimental results
Research questions
- RQ1How can data ingestion bottlenecks be minimized in industry-scale recommendation training with massive, variable-sized datasets?
- RQ2What architectural patterns enable scalable, high-throughput preprocessing without overloading GPU trainers?
- RQ3To what extent can disaggregating preprocessing from training improve training throughput and GPU utilization?
- RQ4How can storage and preprocessing workloads be optimized to reduce power consumption and increase system efficiency?
- RQ5What are the key performance trade-offs and limitations of a distributed, disaggregated data ingestion pipeline at scale?
Key findings
- The disaggregated data ingestion pipeline reduces training throughput loss due to data stalls by up to 56% compared to on-trainer preprocessing.
- Storage throughput is improved by 1.9x through optimized data layout and distributed storage access patterns.
- Preprocessing throughput increases by 2.3x via horizontal scaling of the Data PreProcessing Service (DPP) across hundreds of nodes.
- The solution effectively decouples preprocessing from training, freeing GPU resources and enabling more efficient training workloads.
- The approach addresses substantial power requirements of data ingestion by distributing compute and I/O across dedicated infrastructure.
- The paper identifies remaining challenges in data consistency, fault tolerance, and dynamic workload adaptation for future work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.