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

xGR:大规模高效生成推荐服务

xGR: Efficient Generative Recommendation Serving at Scale

Qingxiao Sun, Tongxuan Liu, Shen Zhang, Siyu Wu, Peijun Yang, Haotian Liang, Menxin Li, Xiaolong Ma, Zhiwei Liang, Ziyi Ren, Minchao Zhang, Yifan Wang, Xinyu Li… 展开作者

Qingxiao Sun, Tongxuan Liu, Shen Zhang, Siyu Wu, Peijun Yang, Haotian Liang, Menxin Li, Xiaolong Ma, Zhiwei Liang, Ziyi Ren, Minchao Zhang, Yifan Wang, Xinyu Liu, Ke Zhang, Hailong Yang, Depei Qian

AI总结:

xGR通过分阶段计算和分离KV缓存统一预填充和解码阶段,结合早期排序终止和基于掩码的物品过滤,提升高并发场景下的低延迟性能,实验表明其吞吐量比现有最佳基线高2.89倍。

摘要:

推荐系统通过提供个性化预测带来显著经济收益。生成推荐(GR)整合大语言模型(LLM)以增强长用户-物品序列的理解。尽管采用基于注意力的架构,GR的工作负载与LLM服务有显著差异。GR通常处理长提示并生成短固定长度输出,但每个解码阶段的计算成本尤其高,由于大束宽。此外,由于束搜索涉及庞大的物品空间,排序开销变得尤其耗时。我们提出xGR,一种面向GR的服务系统,能够在高并发场景下满足严格低延迟要求。首先,xGR通过分阶段计算和分离KV缓存统一预填充和解码阶段。其次,xGR通过数据结构重用实现早期排序终止和基于掩码的物品过滤。第三,xGR重构整体流程以利用多级重叠和多流并行。在真实世界数据集上的实验表明,xGR在严格延迟约束下,相比现有最佳基线,吞吐量至少提高2.89倍。

英文摘要:

Recommendation system delivers substantial economic benefits by providing personalized predictions. Generative recommendation (GR) integrates LLMs to enhance the understanding of long user-item sequences. Despite employing attention-based architectures, GR's workload differs markedly from that of LLM serving. GR typically processes long prompt while producing short, fixed-length outputs, yet the computational cost of each decode phase is especially high due to the large beam width. Furthermore, since the beam search involves a vast item space, the sorting overhead becomes particularly time-consuming. We propose xGR, a GR-oriented serving system that meets strict low-latency requirements under high-concurrency scenarios. First, xGR unifies the processing of prefill and decode phases through staged computation and separated KV cache. Second, xGR enables early sorting termination and mask-based item filtering with data structure reuse. Third, xGR reconstructs the overall pipeline to exploit multi-level overlap and multi-stream parallelism. The experiments on real-world datasets demonstrate that xGR achieves at least 2.89x throughput compared to the state-of-the-art baseline under strict latency constraints.

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

↑