跳到正文
原文
Agent Control Flash News·· 3 小时前AI 评分45

Agent Cache Engineering:清华提出新方案降低成本并提升效率

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

Edge-TTS 广播级有声
全员无门槛畅听
点击合成广播级音频
00:00
00:00
AI 导读

反直觉:长轨迹 agent 的钱主要花在 KV cache 读写(文中 API 成本 **82.4%**),不是「多生成几个 token」。现有错处:靠改写/摘要历史来控成本——前缀一改就废缓存、还要重预填。作者改动:cache engineering——不改轨迹、不重预填,直接控制活跃 KV(drop 等)+ 可自改进策略。硬数字:相对阈值摘要 **+1.7** 基准分且平均成本 **−27.7%**;自改进策略再比专家设计 **−7.1%** 成本。可迁移判断:**明川:长程 agent 成本看板必须拆「KV I/O vs 生成」,禁只砍 max_tokens。不要并进 #11 Agent S4,也不要并进昨版 StopLoss。**

一手信源
学术论文·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”

正文

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)

来源:Agent Control Flash News · arxiv.org

关联产品与深度拆解

原创·站长/Quantara 团队·约 3 分钟深度解析

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

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

深入理解底层架构与行业变量阅读拆解 →
精选·Vercel Changelog·约 1 分钟深度解析

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

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

深入理解底层架构与行业变量阅读拆解 →