MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendation

Samuel Hsia, Udit Gupta, Bilge Acun, Newsha Ardalani, Pan Zhong +3 more
2/21/2023
cs.ARcs.IRcs.LG

No confident code implementation found for this paper.

Abstract

Deep learning recommendation systems serve personalized content under diverse tail-latency targets and input-query loads. In order to do so, state-of-the-art recommendation models rely on terabyte-scale embedding tables to learn user preferences over large bodies of contents. The reliance on a fixed embedding representation of embedding tables not only imposes significant memory capacity and bandwidth requirements but also limits the scope of compatible system solutions. This paper challenges the assumption of fixed embedding representations by showing how synergies between embedding representations and hardware platforms can lead to improvements in both algorithmic- and system performance. Based on our characterization of various embedding representations, we propose a hybrid embedding representation that achieves higher quality embeddings at the cost of increased memory and compute requirements. To address the system performance challenges of the hybrid representation, we propose MP-Rec -- a co-design technique that exploits heterogeneity and dynamic selection of embedding representations and underlying hardware platforms. On real system hardware, we demonstrate how matching custom accelerators, i.e., GPUs, TPUs, and IPUs, with compatible embedding representations can lead to 16.65x performance speedup. Additionally, in query-serving scenarios, MP-Rec achieves 2.49x and 3.76x higher correct prediction throughput and 0.19% and 0.22% better model quality on a CPU-GPU system for the Kaggle and Terabyte datasets, respectively.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hsia2023mprec,
  title  = {MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendation},
  author = {Samuel Hsia and Udit Gupta and Bilge Acun and Newsha Ardalani and Pan Zhong and Gu-Yeon Wei and David Brooks and Carole-Jean Wu},
  year   = {2023},
  eprint = {2302.10872},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.10872v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.10872.svg)](https://codeofpaper.com/paper/2302.10872)

Discussion