Lune

ASPLOS2021Top-tier venue

MERCI: efficient embedding reduction on commodity hardware via sub-query memoization

Yejin Lee, Seong Hoon Seo, Hyunji Choi, Hyoung Uk Sul, Soosung Kim, Jae W. Lee, Tae Jun Ham

Abstract

Deep neural networks (DNNs) with embedding layers are widely adopted to capture complex relationships among entities within a dataset. Embedding layers aggregate multiple embeddings — a dense vector used to represent the complicated nature of a data feature— into a single embedding; such operation is called embedding reduction. Embedding reduction spends a significant portion of its runtime on reading embeddings from memory and thus is known to be heavily memory-bandwidth-bound. Recent works attempt to accelerate this critical operation, but they often require either hardware modifications or emerging memory technologies, which makes it hardly deployable on commodity hardware. Thus, we propose MERCI, Memoization for Embedding Reduction with ClusterIng, a novel memoization framework for efficient embedding reduction. MERCI provides a mechanism for memoizing partial aggregation of correlated embeddings and retrieving the memoized partial result at a low cost. MERCI substantially reduces the number of memory accesses by 44% (29%), leading to 102% (74%) throughput improvement on real machines and 40.2% (28.6%) energy savings at the expense of 8×(1×) additional memory usage.

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.

8 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

  • Fleche: an efficient GPU embedding cache for personalized recommendations cites Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized Recommendations
  • Fleche: an efficient GPU embedding cache for personalized recommendations cites RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
  • Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized Recommendations cites RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
  • Training personalized recommendation systems from (GPU) scratch: look forward not backwards cites Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized Recommendations
  • Training personalized recommendation systems from (GPU) scratch: look forward not backwards cites RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
  • PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models cites Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized Recommendations
  • PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models cites Training personalized recommendation systems from (GPU) scratch: look forward not backwards
  • PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models cites RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
  • Demystifying CXL Memory with Genuine CXL-Ready Systems and Devices cites RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
  • Pushing the Performance Envelope of DNN-based Recommendation Systems Inference on GPUs cites Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized Recommendations
  • Pushing the Performance Envelope of DNN-based Recommendation Systems Inference on GPUs cites Training personalized recommendation systems from (GPU) scratch: look forward not backwards
  • 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 papers8

  1. Demystifying CXL Memory with Genuine CXL-Ready Systems and DevicesYan Sun, Yifan Yuan, Zeduo Yu, Reese Kuper et al.MICRO 2023 · 133 citations
  2. Fleche: an efficient GPU embedding cache for personalized recommendationsMinhui Xie, Youyou Lu, Jiazhen Lin, Qing Wang et al.EuroSys 2022 · 24 citations
  3. Training personalized recommendation systems from (GPU) scratch: look forward not backwardsYoungeun Kwon, Minsoo RhuISCA 2022 · 24 citations
  4. PreSto: An In-Storage Data Preprocessing System for Training Recommendation ModelsYunjae Lee, Hyeseong Kim, Minsoo RhuISCA 2024 · 8 citations
  5. 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

Builds on2

  1. RecNMP: Accelerating Personalized Recommendation with Near-Memory ProcessingLiu Ke, Udit Gupta, Benjamin Youngjae Cho, David Brooks et al.ISCA 2020 · 235 citations
  2. Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized RecommendationsRanggi Hwang, Taehun Kim, Youngeun Kwon, Minsoo RhuISCA 2020 · 94 citations

Related papers

  1. GRACE: A Scalable Graph-Based Approach to Accelerating Recommendation Model InferenceHaojie Ye, Sanketh Vedula, Yuhan Chen, Yichen Yang et al.ASPLOS 2023 · 16 citations
  2. Towards Redundancy-Free Recommendation Model Training via Reusable-aware Near-Memory ProcessingHaifeng Liu, Long Zheng, Yu Huang, Haoyan Huang et al.DAC 2024
  3. FEC: Efficient Deep Recommendation Model Training with Flexible Embedding CommunicationKaihao Ma, Xiao Yan, Zhenkun Cai, Yuzhen Huang et al.SIGMOD 2023 · 8 citations
  4. Accelerating Personalized Recommendation with Cross-level Near-Memory ProcessingHaifeng Liu, Long Zheng, Yu Huang, Chaoqiang Liu et al.ISCA 2023 · 30 citations
  5. Deep Learning Acceleration with Neuron-to-Memory TransformationMohsen Imani, Mohammad Samragh Razlighi, Yeseong Kim, Saransh Gupta et al.HPCA 2020 · 31 citations
Dusk over the sea between two cliffs drawn in fine vertical lines