Distillate

World models

World models: technical cheat sheet

Core loop

An environment emits an observation o_t. An encoder maps it to a latent state z_t; a dynamics model predicts the next latent state after action a_t:

z_t = e(o_t)

p(z_{t+1}, r_t, done_t | z_t, a_t)

A policy chooses actions, and a planner evaluates imagined rollouts under the learned dynamics.

Three model-based RL families

Why latent space?

Pixels contain details irrelevant to control. A good latent state preserves task-relevant information while discarding nuisance variation. The dangerous failure is aliasing: two observations map to similar latents even though they have different future consequences.

Main failure modes