arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.21101cs.DC
收藏

DPIFrame: 一种用于CTR模型推理的双层并行加速框架

DPIFrame: A Dual-Level Parallelism Acceleration Framework for CTR Model Inference

Nankai University(南开大学);Huawei Technologies Co., Ltd.(华为技术有限公司);Kuaishou Technology Co., Ltd.(快手科技有限公司)

Dezhi Yi, Huifeng Guo, Kunpeng Xie, Zhaolong Jian, Haochi Yu, Wenxuan He, Zhenhua Dong, Ruiming Tang, Ye Lu

AI总结:

针对CTR模型在GPU上推理效率低的问题,提出DPIFrame框架,通过双层并行架构、高效多表查找算法和广度优先流调度策略,实现模块内和模块间并行推理,在真实数据集上相比PyTorch等框架取得显著加速。

摘要:

深度学习技术增强了点击率(CTR)预测模型学习特征和提高预测准确性的能力。然而,由于串行计算模式与并行模型结构之间存在巨大不匹配,将CTR模型平滑部署到GPU上并高效推理具有挑战性。本文提出DPIFrame,这是第一个用于加速CTR模型推理的双层可并行化框架。在DPIFrame中:a) 提出了一种双层可并行化架构,可在模块内和模块间执行并行CTR模型推理;b) 提出了一种高效的多表查找算法,通过预先预测整个工作负载来执行嵌入操作;c) 设计了一种广度优先流调度策略,用于GPU上并行计算的细粒度管理,以进一步支持双层并行执行。在两个真实世界数据集上进行了大量实验,结果表明,与PyTorch相比,DPIFrame可以高效地将嵌入延迟降低23.0倍。与PyTorch、TorchRec、HugeCTR和OneFlow相比,DPIFrame在GPU上实现了最先进的推理性能,加速比分别为5.83倍、4.29倍、2.15倍和2.0倍。

英文摘要:

Deep learning technology has enhanced the ability of Click-through rate (CTR) prediction models to learn features and improve prediction accuracy. However, it is challenging to deploy CTR models on GPU smoothly and perform inference efficiently, because there is a huge mismatch between the serial computational pattern and the parallel model structure. In this paper, we propose DPIFrame, the first dual parallelizable framework to accelerate CTR model inference. In DPIFrame, a) a dual parallelizable architecture is proposed to perform parallel CTR model inference in both intra-module and inter-module; b) an efficient multi-table lookup algorithm is presented for embedding operations through anticipating the whole workload in advance; c) a breadth-first stream scheduling strategy is designed for fine-grained management of parallel computation on GPU to further supporting the dual parallel execution. Extensive experiments are conducted on two real-world datasets, and the results highlight that DPIFrame can reduce the embedding latency efficiently by \textbf{23.0$\times$} compared to PyTorch. Compared with PyTorch, TorchRec, HugeCTR, and OneFlow, DPIFrame can achieve state-of-the-art inference performance on GPU with speedups of \textbf{5.83$\times$}, \textbf{4.29$\times$}, \textbf{2.15$\times$}, and \textbf{2.0$\times$}, respectively.

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

↑