Predict the Product, Not the Observation: Product-Level World Models for Coding Agents
PreVision raised coding-agent task success by 10.4 percentage points on SWE-MM and 7.7 points on SWE-rebench V2 + ScaleSWE over agent-only training.
The approach trains agents to forecast whether code will pass official tests and how the rendered program will behave. It inserts verified product forecasts into the agent’s reasoning at key training decisions, teaching it to use its own predictions when choosing actions. The authors argue that ordinary observations can miss whether an edit actually fixes a bug, while local tests can disagree with official results. On ProWM-Bench, PreVision improved both task completion and product-level prediction.
HF Daily Papers' note
The approach trains agents to forecast whether code will pass official tests and how the rendered program will behave. It inserts verified product forecasts into the agent’s reasoning at key training decisions, teaching it to use its own predictions when choosing actions. The authors argue that ordinary observations can miss whether an edit actually fixes a bug, while local tests can disagree with official results. On ProWM-Bench, PreVision improved both task completion and product-level prediction.
HF Daily Papers' note
score 5