What is a World Model?
Why this mattersâ
Between 2018 and 2026, the term "world model" grew from a workshop paper into a broad field spanning RL, video generation, 3D, and robotics. Without a global map first, every later module becomes an isolated buzzword. This module gives you that map.
Visual Intuitionâ
The agent observes the world (observation), maintains an internal predictable representation (world model), and uses it to imagine the future and plan actions. The world's "true state" is never directly accessible â the model is the only world the agent has.
The taxonomy shows the families this course covers: classical state-space models â latent-space world models (RSSM/Dreamer) â generative video world models â spatial/4D world models. Track A advances along the taxonomy from left to right.
Core Ideaâ
A world model is a learned representation and predictor of the environment's dynamics (the official CIS6280 definition): it learns an internal state and how that state evolves given an action , so that future trajectories can be "imagined" without the real environment. The definition has two key components: representation (how the state is represented) and prediction (how the state evolves) â the first half of Track A covers representation, the second half prediction and use.
A world model is not one specific model but an abstract interface: any system that can answer "what happens if I execute this action sequence from the current state" is a world model. A hand-built physics engine (MuJoCo), a Kalman filter, Dreamer's RSSM, and Sora-class video models are all different implementations of this interface.
Its value lies in decoupling learning from trial and error: a model-free agent must trial-and-error in the real world; a model-based agent can trial-and-error in "dreams" (imagination), trading expensive real interaction for cheap in-model rollouts. This is exactly where model-based RL's sample-efficiency advantage comes from.
Key Conceptsâ
- Observation: the signal the agent actually receives â a lossy projection of the state.
- State: a sufficient statistic for the future; the true state is usually not directly observable.
- Transition: , the core object a world model learns.
- Imagination: rolling out trajectories inside the model without interacting with the real environment.
- Interface: the four elements state / transition / action / evaluation â the Capstone requires you to define them explicitly.
Core Equationsâ
The probabilistic formulation of a world model (trajectory distribution):
University Lectureâ
| Course | Lecture | Link |
|---|---|---|
| UPenn CIS 6280 World Models | L01 World Models: An Overview | slides |
| UPenn CIS 6280 World Models | L02 History, Foundations, Probabilistic Formulation | slides |
Papersâ
- Must Read: Ha & Schmidhuber (2018), World Models (arXiv:1803.10122) â the origin of the field, written as a 30-page blog post; readable in one evening.
- Recommended: Hafner et al. (2023), Mastering Diverse Domains through World Models (DreamerV3, arXiv:2301.04104) â the contemporary benchmark; start with the abstract and figures.
- Optional: Wong et al. (2023), From Word Models to World Models (search the paper title) â a perspective extending the world-model concept to language.
Hands-onâ
Lab 0 has you implement a small Gymnasium-compatible environment from scratch, defining observation / action / transition yourself â the fastest way to internalize the "world model interface."
Check Your Understandingâ
- What is the essential difference between a world model and an ordinary "regression model"?
- Why does having a model improve sample efficiency?
- Does a physics simulator count as a world model?
Show answer
- A world model models the closed-loop conditional distribution : its outputs feed back as inputs to the next step (rollout), so errors compound. Ordinary regression only fits a single open-loop step and has no such recursive structure.
- Because the policy can be trained on in-model rollouts (imagination): most trial and error no longer consumes real environment interactions, and real data is only needed to calibrate the model itself.
- Yes. A simulator is a "hand-written world model" â it satisfies the state/transition/action interface. The evaluation standard for learned world models is often precisely "can it replace the simulator."
Takeawayâ
- A world model = a predictable representation of the world, with state / transition / action / evaluation as its core interface.
- The field has a complete lineage from classical filtering to generative video models; this course advances along it.
- The value of a model is trading real trial-and-error for imagined trial-and-error, at the cost of model error (Module 12 settles that account).
Next Moduleâ
Module 02: Observation, State and POMDP â before modeling, get clear on whether what you see is an observation or a state.