mlsanityData to 7 Oct 2026

BagPipe: Accelerating Deep Recommendation Model Training

arXiv 2202.12429 ↗First posted 24 Feb 2022cs.DC cs.LGcited by 10

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

  1. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  2. 2017Neural Collaborative Filteringcited by 1,108
  3. 2016Wide & Deep Learning for Recommender Systemscited by 745
  4. 2017DeepFM: A Factorization-Machine based Neural Network for CTR Predictioncited by 673
  5. 2018Local SGD Converges Fast and Communicates Littlecited by 595
  6. 2017Deep & Cross Network for Ad Click Predictionscited by 392
  7. 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
  8. 2020FedML: A Research Library and Benchmark for Federated Machine Learningcited by 298
  9. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
  10. 2019MLPerf Training Benchmarkcited by 114
  11. 2016Improved Recurrent Neural Networks for Session-based Recommendationscited by 86
  12. 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
14 more
  1. 2021Software-Hardware Co-design for Fast and Scalable Training of Deep Learning Recommendation Modelscited by 78
  2. 2021TT-Rec: Tensor Train Compression for Deep Learning Recommendation Modelscited by 58
  3. 2020DeepRecSys: A System for Optimizing End-To-End At-scale Neural Recommendation Inferencecited by 54
  4. 2019RecNMP: Accelerating Personalized Recommendation with Near-Memory Processingcited by 49
  5. 2020Understanding Training Efficiency of Deep Learning Recommendation Models at Scalecited by 43
  6. 2021RecSSD: Near Data Processing for Solid State Drive Based Recommendation Inferencecited by 35
  7. 2021Marius: Learning Massive Graph Embeddings on a Single Machinecited by 29
  8. 2021HET: Scaling out Huge Embedding Model Training via Cache-enabled Distributed Frameworkcited by 28
  9. 2018Learning from History and Present: Next-item Recommendation via Discriminatively Exploiting User Behaviorscited by 27
  10. 2017Related Pins at Pinterest: The Evolution of a Real-World Recommender Systemcited by 24
  11. 2018Exploring Hidden Dimensions in Parallelizing Convolutional Neural Networkscited by 23
  12. 2021Accelerating Recommendation System Training by Leveraging Popular Choicescited by 22
  13. 2020Training Recommender Systems at Scale: Communication-Efficient Model and Data Parallelismcited by 15
  14. 2020Time-based Sequence Model for Personalization and Recommendation Systemscited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 0; 2024: 1; 2025: 4; 2026: 4.

10 papers.