# World model

> Canonical: https://skillalmanac.com/glossary/world-model | Last verified: 2026-11-25 | Index status: index-eligible

In the learned reinforcement-learning sense used here, a world model predicts an environment's future from observations and actions. An agent can use those predictions to plan or train in imagined trajectories; accuracy and transfer are not guaranteed.

Also called: world models, world model AI, AI world model, learned environment model, world models in AI.

## In plain language

A world model is a system's own small simulation of how things work. Instead of trying every action in real life, the system first plays it out in its head: if I do this, what happens next? Think of a chess player picturing the board three moves ahead. Researchers can train such models on recorded experience and use imagined trajectories to reduce real-environment interaction in particular tasks. The model can be wrong, and training or transfer may still be costly. This entry uses the learned reinforcement-learning sense, not every broader use of the term.

## Technical definition

The learned world models in the cited reinforcement-learning papers use neural networks, often generative ones, trained on observations and actions to predict future states of an environment, typically in a compact learned latent space. Ha and Schmidhuber trained such a model on reinforcement learning environments and trained a small controller inside the model's own simulated environment. Dreamer-style agents learn the model and then optimise behaviour on imagined rollouts rather than on environment steps.

## How it shows up when you use agents

A normal coding-agent interaction does not establish that a learned environment simulator is being trained or used. The model brings knowledge learned in its parameters as well as runtime context and tools supplied by the harness. Inspect the actual model and application before inferring its internal predictive representations.

Reading project files can inform a model's predictions about a change, but those predictions do not establish correct behavior. Running appropriate tests and inspecting results supplies external evidence rather than relying on a presumed accurate internal simulator.

You can supply an explicit description yourself. A state table or sequence diagram records intended behavior, but checking its structure does not prove it matches the real system. The [procedure-to-flowchart](/skills/skill-almanac/procedure-to-flowchart) skill does this for behaviour notes. Learned world models matter for [physical AI](/glossary/physical-ai) where imagined rollouts may reduce real-world interaction; total cost and transfer depend on the task and model.

What breaks when the term is misunderstood: people assume a chat model already holds an accurate simulation of the world and trust its prediction of what a command will do. Treat such predictions as guesses until a tool confirms them.

## Common confusions

- **World model versus language model.** Autoregressive language models predict text tokens; other language-model objectives exist. The selected world-model research predicts environment evolution conditioned on actions. Learned representations can overlap, so these labels alone do not reveal a coding model's internals. See [Neural network](/glossary/neural-network).
- **Learned versus hand-written.** A diagram or state table is a model of a system written by a person. The cited learned-RL models instead fit predictive representations from experience; the broader term has other uses.
- **Myth: a world model understands physics.** Prediction quality must be measured even in the training domain. The papers report specific games and tasks, not a universal grasp of reality or a safety guarantee.
- **World model versus simulator.** A simulator may use hand-written rules, learned dynamics or both. The learned predictors discussed here can produce errors, and imagined success needs validation in the target environment.

## Worked examples in this catalogue

### [procedure-to-flowchart](https://skillalmanac.com/skills/skill-almanac/procedure-to-flowchart)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: One Mermaid flowchart built from a written step-by-step procedure, in which every decision shows all of its stated exits.

Why it exercises the concept: An illustrative preparation analogy: explicitly listing stated branches can clarify the process you want to model. This skill translates a written procedure; it neither learns environment dynamics nor tests prediction accuracy. No world-model training is executed.

## Related terms

- [Physical AI](https://skillalmanac.com/glossary/physical-ai.md)
- [Machine learning (ML)](https://skillalmanac.com/glossary/machine-learning.md)
- [Neural network](https://skillalmanac.com/glossary/neural-network.md)
- [Generative AI (gen AI)](https://skillalmanac.com/glossary/generative-ai.md)
- [AI model](https://skillalmanac.com/glossary/ai-model.md)

## Sources

- [World Models](https://arxiv.org/abs/1803.10122), arXiv (Ha and Schmidhuber, 2018) (accessed 2026-11-23)
- [Mastering Diverse Domains through World Models](https://arxiv.org/abs/2301.04104), arXiv (Hafner et al., 2023) (accessed 2026-11-23)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
