arXiv cs.AI· Colin Hong, Bryan Shan, Wei Siong Pang, Chengzhi Lu, Xu Guo, Nitin Shivaraman, Tao Luo, Esha Choukse, Kisson Lin, Dmitrii Ustiugov·· 2 小时前AI 评分46
Contexture:面向高吞吐智能体服务的运行时上下文驱逐架构
Contexture: Runtime Context Eviction for High-Throughput Agent Serving
AI 导读
arXiv 论文提出 Contexture,一种与 harness 和模型无关的运行时上下文驱逐架构,可将 harness 完整对话历史与模型执行上下文分离,降低后续请求的 KV cache 需求,且无需修改模型或额外调用。
正文 · 原文
Abstract:LLM agents such as Hermes, OpenClaw, and Codex repeatedly resend growing execution histories, increasing shared GPU key-value (KV) cache demand in high-bandwidth memory (HBM). We show that shared KV capacity limits agent-serving throughput. Existing context-reduction methods lack global cache-state visibility, while runtime KV managers lack tool-execution information. Tracing tokens to their originating tool operations reveals that later operations supersede earlier outputs and associated turns, identifying 64% of recorded final-history tokens as removal candidates.
We present Contexture, a harness- and model-agnostic architecture for runtime context eviction. Contexture separates the harness's full conversation history from the model's execution context, reducing subsequent requests' KV demand without modifying harness logic or model execution. It combines tool-execution information with global visibility into shared KV pressure and prefix residency: supersession identifies removal candidates, while runtime state determines when removal justifies sacrificing cached computation. This coordination reduces memory demand and decode KV traffic while limiting re-prefill interference with concurrent decoding, without additional model calls or training. Across two models, two harnesses, and two benchmarks, Contexture improves throughput under SLO by 20-73% over the best of no eviction, harness compaction, AgentDiet, and Continuum, and by 7-63% over observation masking in five of eight configurations, and reduces GPU energy per completed session by up to 11%. It also raises throughput under SLO by 23% over LMCache alone on H100. Live-agent experiments show a mean accuracy improvement of 1.4 percentage points over unloaded no eviction, with a worst-case loss of 3.7 points, while observation masking loses 3-28 points.
| Comments: | 14 pages, 15 figures |
| Subjects: | Distributed, Parallel, and Cluster Computing (cs.DC); Artificial Intelligence (cs.AI); Multiagent Systems (cs.MA); Operating Systems (cs.OS) |
| ACM classes: | C.4; D.4.2 |
| Cite as: | arXiv:2611.26980 [cs.DC] |
| (or arXiv:2611.26980v1 [cs.DC] for this version) | |
| https://doi.org/10.48550/arXiv.2611.26980 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Colin Hong [view email]
[v1]
Fri, 20 Nov 2026 01:55:52 UTC (320 KB)
来源:arXiv cs.AI · arxiv.org