mlsanityData to 7 Oct 2026

Pushing the Performance Envelope of DNN-based Recommendation Systems Inference on GPUs

arXiv 2410.22249 ↗First posted 29 Oct 2024cs.AR cs.DB cs.IRcited by 0

Not on the map. Why?

Abstract (arXiv)

Personalized recommendation is a ubiquitous application on the internet, with many industries and hyperscalers extensively leveraging Deep Learning Recommendation Models (DLRMs) for their personalization needs (like ad serving or movie suggestions). With growing model and dataset sizes pushing computation and memory requirements, GPUs are being increasingly preferred for executing DLRM inference. However, serving newer DLRMs, while meeting acceptable latencies, continues to remain challenging, making traditional deployments increasingly more GPU-hungry, resulting in higher inference serving costs. In this paper, we show that the embedding stage continues to be the primary bottleneck in the GPU inference pipeline, leading up to a 3.2x embedding-only performance slowdown. To thoroughly grasp the problem, we conduct a detailed microarchitecture characterization and highlight the presence of low occupancy in the standard embedding kernels. By leveraging direct compiler optimizations, we achieve optimal occupancy, pushing the performance by up to 53%. Yet, long memory latency stalls continue to exist. To tackle this challenge, we propose specialized plug-and-play-based software prefetching and L2 pinning techniques, which help in hiding and decreasing the latencies. Further, we propose combining them, as they complement each other. Experimental evaluations using A100 GPUs with large models and datasets show that our proposed techniques improve performance by up to 103% for the embedding stage, and up to 77% for the overall DLRM inference pipeline.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 20 of its 68 references that are in the map. First posted on arXiv 29 Oct 2024.

Builds on

20 of 68 references.

References · 20

  1. 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
  2. 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
  3. 2021Software-Hardware Co-design for Fast and Scalable Training of Deep Learning Recommendation Modelscited by 78
  4. 2020DeepRecSys: A System for Optimizing End-To-End At-scale Neural Recommendation Inferencecited by 54
  5. 2019RecNMP: Accelerating Personalized Recommendation with Near-Memory Processingcited by 49
  6. 2019TensorDIMM: A Practical Near-Memory Processing Architecture for Embeddings and Tensor Operations in Deep Learningcited by 42
  7. 2020Understanding Capacity-Driven Scale-Out Neural Recommendation Inferencecited by 29
  8. 2022RecShard: Statistical Feature-Based Memory Optimization for Industry-Scale Neural Recommendationcited by 28
  9. 2024Benchmarking and Dissecting the Nvidia Hopper GPU Architecturecited by 23
  10. 2021Accelerating Recommendation System Training by Leveraging Popular Choicescited by 22
  11. 2020Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized Recommendationscited by 21
  12. 2022DreamShard: Generalizable Embedding Table Placement for Recommender Systemscited by 14
8 more
  1. 2020Cross-Stack Workload Characterization of Deep Recommendation Systemscited by 11
  2. 2022Training Personalized Recommendation Systems from (GPU) Scratch: Look Forward not Backwardscited by 11
  3. 2022Building a Performance Model for Deep Learning Recommendation Model Training on GPUscited by 10
  4. 2022Hercules: Heterogeneity-Aware Inference Serving for At-Scale Personalized Recommendationcited by 9
  5. 2021RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and Performancecited by 8
  6. 2022DisaggRec: Architecting Disaggregated Systems for Large-Scale Personalized Recommendationcited by 5
  7. 2023Mem-Rec: Memory Efficient Recommendation System using Alternative Representationcited by 3
  8. 2023Everest: GPU-Accelerated System For Mining Temporal Motifscited by 2

Built on by

Not cited yet.