InTune: Reinforcement Learning-based Data Pipeline Optimization for Deep Recommendation Models
Not on the map. Why?
Abstract (arXiv)
Deep learning-based recommender models (DLRMs) have become an essential component of many modern recommender systems. Several companies are now building large compute clusters reserved only for DLRM training, driving new interest in cost- and time- saving optimizations. The systems challenges faced in this setting are unique; while typical deep learning training jobs are dominated by model execution, the most important factor in DLRM training performance is often online data ingestion. In this paper, we explore the unique characteristics of this data ingestion problem and provide insights into DLRM training pipeline bottlenecks and challenges. We study real-world DLRM data processing pipelines taken from our compute cluster at Netflix to observe the performance impacts of online ingestion and to identify shortfalls in existing pipeline optimizers. We find that current tooling either yields sub-optimal performance, frequent crashes, or else requires impractical cluster re-organization to adopt. Our studies lead us to design and build a new solution for data pipeline optimization, InTune. InTune employs a reinforcement learning (RL) agent to learn how to distribute the CPU resources of a trainer machine across a DLRM data pipeline to more effectively parallelize data loading and improve throughput. Our experiments show that InTune can build an optimized data pipeline configuration within only a few minutes, and can easily be integrated into existing training workflows. By exploiting the responsiveness and adaptability of RL, InTune achieves higher online data ingestion rates than existing optimizers, thus reducing idle times in model execution and increasing efficiency. We apply InTune to our real-world cluster, and find that it increases data ingestion throughput by as much as 2.29X versus state-of-the-art data pipeline optimizers while also improving both CPU & GPU utilization.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 33 of its 64 references that are in the map. First posted on arXiv 13 Aug 2023.
Builds on
33 of 64 references.
References · 33
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
- 2016Wide & Deep Learning for Recommender Systemscited by 747
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 527
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
- 2021Sustainable AI: Environmental Implications, Challenges and Opportunitiescited by 242
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 179
- 2018PipeDream: Fast and Efficient Pipeline Parallel DNN Trainingcited by 117
- 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
- 2021Software-Hardware Co-design for Fast and Scalable Training of Deep Learning Recommendation Modelscited by 78
21 more
- 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 75
- 2020Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learningcited by 72
- 2020Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloadscited by 56
- 2020Action Space Shaping in Deep Reinforcement Learningcited by 46
- 2020Understanding Training Efficiency of Deep Learning Recommendation Models at Scalecited by 43
- 2021tf.data: A Machine Learning Data Processing Frameworkcited by 41
- 2020Analyzing and Mitigating Data Stalls in DNN Trainingcited by 36
- 2018Learning to Optimize Join Queries With Deep Reinforcement Learningcited by 32
- 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Trainingcited by 28
- 2022RecShard: Statistical Feature-Based Memory Optimization for Industry-Scale Neural Recommendationcited by 28
- 2018Deep Reinforcement Learning for Join Order Enumerationcited by 25
- 2022Merlin HugeCTR: GPU-accelerated Recommender System Training and Inferencecited by 20
- 2021Plumber: Diagnosing and Removing Performance Bottlenecks in Machine Learning Data Pipelinescited by 16
- 2018Learning State Representations for Query Optimization with Deep Reinforcement Learningcited by 14
- 2019DL2: A Deep Learning-driven Scheduler for Deep Learning Clusterscited by 14
- 2022Heterogeneous Acceleration Pipeline for Recommendation System Trainingcited by 13
- 2022Where Is My Training Bottleneck? Hidden Trade-Offs in Deep Learning Preprocessing Pipelinescited by 10
- 2022A GPU-specialized Inference Parameter Server for Large-Scale Deep Recommendation Modelscited by 9
- 2021Model-Parallel Model Selection for Deep Learning Systemscited by 6
- 2023Systems for Parallel and Distributed Large-Model Deep Learning Trainingcited by 4
- 2021Hydra: A System for Large Multi-Model Deep Learningcited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 2.
3 papers.