跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

数学 > 优化与控制

arXiv:2611.34584 (math)
[提交于 2026年11月25日]

标题:Routing and Cache Retention for Multi-Turn LLM Inference: Theory and Implementation

作者:Sentao Miao, Tianjiao Nie, Yuan Zhou, Song Yuan, Yuanwei Lu, Yibo Zhu
查看论文《Routing and Cache Retention for Multi-Turn LLM Inference: Theory and Implementation》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Multi-turn AI agents execute iterative loops of large language model (LLM) inference and external tool calls, transforming cluster serving into a dynamic resource-allocation problem where routing and key-value (KV) cache retention jointly govern prefix reuse across inter-turn delays. We formulate a fluid approximation of this system and show that optimal admission, routing, and eviction are governed by endpoint-specific shadow prices for computation and memory together with session continuation values. Building on this structure, we propose an asymptotically optimal buffer-reserve policy that absorbs stochastic fluctuations using a vanishing share of capacity. To handle asynchronous arrivals, delayed load reports, and engine-local memory management in production clusters, we translate these principles into a practical controller named PARK, which pairs online projected subgradient price updates and one-turn migration lookahead with a local KV retention index ranked by expected reuse value per byte-epoch. In real GPU cluster experiments serving a 197-billion-parameter mixture-of-experts model on multi-turn software-engineering agent benchmarks (SWE and Terminal-Bench), PARK outperforms all five load-balancing and prefix-aware baselines across contrasting traffic regimes. On 16 H200 GPUs, PARK raises output throughput by $24.2\%$ over the strongest baseline ($336.9\%$ over round robin) on turn-intensive SWE trajectories and by $40.0\%$ over the strongest baseline ($63.3\%$ over round robin) on generation-intensive Terminal-Bench trajectories. Controlled single-replica ablations show that our retention index alone cuts prior-prefix token loss from $13.26\%$ to $2.17\%$ and increases throughput by $36.7\%$ over least-recently-used (LRU) eviction, while 128-GPU scale-up experiments sustain 50,789 to 67,363 output tokens/s across 16~replicas with prefix cache hit rates of $91.3\%$ to $97.4\%$.
主题: 优化与控制 (math.OC)
引用方式: arXiv:2611.34584 [math.OC]
  (或者 arXiv:2611.34584v1 [math.OC] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.34584

提交历史

来自:Yuan Zhou
[v1] 2026年11月25日 星期三 15:45:44 UTC (288 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math.OC
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
math

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站