PreVision:让编程智能体预测产品结果而非观察状态
Predict the Product, Not the Observation: Product-Level World Models for Coding Agents
这篇论文有意思的点在于换个角度看世界模型:不预测屏幕输出,而是预测代码能不能过官方测试。训练时把验证过的预测写进推理里,SWE-MM 成功率就多了 10.4 个点。做编程智能体或 agent 训练的人值得看方法细节。
arXiv 论文提出 PreVision,一种面向编程智能体的训练方法,核心观点是世界模型不应预测下一步观察,而应预测产品状态——代码能否通过官方测试、渲染程序的行为表现。作者指出编程场景中观察信号常失效:一次编辑无论是否修复 bug,返回的确认信息相同,本地测试也可能与官方结果不一致。PreVision 在训练时的关键决策点,把经过验证的产品级预测写入智能体推理过程,让智能体学会预判结果并据此选择动作。
在评测智能体与世界模型能力的 ProWM-Bench 真实仓库任务上,PreVision 相比纯智能体训练,在 SWE-MM 上将 trial 级任务成功率提升 10.4 个百分点,在 SWE-rebench V2 + ScaleSWE 上提升 7.7 个百分点,同时产品级预测准确度也有改善。
Predict the Product, Not the Observation: Product-Level World Models for Coding Agents
World models predict how an environment changes in response to actions, helping LLM agents plan and learn. Existing agent world models mostly predict the next observation. For coding agents, however, observations often fail to reflect meaningful changes in program behavior: an edit returns the same confirmation whether or not it fixes a bug, and local tests can disagree with official outcomes. We argue that world models for coding agents should forecast the state of the product these agents build: whether the code passes official tests and how the rendered program behaves. We propose PreVision, a training approach that internalizes product-level world modeling to guide action selection. By writing verified product forecasts into the agent's reasoning at key decision points during training, PreVision teaches the agent to anticipate outcomes and act on its own predictions. On ProWM-Bench, which evaluates agent and world-model ability on the same real repository tasks, PreVision improves trial-level task success over agent-only training by 10.4 percentage points on SWE-MM and 7.7 points on SWE-rebench V2 + ScaleSWE, while also improving product-level prediction. These results show that learning to forecast product outcomes within the agent's reasoning translates world-model capability into better task completion.
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:PreVision、编程智能体、世界模型、ProWM-Bench,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Qingyao Li, Xinyi Dai, Di Yin, Xing Sun, Weiwen Liu, Weinan Zhang, Yong Yu),经 AITOP 多维评分管线结构化提炼。