Unassigned · 2026-12-04
Predict the Product, Not the Observation: Product-Level World Models for Coding Agents
Qingyao Li, Xinyi Dai, Di Yin, Xing Sun, Weiwen Liu, Weinan Zhang, Yong Yu
AI-assisted summary based on the paper. Consult the linked source for methods and limitations. Benchmark numbers appear after editor verification.
Abstract (from arXiv)
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.
Related papers
- ANTE: Anticipate, Then Execute -- Learning Internal World Models for Coding Agents from Verified Beliefs
- Predictive Code Worlds: Write the World First, Then Predict It, for Robot Code Agents
- Predict the Reward, Not the World: World Reward Models for ML Agents
- Learning to Act with World Models by Valuing What Comes Next
- Computer-Use Agents Gain Little Benefit from a World Model When Conditioned on Tutorials
Publication record
Bibliographic evidence describes where and when a record appeared. It does not validate scientific claims.
First public release: 2026-12-03 · Indexed by Pub-AI: 2026-12-04 UTC
Predict the Product, Not the Observation: Product-Level World Models for Coding Agents
Preprint posted: 2026-12-03 · Original record ↗
- arxiv
- 2612.04946
Explicit source versions (1)
- v1 · 2026-12-03
- Preprint available
Source date: 2026-12-03 · First detected: 2026-12-04 UTC · Historical baseline
Source evidence (2)
- Official evidence ↗ · RSS guid=oai:arXiv.org:2612.04946v1; arxiv:announce_type=new; item pubDate (official metadata)
- Official evidence ↗ · atom:published (official metadata)
Abstract · arxiv
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.
