BagPipe: Accelerating Deep Recommendation Model Training
Not on the map. Why?
Abstract (arXiv)
Deep learning based recommendation models (DLRM) are widely used in several business critical applications. Training such recommendation models efficiently is challenging because they contain billions of embedding-based parameters, leading to significant overheads from embedding access. By profiling existing systems for DLRM training, we observe that around 75% of the iteration time is spent on embedding access and model synchronization. Our key insight in this paper is that embedding access has a specific structure which can be used to accelerate training. We observe that embedding accesses are heavily skewed, with around 1% of embeddings representing more than 92% of total accesses. Further, we observe that during offline training we can lookahead at future batches to determine exactly which embeddings will be needed at what iteration in the future. Based on these insights, we develop Bagpipe, a system for training deep recommendation models that uses caching and prefetching to overlap remote embedding accesses with the computation. We design an Oracle Cacher, a new component that uses a lookahead algorithm to generate optimal cache update decisions while providing strong consistency guarantees against staleness. We also design a logically replicated, physically partitioned cache and show that our design can reduce synchronization overheads in a distributed setting. Finally, we propose a disaggregated system architecture and show that our design can enable low-overhead fault tolerance. Our experiments using three datasets and four models show that Bagpipe provides a speed up of up to 5.6x compared to state of the art baselines, while providing the same convergence and reproducibility guarantees as synchronous training.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 26 of its 77 references that are in the map. First posted on arXiv 24 Feb 2022.
Builds on
26 of 77 references.
References · 26
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2017Neural Collaborative Filteringcited by 1,108
- 2016Wide & Deep Learning for Recommender Systemscited by 745
- 2017DeepFM: A Factorization-Machine based Neural Network for CTR Predictioncited by 673
- 2018Local SGD Converges Fast and Communicates Littlecited by 595
- 2017Deep & Cross Network for Ad Click Predictionscited by 392
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2020FedML: A Research Library and Benchmark for Federated Machine Learningcited by 298
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
- 2019MLPerf Training Benchmarkcited by 114
- 2016Improved Recurrent Neural Networks for Session-based Recommendationscited by 86
- 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
14 more
- 2021Software-Hardware Co-design for Fast and Scalable Training of Deep Learning Recommendation Modelscited by 78
- 2021TT-Rec: Tensor Train Compression for Deep Learning Recommendation Modelscited by 58
- 2020DeepRecSys: A System for Optimizing End-To-End At-scale Neural Recommendation Inferencecited by 54
- 2019RecNMP: Accelerating Personalized Recommendation with Near-Memory Processingcited by 49
- 2020Understanding Training Efficiency of Deep Learning Recommendation Models at Scalecited by 43
- 2021RecSSD: Near Data Processing for Solid State Drive Based Recommendation Inferencecited by 35
- 2021Marius: Learning Massive Graph Embeddings on a Single Machinecited by 29
- 2021HET: Scaling out Huge Embedding Model Training via Cache-enabled Distributed Frameworkcited by 28
- 2018Learning from History and Present: Next-item Recommendation via Discriminatively Exploiting User Behaviorscited by 27
- 2017Related Pins at Pinterest: The Evolution of a Real-World Recommender Systemcited by 24
- 2018Exploring Hidden Dimensions in Parallelizing Convolutional Neural Networkscited by 23
- 2021Accelerating Recommendation System Training by Leveraging Popular Choicescited by 22
- 2020Training Recommender Systems at Scale: Communication-Efficient Model and Data Parallelismcited by 15
- 2020Time-based Sequence Model for Personalization and Recommendation Systemscited by 11
Built on by
Citing papers per year: 2022: 1; 2023: 0; 2024: 1; 2025: 4; 2026: 4.
10 papers.
- 2022Heterogeneous Acceleration Pipeline for Recommendation System Trainingcited by 13
- 2024Stochastic Communication Avoidance for Recommendation Systemscited by 0
- 2025SCRec: A Scalable Computational Storage System with Statistical Sharding and Tensor-train Decomposition for Recommendation Modelscited by 0
- 2025MLKV: Efficiently Scaling up Large Embedding Model Training with Disk-based Key-Value Storagecited by 0
- 2025Tesserae: Scalable Placement Policies for Deep Learning Workloadscited by 0
- 2025Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworkscited by 0
- 2026Efficient Content-based Recommendation Model Training via Noise-aware Coreset Selectioncited by 0
- 2026GRAB: An LLM-Inspired Sequence-First Click-Through Rate Prediction Modeling Paradigmcited by 0
- 2026NestPipe: Large-Scale Recommendation Training on 1,500+ Accelerators via Nested Pipeliningcited by 0
- 2026Reducing the GPU Memory Bottleneck with Lossless Compression for ML -- Extendedcited by 0
- 2026Reducing the GPU Memory Bottleneck with Lossless Compression for ML -- Extended29 May 2026
- 2026NestPipe: Large-Scale Recommendation Training on 1,500+ Accelerators via Nested Pipelining8 Apr 2026
- 2026GRAB: An LLM-Inspired Sequence-First Click-Through Rate Prediction Modeling Paradigm2 Feb 2026
- 2026Efficient Content-based Recommendation Model Training via Noise-aware Coreset Selection15 Jan 2026
- 2025Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworks12 Sep 2025
- 2025Tesserae: Scalable Placement Policies for Deep Learning Workloads7 Aug 2025
- 2025MLKV: Efficiently Scaling up Large Embedding Model Training with Disk-based Key-Value Storage2 Apr 2025
- 2025SCRec: A Scalable Computational Storage System with Statistical Sharding and Tensor-train Decomposition for Recommendation Models1 Apr 2025
- 2024Stochastic Communication Avoidance for Recommendation Systems3 Nov 2024
- 2022Heterogeneous Acceleration Pipeline for Recommendation System Training11 Apr 2022