Lune

USENIX ATC2025顶会

HypeReca: Distributed Heterogeneous In-Memory Embedding Database for Training Recommender Models

Jiaao He, Shengqi Chen, Kezhao Huang, Jidong Zhai

摘要

To improve user satisfaction and effectiveness of advertising, deep learning-based recommender models (DLRM) are widely studied and deployed. Training these models on massive data demands increasing computation power, commonly provided by a cluster of numerous GPUs. Meanwhile, the embedding tables of the models are huge, posing challenges on the memory. Existing systems exploit host memory and hashing techniques to accommodate them. However, the simple offloading design is hard to scale up to multiple nodes. The sparse access to the distributed embedding tables introduces high data management and all-to-all communication overhead.

We find that a distributed in-memory key-value database is the best abstraction to serve and maintain embedding vectors in DLRM training. To achieve high scalability, our system, HypeReca, utilizes both GPU and CPU memory. We improve the throughput of data management according to the batching pattern of DNN training, using a pipeline over decentralized indexing tables and a contentionavoiding schedule for data exchange. A two-fold parallel strategy is used to guarantee consistency of all embedding vectors. The communication overhead is reduced by replicating a few frequently accessed embedding vectors, exploiting the sparse pattern with a performance model. In our evaluation on 32 GPUs over real-world datasets, Hype-Reca achieves 2.16 -16.8× end-to-end speedup over Huge-CTR, TorchRec and TFDE. The source code is available at https://github.com/thu-pacman/hypereca/.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Efficient large-scale language model training on GPU clusters using megatron-LM 引用了 ZeRO: memory optimizations toward training trillion parameter models
  • Efficient large-scale language model training on GPU clusters using megatron-LM 引用了 ZeRO-infinity: breaking the GPU memory wall for extreme scale deep learning
  • ZeRO-infinity: breaking the GPU memory wall for extreme scale deep learning 引用了 ZeRO: memory optimizations toward training trillion parameter models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper21

  1. ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 次引用
  2. Efficient large-scale language model training on GPU clusters using megatron-LMDeepak Narayanan, Mohammad Shoeybi, Jared Casper, Patrick LeGresley 等SC 2021 · 576 次引用
  3. ZeRO-infinity: breaking the GPU memory wall for extreme scale deep learningSamyam Rajbhandari, Olatunji Ruwase, Jeff Rasley, Shaden Smith 等SC 2021 · 254 次引用
  4. Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation SystemsHao-Jun Michael Shi, Dheevatsa Mudigere, Maxim Naumov, Jiyan YangKDD 2020 · 88 次引用
  5. Understanding and bridging the gaps in current GNN performance optimizationsKezhao Huang, Jidong Zhai, Zhen Zheng, Youngmin Yi 等PPoPP 2021 · 87 次引用

相关 Paper

  1. EL-Rec: Efficient Large-Scale Recommendation Model Training via Tensor-Train Embedding TableZheng Wang, Yuke Wang, Boyuan Feng, Dheevatsa Mudigere 等SC 2022 · 15 次引用
  2. Accelerating Distributed DLRM Training with Optimized TT Decomposition and Micro-BatchingWeihu Wang, Yaqi Xia, Donglin Yang, Xiaobo Zhou 等SC 2024 · 3 次引用
  3. Accelerating Neural Recommendation Training with Embedding SchedulingChaoliang Zeng, Xudong Liao, Xiaodian Cheng, Han Tian 等NSDI 2024 · 16 次引用
  4. FusedRec: Fused Embedding Communication for Distributed Recommendation Training on GPUsXuanteng Huang, Fan Li, Riyang Hu, Jianchang Zhang 等AAAI 2026 · 1 次引用
  5. Hybrid Embedding Framework for Memory-Efficient Recommendation SystemsSeung Jin Yang, Hyuk-Jae Lee, Chae-Eun RheeDAC 2025
黄昏的海面,两侧是细线勾勒的悬崖