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

RcLLM:通过超越前缀KV缓存加速生成推荐

RcLLM: Accelerating Generative Recommendation via Beyond-Prefix KV Caching

Hong Kong Baptist University(香港浸会大学)

Zhan Zhao, Yuxin Wang, Amelie Chi Zhou

AI总结:

RcLLM通过超越前缀KV缓存技术,解决长个性化提示处理延迟问题,提升生成推荐的实时性与准确性。

摘要:

RcLLM通过超越前缀KV缓存技术,解决长个性化提示处理延迟问题,提升生成推荐的实时性与准确性。

英文摘要:

Large Language Models (LLMs) are transforming recommendation from ranking into a generative task, but industrial deployment remains limited by the high latency of processing long, personalized prompts. Standard prefix caching provides limited benefit because reuse in recommendation workloads is often non-contiguous across user histories and item contexts. We present RcLLM, a distributed inference system for generative recommendation with Beyond-Prefix KV Caching. RcLLM decomposes prompts into reusable blocks and supports large item catalogs with a stratified distributed storage design: compact user-history caches are replicated for zero-latency retrieval, while massive item caches are sharded using similarity-aware placement. To reduce redundant quadratic attention computation, RcLLM combines an affinity-based global scheduler that improves data locality with a selective attention mechanism that corrects approximation errors. Experiments on real-world datasets show that RcLLM reduces Time-To-First-Token (TTFT) by 1.31x-9.51x compared with state-of-the-art prefix caching systems, enabling real-time serving with negligible impact on recommendation accuracy.

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

↑