PreVision trains coding agents to forecast whether their code actually works
A new arXiv paper argues agent world models should predict product outcomes, not raw observations, and reports gains on real repository tasks.
In plain words
Coding agents often judge their own edits by shallow signals, like a confirmation message, that say little about whether a bug is truly fixed. The PreVision training method instead teaches an agent to predict whether its code will pass official tests before acting. In the paper's benchmarks, this forecasting habit improved task success compared with agents trained without it.
What was announced
The authors argue that world models for coding agents should forecast the state of the product an agent builds, such as whether the code passes official tests and how the rendered program behaves, rather than the next observation. They note that observations can be misleading: an edit returns the same confirmation whether or not it fixes a bug, and local tests can disagree with official outcomes. PreVision, their proposed training approach, writes verified product forecasts into the agent's reasoning at key decision points during training, so the agent learns 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, the paper reports that 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 plus ScaleSWE, while also improving product-level prediction. The authors present these results as evidence that forecasting product outcomes within the agent's reasoning turns world-model capability into better task completion. The figures come from the paper's own abstract, so they have not been independently confirmed.
What it does not show
- Evidence is limited to the paper's abstract; the full article, method details and experimental setup were not available for review.
- Reported gains are the authors' own benchmark results on ProWM-Bench and have not been independently verified.
Sources
Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 4 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.