arXiv cs.AI· Haoyu Wang, Zhen Wang, Zhiyu Yang, Hanqing Wang, Kaichen Huang, Shuo Wang, Bo An·· 2 天前AI 评分44
Perdura:模型做决策,运行时保存状态
Perdura: The Model Decides, the Runtime Keeps State
AI 导读
arXiv 论文提出 Perdura,一个 CodeAct 智能体 harness,主张“模型决策、运行时保存任务状态”的分工:运行时维护状态并向模型展示其投影。对比四种常用 harness,Perdura 在 8 个模型-基准组合中的 7 个处于 score-cost Pareto 前沿;移除状态机制后,强模型需多花 11-38% 成本才能维持相近分数,且运行中被终止的任务可从存储状态恢复。
正文 · 原文
Abstract:Language-model agents work inside a harness, the loop that builds the model's context and executes its actions. As models grow stronger, how much should the harness still do? Today it keeps a transcript, a record of what happened, and leaves the model to work out at every step what holds now. We argue for a division of labor: the model decides, and the harness keeps the state of the task. The division holds for any task when actions are code, as in CodeAct: the state they create is the state of a running program. Perdura is a CodeAct harness whose runtime keeps this state and shows the model a projection of it. Against four widely used harnesses, Perdura lies on the score-cost Pareto frontier in seven of eight model-benchmark settings. Without its state mechanisms, a strong model holds its score within run-to-run variation at 11-38% higher cost, and a runtime killed mid-task resumes from its stored state.
| Comments: | 22 pages, 11 figures, 15 tables. Code: this https URL |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Software Engineering (cs.SE) |
| Cite as: | arXiv:2612.05288 [cs.CL] |
| (or arXiv:2612.05288v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2612.05288 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Haoyu Wang [view email]
[v1]
Thu, 3 Dec 2026 09:05:52 UTC (3,682 KB)
来源:arXiv cs.AI · arxiv.org