Lune

USENIX ATC2025Top-tier venue

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

Jiaao He, Shengqi Chen, Kezhao Huang, Jidong Zhai

2025Year
2Citations

Abstract

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/.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext e9897d20-c256-46ca-a875-9b51504ad331

Builds on21

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines