arXiv:cs.AI· Huihao Jing, Wenbin Hu, Shaojin Chen, Haochen Shi, Haoyu Huang, Sirui Zhang, Yuxuan Liu, Zhongwei Xie, Haoran Li·· 16 小时前
RadixFlow:消除前缀缓存混合 LLM 服务中的执行气泡
RadixFlow: Filling Execution Bubbles in Prefix-Cached Hybrid LLM Serving
AI 导读
RadixFlow 将前缀匹配与状态就绪解耦,把全局扫描屏障变为局部等待,让被阻塞的 consumer 不再拖住可独立执行的分支。在五个混合模型上,平均延迟降低 3% 至 24%,worker 轮次减少 11% 至 44%,复用率几乎不变。在更大的 Qwen3.5 模型上,消融显示大部分收益来自遍历,而全注意力对照组收益很小。
正文
Abstract:Prefix reuse improves LLM inference by sharing the KV cache of common prompt prefixes. This helps only if the scheduler can execute a matched branch in the current worker round. Schedulers assume that a matched prefix is ready, which holds for full attention but fails for hybrid LLMs. There, a branch (the consumer) may need recurrent state that another branch (the producer) is still computing in the same round. The native scheduler stops its waiting-queue scan at this blocked consumer, and the resulting head-of-line blocking creates \emph{execution bubbles}: idle batch slots that independent work could fill. We introduce RadixFlow, which decouples prefix matching from state readiness. Its state-ready traversal turns a global scan barrier into a local wait: only the consumer is blocked until the next round, while feasible independent branches keep filling the batch under the native state check. On five hybrid models, RadixFlow lowers mean latency by 3\% to 24\% and worker rounds by 11\% to 44\% at almost unchanged reuse. On the larger Qwen3.5 models, ablations show that most of the gain comes from traversal, which adds little on a full-attention control. Heavier rounds limit how much of this saving reaches latency.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.18143 [cs.AI] |
| (or arXiv:2610.18143v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.18143 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Huihao Jing [view email]
[v1]
Tue, 13 Oct 2026 10:49:05 UTC (161 KB)
来源:arXiv:cs.AI · arxiv.org