inferwire
/
AI·5 min read

WorldEvolver Improves Agent Foresight Without Changing Weights

WorldEvolver lets an LLM agent's world model learn from its wrong predictions through memory, not retraining. Prediction accuracy jumped in tests; task success rose less.

TL;DR

  • WorldEvolver lets an LLM agent's world model learn from its own wrong predictions by editing its prompt context, with no model weights changed [^1].
  • Prediction accuracy rose sharply in two text-based test environments, but task success improved less, and only in some settings for the stronger model [^1].

Background

A world model lets an agent preview what an action will do before it runs it; the authors call these predictions foresight [^1]. In this paper, the world model is a language model prompted to predict the next observation, and in the planning tests it is the same model that runs the agent [^1]. The authors argue that a frozen world model mispredicts when environments shift, and that retraining it on every error is costly at LLM scale and risks catastrophic forgetting [^1].

What happened

Xuan Zhang, Wenxuan Zhang, See-Kiong Ng and Yang Deng, from the National University of Singapore, the Singapore University of Technology and Design and Singapore Management University, posted WorldEvolver on arXiv on June 29 [^1]. It keeps the agent and every model weight frozen and changes only what the world model sees, through three modules [^1]. Episodic Memory stores each real transition (observation, action, next observation) and retrieves the past transitions whose actions share the most words with the planned one [^1]. Semantic Memory breaks each prediction and each real outcome into simple facts such as ("fridge 1", "is", "open"); when they differ, an LLM critic writes a textual rule, which stays in the prompt only while its evidence score, starting at 1, remains positive [^1]. Selective Foresight scores each prediction by the geometric mean of its token probabilities and shows it to the agent only above a threshold [^1].

The team first measured prediction accuracy on the Word2World benchmark, with 195 test trajectories each from ALFWorld and ScienceWorld, two text-based environments [^1]. With Gemma-4-26B-A4B, exact-match accuracy on ALFWorld rose from 3.60 percent zero-shot to 52.88 percent, against 20.06 for the strongest baseline, RAWM-ϕ; on ScienceWorld it went from 0.41 to 51.55 [^1]. Episodic Memory did most of the work: without it, the ALFWorld score fell to 7.53 [^1]. Qwen3.5-9B and Gemma-4-31B showed the same pattern [^1].

Task success, measured on AgentBoard with 134 ALFWorld and 90 ScienceWorld tasks, five attempts each and at most 30 steps per attempt, moved less [^1]. WorldEvolver was the best world-model method in all eight settings, while the two baselines often did worse than giving the agent no foresight at all [^1]. With Gemma-4-26B-A4B as a ReAct agent on ScienceWorld, success rose from 44.44 percent without a world model to 52.22 percent [^1]. With GPT-5.4-mini, WorldEvolver beat the no-world-model baseline in only two of four settings and lost by 2.99 and 2.23 points in the others [^1]. On Gemma-4-26B-A4B, runtime grew from 1.05 to 1.48 seconds per transition [^1].

Why it matters

The paper's central point is that foresight only helps when it is good enough, and that a bad prediction can be worse than none. In the authors' pilot test, noisy foresight hurt an agent's action accuracy while perfect foresight improved it, and the baselines showed the same effect in the planning runs [^1]. WorldEvolver works on both sides: memory makes predictions better, and the confidence gate holds back the shaky ones. Adding the gate matched or improved the ungated version in every planning setting [^1]. Because what the system learns is kept as plain-text cases and rules, the authors present it as an auditable alternative to repeated weight updates [^1].

The limits are clear in the paper itself. The tests cover two controlled text environments, not web navigation, code generation, robotics or multimodal tasks [^1]. The gate needs token probabilities, which some closed-model APIs don't expose [^1]. And the benefit shrank with the stronger model; the authors say GPT-5.4-mini's better planning left less room for help from foresight [^1]. So the evidence for more accurate predictions is strong, while the step from there to clearly better agents is still modest.

Practical example

Say Ines builds an agent for a text-based household simulator like ALFWorld, with Gemma-4-26B-A4B as both the agent and its world model, as in the paper's planning tests [^1]. The task is to put a cooled apple on the table. Before each step, the agent drafts an action and the world model predicts what will happen [^1].

Early on, the agent drafts an action to take the apple out of the fridge. The world model predicts success, but the fridge is closed and nothing happens. WorldEvolver breaks both texts into facts, sees that they differ, and its critic writes a rule along the lines of: open a closed container before taking anything out [^1]. The rule starts with an evidence score of 1 and stays in the prompt while later observations keep backing it [^1]. The real transition also goes into Episodic Memory, so when the agent later plans a similar action, the world model sees what actually happened last time [^1].

Later, the world model is unsure what cooling the apple will do. Its confidence falls below the threshold, so the agent gets no prediction and decides on its own instead of trusting a guess [^1]. No weights change at any point, and both memories carry over to later tasks in the same environment [^1].

The catch for Ines: with GPT-5.4-mini, the paper found gains in only some settings, and a closed API without token probabilities would need a different way to estimate confidence [^1].

Related gear

We recommend this book because it covers the ideas this paper builds on: agents that plan by predicting the results of their actions, and learning from what actually happens.

AdvertisementAmazon

Artificial Intelligence: A Modern Approach

Sources

  1. [1]arXiv — Self-Evolving World Models for LLM Agent Planning