arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.10872cs.ARcs.IRcs.LG
收藏

MP-Rec:支持多路径推荐的软硬件协同设计

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

Meta AI;Harvard University(哈佛大学)

Samuel Hsia, Udit Gupta, Bilge Acun, Newsha Ardalani, Pan Zhong, Gu-Yeon Wei, David Brooks, Carole-Jean Wu

摘要:

深度学习推荐系统在不同的尾部延迟目标和输入查询负载下提供个性化内容。为了做到这一点,最先进的推荐模型依赖于TB级的嵌入表来学习用户对大量内容的偏好。对嵌入表的固定嵌入表示的依赖不仅强加了显著的存储器容量和带宽要求,而且还限制了兼容系统解决方案的范围。本文通过展示嵌入表示和硬件平台之间的协同作用如何改善算法和系统性能,对固定嵌入表示的假设提出了挑战。基于我们对各种嵌入表示的表征,我们提出了一种混合嵌入表示,以增加内存和计算需求为代价实现了更高质量的嵌入。为了解决混合表示的系统性能挑战,我们提出了MP-Rec -一种利用嵌入表示和底层硬件平台的异构性和动态选择的协同设计技术。在真实的系统硬件上,我们演示了如何匹配自定义加速器,即,GPU、TPU和IPU,以及兼容的嵌入表示可以带来16.65倍的性能加速。此外,在查询服务场景中,MP-Rec在CPU-GPU系统上分别为Kaggle和Terabyte数据集实现了2.49倍和3.76倍的正确预测吞吐量以及0.19%和0.22%的模型质量。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑