arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.12934cs.LGcs.IR
收藏

AIF:面向成本效益的异步推理框架

AIF: Asynchronous Inference Framework for Cost-Effective Pre-Ranking

Taobao \& Tmall Group of Alibaba Beijing China;Taobao \& Tmall Group of Alibaba

Zhi Kou, Xiang-Rong Sheng, Shuguang Han, Zhishan Zhao, Yueyao Cheng, Han Zhu, Jian Xu, Bo Zheng

AI总结:

AIF通过异步推理框架提高推荐系统预排序效率,减少延迟并优化模型架构。

摘要:

在工业推荐系统中,基于深度神经网络(DNN)的预排序模型通常采用顺序执行框架:特征获取和模型前向计算只有在接收到上游检索阶段的候选项后才会触发。这种设计引入了固有的瓶颈,包括相同用户/物品的冗余计算和由于严格顺序操作导致的延迟增加,这些共同限制了模型的能力和系统效率。为了解决这些限制,我们提出了异步推理框架(AIF),一种成本效益高的计算架构,它将交互无关的组件(在单个用户或物品内运行的组件)与实时预测分离。AIF通过将用户侧计算与检索阶段并行执行,并以近线方式执行物品侧计算来重新组织模型推理过程。这意味着交互无关的组件只需计算一次,并在预排序阶段的实时预测之前完成。因此,AIF提高了计算效率并减少了延迟,释放了资源以显著改进交互无关组件的特征集和模型架构。此外,我们深入探讨了AIF框架内的模型设计,采用近似方法在在线实时预测中处理交互依赖的组件。通过共同设计框架和模型,我们的解决方案在不显著增加计算和延迟成本的情况下实现了显著的性能提升。这使AIF成功部署在淘宝显示广告系统中。

英文摘要:

In industrial recommendation systems, pre-ranking models based on deep neural networks (DNNs) commonly adopt a sequential execution framework: feature fetching and model forward computation are triggered only after receiving candidates from the upstream retrieval stage. This design introduces inherent bottlenecks, including redundant computations of identical users/items and increased latency due to strictly sequential operations, which jointly constrain the model's capacity and system efficiency. To address these limitations, we propose the Asynchronous Inference Framework (AIF), a cost-effective computational architecture that decouples interaction-independent components, those operating within a single user or item, from real-time prediction. AIF reorganizes the model inference process by performing user-side computations in parallel with the retrieval stage and conducting item-side computations in a nearline manner. This means that interaction-independent components are calculated just once and completed before the real-time prediction phase of the pre-ranking stage. As a result, AIF enhances computational efficiency and reduces latency, freeing up resources to significantly improve the feature set and model architecture of interaction-independent components. Moreover, we delve into model design within the AIF framework, employing approximated methods for interaction-dependent components in online real-time predictions. By co-designing both the framework and the model, our solution achieves notable performance gains without significantly increasing computational and latency costs. This has enabled the successful deployment of AIF in the Taobao display advertising system.

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

↑