How LLM world models could train more capable AI agents
Researchers tested whether large language models can act as world models for AI agents by predicting how environments change after actions. Fine-tuned models performed strongly in structured text-based environments, but more open settings still demanded more data and model capacity.
Autonomous AI agents need practice. The challenge is that real environments are not always available at the scale, speed, or flexibility needed for training. New research suggests that large language models may help by serving as world models: simulators that let agents rehearse actions and learn from synthetic experience.
“The story mildly leans Terminator because it describes LLM-based world models enabling more capable autonomous AI agents, though in controlled research settings.”Why it scores Terminator
Why AI agents need simulated experience
An AI agent that acts on its own has to understand what its actions are likely to cause. In a real setting, that understanding normally comes from repeated interaction. The agent tries something, observes the result, and adjusts its future behavior.
That process runs into a practical bottleneck. Real environments can be limited, hard to scale, and too rigid for the variety of experience an agent may need. A world model offers a different path by predicting the next state of an environment after the agent takes an action.
The idea in the study is to reframe language modeling itself. Instead of using a model only to predict the next word, the researchers tested whether it could predict the next environmental state. If that works reliably, an agent could train inside the model before or alongside real interaction.
The research team included researchers from the Southern University of Science and Technology, Microsoft Research, Princeton University, the University of Edinburgh, and others. Their core question was practical: can LLMs become accurate enough simulators to support agent training?
Five text environments tested the idea
The researchers evaluated the approach across five text-based environments. Each one puts different pressure on the model, from rule-heavy tasks to more variable interactions.
- ALFWorld uses household tasks, such as cooling a cup and placing it in a coffee machine.
- SciWorld simulates a lab for scientific experiments.
- TextWorld provides narrative puzzles with exploration elements.
- WebShop imitates a shopping site where agents search for products that match criteria.
- StableToolBench tests API tool usage.
This spread matters because a world model that works only in narrow, structured settings would have limited usefulness. Household and lab simulations have clearer rules. Shopping and narrative tasks introduce more variability, which makes prediction harder.
The team looked at three main questions. First, could the models predict state transitions accurately and consistently over longer action sequences? Second, would performance improve with more data and larger models? Third, would these world models actually help train agents, rather than merely perform well on isolated prediction tasks?
Fine-tuning made the biggest difference
Pre-trained LLMs already showed some ability to infer how an environment changes. In the household environment, Claude-sonnet-4.5 reached 77 percent accuracy at predicting the next state with just three examples. That result showed promise, but it was not enough for harder settings.
The stronger results came after targeted training on real interaction data. Once fine-tuned, Qwen2.5-7B and Llama-3.1-8B reached over 99 percent accuracy on ALFWorld, around 98.6 percent on SciWorld, and about 70 percent on TextWorld.
The study also tested whether the models stayed useful beyond one-step predictions. In structured domains, the consistency ratio exceeded 90 percent. In practical terms, action sequences planned inside the world model succeeded in the real environment at about the same rate as actions planned through direct interaction.
WebShop was more difficult. Consistency rates averaged around 70 percent, and results varied widely depending on the agent. Weaker agents showed much lower consistency. But when simulated processes began with real observations, consistency rose to nearly 100 percent, even with a GPT-4o agent.
The setup separated the simulator from the acting agent. The World Model LLM, such as Qwen2.5-7B or Llama3.1-8B, predicted what happened after each action. Agent LLMs such as GPT-4o, GPT-4-turbo, and Claude-sonnet-4.5 planned and executed actions within that simulated environment.
Scaling depends on the environment
The results point to a clear pattern: easier, more structured environments required less scaling than open-ended ones. In household or lab simulations, accuracy plateaued at around 20,000 training trajectories. A trajectory is a recorded sequence of an agent attempting a task.
Open environments kept benefiting from more data. The shopping site improved with additional training data up to 70,000 trajectories. That suggests that more variable tasks may need broader examples before a world model can simulate them consistently.
Model size showed a similar split. Models with 1.5 billion parameters were enough for structured environments, but more complex scenarios required greater capacity. The implication is straightforward: world modeling is not one-size-fits-all. The amount of data and the size of the model both need to match the complexity of the environment being simulated.
What this means for agent training
The findings connect to a larger debate about how AI systems should improve. Turing Award winner Richard Sutton recently argued that the AI industry has "lost its way," because current systems rely on knowledge built in during development rather than learning continuously from experience.
In the essay "Welcome to the Era of Experience," co-authored with Deepmind researcher David Silver, Sutton argued for AI agents that learn from their own experience, with world models acting as internal simulators.
This study supports part of that direction. It shows that LLMs can learn to represent environmental dynamics well enough to simulate action outcomes in several text-based settings. That could make them a useful building block for experience-based AI training.
At the same time, the work does not resolve the full problem Sutton highlights. The study does not address continuous learning without forgetting, which he views as a crucial hurdle on the path to true intelligence. For now, the research makes a narrower but important point: LLM world models can provide realistic simulated practice in some environments, especially when fine-tuned with enough interaction data.
Read next