Lune

MICRO2021Top-tier venue

RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and Performance

Udit Gupta, Samuel Hsia, Jeff Zhang, Mark Wilkening, Javin Pombra, Hsien-Hsin Sean Lee, Gu-Yeon Wei, Carole-Jean Wu, David Brooks

Abstract

Deep learning recommendation systems must provide high quality, personalized content under strict tail-latency targets and high system loads. This paper presents RecPipe, a system to jointly optimize recommendation quality and inference performance. Central to RecPipe is decomposing recommendation models into multi-stage pipelines to maintain quality while reducing compute complexity and exposing distinct parallelism opportunities. RecPipe implements an inference scheduler to map multi-stage recommendation engines onto commodity, heterogeneous platforms (e.g., CPUs, GPUs). While the hardware-aware scheduling improves ranking efficiency, the commodity platforms suffer from many limitations requiring specialized hardware. Thus, we design RecPipeAccel (RPAccel), a custom accelerator that jointly optimizes quality, tail-latency, and system throughput. RPAccel is designed specifically to exploit the distinct design space opened via RecPipe. In particular, RPAccel processes queries in sub-batches to pipeline recommendation stages, implements dual static and dynamic embedding caches, a set of top-k filtering units, and a reconfigurable systolic array. Compared to previously proposed specialized recommendation accelerators and at iso-quality, we demonstrate that RPAccel improves latency and throughput by 3 × and 6 ×.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Planaria: Dynamic Architecture Fission for Spatial Multi-Tenant Acceleration of Deep Neural Networks cites PREMA: A Predictive Multi-Task Scheduling Algorithm For Preemptible Neural Processing Units
  • DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference cites PREMA: A Predictive Multi-Task Scheduling Algorithm For Preemptible Neural Processing Units
  • ElasticRec: A Microservice-based Model Serving Architecture Enabling Elastic Resource Scaling for Recommendation Models cites DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
  • ElasticRec: A Microservice-based Model Serving Architecture Enabling Elastic Resource Scaling for Recommendation Models cites RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
  • ElasticRec: A Microservice-based Model Serving Architecture Enabling Elastic Resource Scaling for Recommendation Models cites MP-Rec: Hardware-Software Co-design to Enable Multi-path Recommendation
  • Heterogeneous Dataflow Accelerators for Multi-DNN Workloads cites PREMA: A Predictive Multi-Task Scheduling Algorithm For Preemptible Neural Processing Units
  • PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models cites DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
  • PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models cites RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
  • PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models cites MP-Rec: Hardware-Software Co-design to Enable Multi-path Recommendation
  • MP-Rec: Hardware-Software Co-design to Enable Multi-path Recommendation cites DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
  • MP-Rec: Hardware-Software Co-design to Enable Multi-path Recommendation cites RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
  • Efficient Memory Side-Channel Protection for Embedding Generation in Machine Learning cites DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
  • Efficient Memory Side-Channel Protection for Embedding Generation in Machine Learning cites MP-Rec: Hardware-Software Co-design to Enable Multi-path Recommendation
  • Pushing the Performance Envelope of DNN-based Recommendation Systems Inference on GPUs cites DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
  • Pushing the Performance Envelope of DNN-based Recommendation Systems Inference on GPUs cites RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. MP-Rec: Hardware-Software Co-design to Enable Multi-path RecommendationSamuel Hsia, Udit Gupta, Bilge Acun, Newsha Ardalani et al.ASPLOS 2023 · 10 citations
  2. PreSto: An In-Storage Data Preprocessing System for Training Recommendation ModelsYunjae Lee, Hyeseong Kim, Minsoo RhuISCA 2024 · 8 citations
  3. Pushing the Performance Envelope of DNN-based Recommendation Systems Inference on GPUsRishabh Jain, Vivek M. Bhasi, Adwait Jog, Anand Sivasubramaniam et al.MICRO 2024 · 5 citations
  4. ElasticRec: A Microservice-based Model Serving Architecture Enabling Elastic Resource Scaling for Recommendation ModelsYujeong Choi, Jiin Kim, Minsoo RhuISCA 2024 · 2 citations
  5. Efficient Memory Side-Channel Protection for Embedding Generation in Machine LearningMuhammad Umar, Akhilesh Parag Marathe, Monami Dutta Gupta, Shubham Jogprakash Ghosh et al.HPCA 2025 · 2 citations

Builds on12

  1. RecNMP: Accelerating Personalized Recommendation with Near-Memory ProcessingLiu Ke, Udit Gupta, Benjamin Youngjae Cho, David Brooks et al.ISCA 2020 · 235 citations
  2. PREMA: A Predictive Multi-Task Scheduling Algorithm For Preemptible Neural Processing UnitsYujeong Choi, Minsoo RhuHPCA 2020 · 150 citations
  3. DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation InferenceUdit Gupta, Samuel Hsia, Vikram Saraph, Xiaodong Wang et al.ISCA 2020 · 149 citations
  4. Heterogeneous Dataflow Accelerators for Multi-DNN WorkloadsHyoukjun Kwon, Liangzhen Lai, Michael Pellauer, Tushar Krishna et al.HPCA 2021 · 143 citations
  5. Planaria: Dynamic Architecture Fission for Spatial Multi-Tenant Acceleration of Deep Neural NetworksSoroush Ghodrati, Byung Hoon Ahn, Joon Kyung Kim, Sean Kinzer et al.MICRO 2020 · 120 citations

Related papers

  1. RECom: A Compiler Approach to Accelerating Recommendation Model Inference with Massive Embedding ColumnsZaifeng Pan, Zhen Zheng, Feng Zhang, Ruofan Wu et al.ASPLOS 2023 · 7 citations
  2. Training personalized recommendation systems from (GPU) scratch: look forward not backwardsYoungeun Kwon, Minsoo RhuISCA 2022 · 24 citations
  3. RecFlow: Unlocking GPU Efficiency for DLRM Inference via Fine-Grained Parallelism and Incremental BatchingSiheng Pan, Shaolong Li, Minwei Zhang, Shuxi Guo et al.INFOCOM 2026
  4. Fleche: an efficient GPU embedding cache for personalized recommendationsMinhui Xie, Youyou Lu, Jiazhen Lin, Qing Wang et al.EuroSys 2022 · 24 citations
  5. Load and MLP-Aware Thread Orchestration for Recommendation Systems Inference on CPUsRishabh Jain, Teyuh Chou, Onur Kayiran, John Kalamatianos et al.ASPLOS 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines