UpDLRM:利用真实存内计算(PIM)架构加速个性化推荐
UpDLRM: Accelerating Personalized Recommendation using Real-World PIM Architecture
AI总结:
针对深度学习推荐模型嵌入层的内存带宽瓶颈,提出基于UPMEM DPU存内计算硬件的UpDLRM方案,通过嵌入表划分优化负载与缓存,显著降低推理延迟。
摘要:
深度学习推荐模型(DLRMs)因能高效处理大规模推荐任务,在推荐系统中得到广泛应用。DLRMs的嵌入层对内存容量和内存带宽需求极高,已成为性能瓶颈。本文提出UpDLRM,该方法利用真实存内计算(processing-in-memory, PIM)硬件UPMEM DPU来提升内存带宽、降低推荐延迟。DPU内存的并行特性能为嵌入查找中大量的不规则内存访问提供高聚合带宽,因此具备大幅降低推理延迟的潜力。为充分利用DPU内存带宽,我们进一步研究了嵌入表划分问题,以实现良好的工作负载均衡与高效数据缓存。采用真实数据集的评估结果表明,与纯CPU方案及CPU-GPU混合方案相比,UpDLRM的DLRM推理时间显著更低。
英文摘要:
Deep Learning Recommendation Models (DLRMs) have gained popularity in recommendation systems due to their effectiveness in handling large-scale recommendation tasks. The embedding layers of DLRMs have become the performance bottleneck due to their intensive needs on memory capacity and memory bandwidth. In this paper, we propose UpDLRM, which utilizes real-world processingin-memory (PIM) hardware, UPMEM DPU, to boost the memory bandwidth and reduce recommendation latency. The parallel nature of the DPU memory can provide high aggregated bandwidth for the large number of irregular memory accesses in embedding lookups, thus offering great potential to reduce the inference latency. To fully utilize the DPU memory bandwidth, we further studied the embedding table partitioning problem to achieve good workload-balance and efficient data caching. Evaluations using real-world datasets show that, UpDLRM achieves much lower inference time for DLRM compared to both CPU-only and CPU-GPU hybrid counterparts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。