Paper commentary
From Traces to Agentic Worlds: Agentic Language World Models for Interactive Environment Simulation
Agentic world models simulate environments from past interaction traces
- Problem Prompted language world models lose track of action consequences over long horizons. An action can change the environment without printing anything, and a flat prompt gives no clear place for what the current episode has changed.
- Method Trace2Env has a world model agent consult a worldbook built offline from historical traces. It also keeps persistent episode state, and it validates proposed state changes before committing them.
- Results On ALFWorld, Trace2Env reaches a consistency ratio of 0.914, compared with 0.032 for Direct Prompting.
Why prompted simulators drift over many turns
Realistic environment replicas are useful, yet the original system is often unavailable or hard to rebuild. The conventional approach predicts the next observation from a description, the interaction history, and the current action. That prediction is fragile over long horizons, because an action can change the environment without printing anything.
Looking back at past observations doesn't reveal this latent consequence, so the simulator has to infer the state change when it occurs.
A single prompt places environment knowledge and interaction history together as one flattened context. This leaves no clear place for what the current episode has changed. Treating every signal as one flat history makes the scope of each fact ambiguous. Instead of treating simulation as one next-observation prediction, the authors treat it as an agentic task.
A dedicated world model agent inspects externalized environment knowledge as needed, rather than reading a fixed prompt.
The world model agent has no direct access to the original environment. It seeks trace-derived knowledge relevant to the current interaction, then combines it with the current episode state and memory. Separating the worldbook, the episode state, and the memory keeps each fact tied to its scope. The worldbook describes how the environment behaves, the state describes what is currently true, and the memory records what happened before.
The worldbook and the episode workspace
Trace2Env stores knowledge offline in a worldbook, so the world model agent reads it on demand rather than from the prompt. An offline constructor reads the build traces and produces a worldbook with four components: schemas, grounded evidence, induced abstractions and provenance. Grounded evidence keeps each recorded transition with its original observation, and effects with ambiguous attribution are withheld.
The constructor proposes behavioral rules from the traces and checks them against supporting and contrasting cases. Supported rules become induced abstractions, and each one keeps provenance links to the traces and turns that support it. Because the worldbook is stored as an immutable package, the same worldbook serves many agent rollouts, and the shared harness stays the same code.
At run time, each episode keeps its own workspace, which separates reusable knowledge from episode-specific facts. A construction trace can show how a terminal renders a cat command, but it doesn't establish that the file exists in a new episode. The workspace W_t combines the fixed worldbook K_E, the represented state ŝ_t and the episodic memory M_t.
K_E describes how the environment behaves, ŝ_t describes what is currently true, and M_t records what happened before. The state is not a compressed transcript, since M_t keeps the temporal context and exact interaction evidence. The episode state is deliberately incomplete, so a missing entry counts as unknown rather than as evidence that something is absent.
One simulated turn, step by step
A single simulated turn starts with the applicability gate, which labels each retrieved worldbook entry before the world model agent relies on it. The gate assigns each entry one of three labels: supporting, uncertain, or format-only. Relevance isn't treated as applicability, since a retrieved transition may carry the right response format while containing facts from another episode.
Next, the world model agent alternates between inspecting the workspace and reasoning until it is ready to propose the next response.
The agent externalizes its decision as a transition proposal, made of an ordered list of candidate state effects and a proposed observation. The proposal doesn't touch the episode yet, because the validation gate first tests the candidate effects on a copy of the state. Only accepted proposals get committed by the shared harness, which returns the resolved observation.
This split lets the model propose while the harness decides what persists into the next turn.
Next-observation fidelity across seven environments
The authors score each prediction with the official gpt-5.2 judge on five dimensions, then average them on a 0 to 100 scale. With gpt-5.6-sol, Trace2Env averages 75.94, while Direct Prompting averages 69.51. That gap is a gain of 6.43 points over Direct Prompting. With deepseek-v4.1-flash, Trace2Env reaches 75.75, against 68.71 for Direct Prompting on the same backbone.
On that backbone, the improvement is 7.04 points.
Trace RAG Prompting adds five raw action–observation turns to the prompt, and it averages 73.76 with gpt-5.6-sol. A static worldbook placed in the prompt reaches 74.35 on the same backbone, while the harness alone reaches 70.79. Trace2Env scores higher than both, so the authors read the worldbook and the runtime as contributing different information.
The authors report that Trace2Env is best in 11 of 14 environment and backbone pairs. It never falls below Direct Prompting in any pair. Factuality and Consistency rise in every environment and backbone pair. Format dips slightly on Android with gpt-5.6-sol and on Web with deepseek-v4.1-flash. Every environment's trajectory-clustered interval for the gain sits clear of zero on both backbones.
Trace2Env beats Harness only in all eight pairs across the four AgentWorldBench environments, and six of those differences are statistically clear. The static worldbook matches or beats raw trace retrieval in seven of eight comparisons.
Whether simulated behavior survives real replay
A high success rate inside the simulator is a weak test, because a task agent can reach its goal in a fictitious state. The authors therefore replay the action sequence generated in the world model in the real environment and report W2R. They define the consistency ratio as CR = W2R/Real, where a value near one means the agent keeps its real-environment success rate.
Direct Prompting reaches 97% success in the world model on ALFWorld, but only 3% W2R, which gives a CR of 0.032. A prompted model can hallucinate a wrong transition and stay internally consistent afterward, so the task agent satisfies its goal in a state that never existed.
Trace2Env reaches 88% success in the world model and 85% W2R on ALFWorld, against 93% real success. This gives Trace2Env a CR of 0.914 on ALFWorld. On SciWorld, the CR rises from 0.529 for Direct Prompting to 0.706 for Trace2Env. The authors read this as the simulator keeping later turns grounded, even when that means rejecting actions and lowering the simulated success rate.
The qualitative case in Figure 4 shows how one unsupported action can derail a rollout. Trace2Env predicts a no-op and keeps the item in inventory, so the later inventory and help responses expose the unchanged state. That lets the task agent recover with a valid move command, which the authors present as evidence of persistent environment knowledge.
Which parts carry the gain on Terminal
On Terminal, the authors split the worldbook into schema-only, abstraction, and evidence tiers, all tested with gpt-5.6-sol. Schema-only is the baseline in this ablation, and it scores 62.05 against 55.76 for Direct Prompting. Adding evidence to the schema-only worldbook gives +2.45 ± 0.89 points, which makes evidence the stronger standalone tier.
Abstraction alone doesn't help, since it drops the schema-only score by 1.12 ± 0.90. Abstraction helps only on top of evidence, adding +0.69 ± 0.63 to the evidence tier. Evidence added to an abstracted worldbook gives +4.26 ± 1.02, so the two tiers play complementary roles. The full worldbook reaches 64.89, and the paper reads evidence as grounding predictions while abstraction organizes that evidence.
The agent-side runtime pieces are tested separately from the worldbook tiers. Removing the adaptive loop gives 63.09, which is 1.79 ± 0.91 below the full Trace2Env system. Removing persistent state tracking gives 63.91, which is 0.97 ± 0.78 below the full system. Without the adaptive loop, Trace2Env keeps about 80% of its improvement over Direct Prompting while using about 29% of the inference cost.
Trace count is the other lever the authors vary on Terminal. The Terminal score rises from 64.89 at 20 traces to 66.42 at 36 traces. Performance is less stable with 5 to 15 traces, and the curve is still rising at 36 traces. Construction cost grows roughly with the amount of trace data.
Limits of the evidence
The multi-turn evidence comes from only two text games, ALFWorld and SciWorld. The authors report those runs in Table 2, so they don't test multi-turn consistency on Terminal, Web, SWE or Android. Next-observation scores all come from one judge, gpt-5.2, under the official protocol. The paper reports no second judge, so the absolute scores depend on gpt-5.2's rubric.
Each worldbook is built once with gpt-5.6-sol and then frozen. The deepseek-v4.1-flash runs therefore test only whether one model can operate a worldbook built by another. For Android and SWE, the authors use task-grouped five-fold cross-fitting over the benchmark trajectories. On Terminal with DeepSeek, the gain on the no-overlap subset over Harness only is +0.61±1.19, with a CI from −1.78 to +2.96.
The Terminal scaling curve stops at 36 traces, the largest non-overlapping construction set the authors had. Scores rise from 64.89 at 20 traces to 66.42 at 36 traces, while 5 to 15 traces gave less stable results. The paper doesn't show where the curve flattens, since it ends at 36. Construction cost also grows with the amount of trace data, so the main experiments use 20 traces for Terminal.
For Web, 151 of the 200 evaluation records can't be linked to a construction task. On Android with GPT-5.6-Sol, Trace2Env gains +2.30±1.28 over Direct Prompting, with a CI from 0.02 to 4.63. Harness only against Direct Prompting on Android with GPT-5.6-Sol is −0.18±0.66, with a CI from −1.52 to 1.18.
Paper info
- Authors
- Quanyu Long, Xiao Chen, Jianda Chen, Haozhen Zhang, Qisheng Hu, Jianzhu Bao, Wenya Wang
- Venue
- arXiv · Preprint
- First published
- 2026-10-5
- Added
- 2026-10-20
- Updated
- 2026-10-5
- Version
- v1
- arXiv
- 2610.06100
- Category
- cs.CL
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Quanyu Long, Xiao Chen, Jianda Chen, Haozhen Zhang, Qisheng Hu, Jianzhu Bao, Wenya Wang (2026). From Traces to Agentic Worlds: Agentic Language World Models for Interactive Environment Simulation. arXiv:2610.06100v1. https://arxiv.org/abs/2610.06100v1
BibTeX
@misc{long2026from,
title = {{From Traces to Agentic Worlds: Agentic Language World Models for Interactive Environment Simulation}},
author = {Quanyu Long and Xiao Chen and Jianda Chen and Haozhen Zhang and Qisheng Hu and Jianzhu Bao and Wenya Wang},
year = {2026},
eprint = {2610.06100},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2610.06100v1}
}