Skip to content
Source
Agent Control Flash News·· 3h agoAI Score45

【CN】Agent 成本主因是 KV I/O:清华 Cache Engineering,相对摘要 −27.7% 成本且 +1.7 分

【CN】Agent 成本主因是 KV I/O:清华 Cache Engineering,相对摘要 −27.7% 成本且 +1.7 分

Edge-TTS Studio Audio
Free for all listeners
Click to synthesize audio
00:00
00:00
AI Overview

View PDF HTML (experimental) Abstract: Large Language Model (LLM) agents can handle increasingly complex tasks, navigating long trajectories of observations and actions. As these trajectories grow, key-value (KV) cache I/O and storage become the dominant cost. Trajectories...

Primary Source
Academic Paper·arXiv:2610.28577

Agent Cache Engineering (arXiv:2610.28577)

“View PDF HTML (experimental) Abstract: Large Language Model (LLM) agents can handle increasingly complex tasks, navigating long trajectories”

Body

View PDF HTML (experimental)

Abstract:Large Language Model (LLM) agents can handle increasingly complex tasks, navigating long trajectories of observations and actions. As these trajectories grow, key-value (KV) cache I/O and storage become the dominant cost. Trajectories can also exceed the LLM's maximum context length, requiring control over active cache growth. Prior work uses context engineering to reduce cache size by trimming or summarizing history. However, modifying the trajectory prefix invalidates subsequent cached states and triggers costly re-prefilling of retained context. Task accuracy can also suffer when too little context is retained to limit re-prefill costs. We propose cache engineering as a new scheme. It allows agents to directly control their active KV cache without modifying the trajectory or re-prefilling retained context. Specifically, agents can proactively use drop to exclude selected cache from future attention and repos to adjust retained keys' position encodings. We formalize these cache operations and identify history dependence as a serving challenge: identical token sequences can yield different cache states under different cache operation sequences, making prefix matching insufficient for correct cache reuse. Thus, we co-design the AKV serving engine. It provides a stateless interface compatible with existing serving APIs, while internally managing stateful cache reuse, eviction, and restoration. Experiments show that a tool-response rolling-drop cache policy improves average benchmark scores by 1.7 points and reduces average cost by 27.7%, compared with conventional threshold-triggered summarization. With AKV, it achieves up to 1.2x the output throughput and a 1.5x speedup in P95 request latency. Recursive self-improvement of cache policies further reduces cost by 7.1% over expert design. Our code is at this https URL.
Subjects: Computation and Language (cs.CL)
MSC classes: 68T42, 68T50, 68M20
ACM classes: I.2.7; I.2.11
Cite as: arXiv:2610.28577 [cs.CL]
  (or arXiv:2610.28577v1 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2610.28577

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Tianyu Fu [view email]
[v1] Tue, 20 Oct 2026 17:32:24 UTC (328 KB)

Source: Agent Control Flash News · arxiv.org

Related Products & Analysis

Original·站长/Quantara 团队·~3 min read

Cursor Agent 架构全景拆解:从影子工作区到多文件推演引擎

全面剖析 Cursor 在 Agent 模式下的底层技术实现,解析影子分支隔离、LSP 上下文剪枝以及预测性补全的核心架构细节与工程实践经验。

Underlying architectures & industry dynamicsRead Analysis →
Curated·Vercel Changelog·~1 min read

Vercel v0 推出全新多 Agent 协作画布与实时全栈部署预览

动态速评:v0 正在从单一组件生成器演进为全栈应用搭建协作台,尤其是与 Neon/Postgres 的直连极大降低了全栈原型验证成本。

Underlying architectures & industry dynamicsRead Analysis →