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

Callo:在预填-解码分离架构下,利用失效KV的推测解码处理缓存未命中请求

Callo: Serving Cache-Miss Requests with Speculative Decoding on Invalidated KV under Prefill-Decode Disaggregation

Jianjun Ou, Matthew Lentz

AI总结:

Callo是预填-解码分离架构下的服务系统,利用失效KV做推测解码处理缓存未命中请求,可提升智能体会话请求的处理速度,中等负载下较vLLM加速1.05-1.19倍。

摘要:

智能体会话常涉及频繁的上下文编辑,这会使缓存的KV状态失效,导致请求需等待重新预填后才能解码。本文提出Callo,一种分离式服务系统,该系统利用失效KV生成推测草稿以降低延迟,同时在预填完成后用精确KV验证草稿,再提交token。Callo通过在资源未充分利用时调度推测任务,以及在草稿可能不被接受时抢占推测任务,有效利用解码资源。我们在双GPU测试平台上,使用SWE-agent会话在三类模型家族上评估Callo,发现中等负载下其全请求加速比较vLLM达1.05-1.19倍;通过真实轨迹驱动的集群级模拟,证明该增益在大规模场景下同样有效。

英文摘要:

Agent sessions may involve frequent context edits, which effectively invalidate cached KV state and force requests to wait for re-prefill before decoding. We present Callo, a disaggregated serving system that leverages invalidated KV for speculative drafts to reduce this latency, while verifying drafts against the exact KV after prefill before committing tokens. Callo makes effective use of decode resources by scheduling speculations during periods of underutilization and preempting speculations when drafts are likely to not be accepted. We evaluated Callo on a two-GPU testbed using SWE-agent sessions across three model families, observing all-request speedups of 1.05-1.19x over vLLM at moderate load. We demonstrate that these gains are also realized at scale through cluster-level simulations driven by real-world traces.

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

↑