arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.10982cs.CLcs.AI
收藏

思考还是记忆:智能体推理的汇率

Think or Remember: The Exchange Rate of Agentic Inference

Escuela de Ingeniería, Universidad de San Andrés(圣安德烈斯大学工程学院)

Juan Wisznia, Santiago Luis Groba Alonso, Matías Gómez Taddeo, Gonzalo Zabaleta, Joaquín Cullen, Luciano Del Corro

AI总结:

该研究提出智能体推理的“思考-记忆汇率”成本模型,通过实验发现放弃早期推理会降低部分任务成本但减少HotpotQA的正确答案。

摘要:

基于推理模型构建的智能体在每次调用时都会重新发送其不断增长的对话记录。交易的双方(而非模型)决定了该操作的成本:客户端保留或编辑消息;服务器决定是否在提示中返回早期推理内容以及其缓存会复用什么。我们定义了一个成本模型,其计数与检测引擎完全匹配;该架构对每个处理的token收取c费用,对每对注意力收取β费用。它们的比率P*=c/β是思考与记忆之间的汇率:在该上下文长度以下,处理占主导,为思考机制;在该长度以上,注意力占主导,为记忆机制。策略变更会产生机械成本(即使智能体写入相同token也会产生)和行为成本(智能体写入不同token,改变成本和结果)。仅服务就可以反转哪种策略更便宜:在记录的Qwen3-8B ScienceWorld运行中,当服务器复用生成状态时,放弃早期推理的成本是保留它的1.74倍;当服务器不复用任何内容时,该比例为0.34倍。在实时重运行中,放弃早期推理会使四个模型的HotpotQA正确答案减少9-23个百分点,同时点估计成本更低。比较上下文策略意味着比较系统:架构和服务设定了保留历史的成本及其引发的工作的成本。

英文摘要:

Agents built on reasoning models resend their growing transcript at every call. Two transacting parties, not the model, decide what that costs: the client keeps or edits messages; the server decides whether earlier reasoning returns in the prompt and what its cache reuses. We define a cost model whose counts match an instrumented engine exactly; the architecture charges $c$ per token processed and $β$ per pair attended. Their ratio $P^*=c/β$ is an exchange rate between thinking and remembering: per token, processing dominates below this context length, a thinking regime, and attention above it, a memory regime. A policy change has a mechanical cost, incurred even if the agent writes the same tokens, and a behavioral one: it writes different tokens, changing cost and outcome. Serving alone can flip which policy is cheaper: on recorded Qwen3-8B ScienceWorld runs, dropping earlier reasoning costs 1.74 times keeping it when the server reuses generated states and 0.34 times when it reuses nothing. In live reruns, dropping it cuts correct HotpotQA answers by 9-23 percentage points on four models, at lower point-estimate cost. Comparing context policies means comparing systems: architecture and serving set the cost of the history kept and the work it induces.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑