Recompute or Restore? Host-Tier KV for Multi-Model Agent Workflows on a Static-Graph NPU Serving Stack
- ID: fd1c942b
- 原文链接: https://arxiv.org/abs/2611.15126
- PDF: https://arxiv.org/pdf/2611.15126
- 作者: Sungwon Woo, Seyeon Kim
- 发布时间: 2026-11-11
- 更新: 2026-11-11
- 分类: infra
- 来源类型: paper
- 标签: arxiv, kv-cache, agent-workflows, npu, serving
- 质量评分: 4/5
- 抓取时间: 2026-11-16T23:47:32+08:00
中文导读
静态图 NPU 上的 agent 工作流 KV 管理:设备侧 KV 预算固定,过载时被挤出的长前缀只能整段重算。作者在 Rebellions ATOM+ 上实测:默认 serving 被压垮时 planner 已物化的 prompt token 占 89.5%;主机 DRAM 加一层同步 host tier 后,两种过载场景的工作流 SLO 达标率从 22.8%/9.4% 升到 100%/99.8%,保守负载增益 chain 11.8%、fork 18.2%,代价是 fork P99 +16–18%;事件模型在 24 个负载条件下预测落在 15% 容差内,并诚实报告三处策略对比错排与一处存储路径高估(实测 3.1%)。
为什么值得关注
静态图 NPU 上的 agent 工作流 KV 管理:设备侧 KV 预算固定,过载时被挤出的长前缀只能整段重算。作者在 Rebellions ATOM+ 上实测:默认 serving 被压垮时 planner 已物化的 prompt token 占 89.5%;主机 DRAM 加一层同步 host tier 后,两种过载场景的工作流 SLO 达标率从 22.8%/9.4% 升到 100%/99.8%,保守负载增益 chain 11.8%、fork 18.2%,代价是 fork P99 +16–18%;事件模型在 24 个负载条件下预测落在 15% 容差内,并诚实报告三处策略对比错排与一处存储路径高估(实测 3.1%)。
Agent workflows chain model calls sharing long prompt prefixes, so serving efficiency depends on KV-cache reuse; on static-graph NPUs the device KV budget is fixed and evicted prefixes must be recomputed. On a Rebellions ATOM+ stack serving a Qwen3-8B planner and Qwen3-0.6B executor, 89.5% of executed planner prompt tokens had been materialized before once default serving collapses. A synchronous host-DRAM tier raises workflow SLO attainment from 22.8% to 100% and 9.4% to 99.8% in two overload conditions, with conservative load gains of 11.8% (chain) and 18.2% (fork) at a 16-18% fork P99 cost. A frozen scheduler-aware event model predicts latency within 15% tolerance in all 24 common-load conditions, but misorders three policy contrasts and overestimates a cheaper store path (11% predicted vs 3.1% measured).
关键信息
- 标题:Recompute or Restore? Host-Tier KV for Multi-Model Agent Workflows on a Static-Graph NPU Serving Stack
- 作者:Sungwon Woo, Seyeon Kim
- 来源:https://arxiv.org/abs/2611.15126
- 发布时间:2026-11-11
- 标签:arxiv, kv-cache, agent-workflows, npu, serving
英文摘要
Agent workflows issue dependent model calls that share long context prefixes, so serving them efficiently depends on reusing the key-value (KV) cache of those prefixes. On accelerators that compile model graphs ahead of time, however, the device KV budget is fixed, and prefixes evicted under load must be recomputed. Restoring them from host memory avoids this recomputation, but the transfer occupies the same engine thread as prefill and decode, so its benefit is not guaranteed. In this paper, we study when restoring beats recomputing on a commercial static-graph neural processing unit (NPU) stack (Rebellions ATOM+, vllm-rbln 0.10.2) that serves a Qwen3-8B planner on two cards and a Qwen3-0.6B executor on one. We first show that repeated prefill dominates planner work when default serving collapses: 89.5% of the executed planner prompt tokens had been materialized before. We then build a synchronous host-DRAM tier on the runtime's public KV copy calls, together with a scheduler-aware event model whose predictions are frozen before each test cohort. Experimental results show that the host tier raises workflow service-level objective (SLO) attainment from 22.8% to 100% and from 9.4% to 99.8% in the two tested overload conditions, and endpoint confirmation on two new seeds supports conservative load gains of 11.8% (chain) and 18.2% (fork), while mixed and bursty workloads remain seed-sensitive. The frozen model predicts median and 99th-percentile (P99) latency within its 15% tolerance in all 24 common-load conditions, including the 16-18% P99 increase that the tier causes for fork workflows, but it misorders three policy contrasts and overestimates the benefit of a cheaper store path (11% predicted against 3.1% measured). The trade-off therefore depends on runtime scheduling and transfer cost as well as cache capacity.
English Summary
Agent workflows chain model calls sharing long prompt prefixes, so serving efficiency depends on KV-cache reuse; on static-graph NPUs the device KV budget is fixed and evicted prefixes must be recomputed. On a Rebellions ATOM+ stack serving a Qwen3-8B planner and Qwen3-0.6B executor, 89.5% of executed planner prompt tokens had been materialized before once default serving collapses. A synchronous host-DRAM tier raises workflow SLO attainment from 22.8% to 100% and 9.4% to 99.8% in two overload conditions, with conservative load gains of 11.8% (chain) and 18.2% (fork) at a 16-18% fork P99 cost. A frozen scheduler-aware event model predicts latency within 15% tolerance in all 24 common-load conditions, but misorders three policy contrasts and overestimates a cheaper store path (11% predicted vs 3.1% measured).
Obsidian Notes
- 证据来源:OpenClaw定时任务/论文流水线/2026-11-16-论文流水线.md
- 本页为当日 intake 内容页:事实与数字锚定在上列证据文件与原文链接,未添加证据之外的细节。