PTENES
MODULE 3.2

๐ŸŒ World Models and Predictive Simulation

Robots that imagine the future before acting: generative models as a prediction engine. From JEPA to Dreamer โ€” learn how agents simulate consequences in their minds before touching the real world.

6
Topics
40
Minutes
Advanced
Level
Theory
Type
Observation camera + sensors current state s_t World Model "What if I do X?" rollout ฮฑ โ†’ reward 0.82 rollout ฮฒ โ†’ reward 0.54 rollout ฮณ โ†’ reward 0.31 Optimal Action a* = argmax R(s) selected rollout ฮฑ new observation after execution World Real

Predictive simulation loop: the robot imagines multiple rollouts in the World Model and executes only the action with the highest estimated reward.

1

๐Ÿง  What World Models Are

World Models are internal representations an agent builds of its environment โ€” a kind of โ€œmental map of the future.โ€ Instead of acting through trial and error in the real world, the robot mentally simulates scenarios and chooses the best trajectory before moving a single servo.

๐Ÿ”ฎ Core Definition

A World Model is a function f(s_t, a_t) โ†’ s_{t+1} that, given the current state and a proposed action, predicts the next state. Chained k times, generates a rollout of k steps in the future โ€” the robotโ€™s โ€œdream.โ€

Latent Space Dynamics

The world is compressed into a low-dimensional latent space where dynamics are easier to learn than in raw pixel space.

Forward Model

Component that predicts the next state. It can be deterministic or stochastic (modeling uncertainty as a distribution over possible futures).

JEPA

Joint Embedding Predictive Architecture (LeCun): predicts representations of future states in feature space, without reconstructing pixels โ€” more efficient and robust.

Rollout Planning

Simulate N candidate trajectories, evaluate each with a reward function, and execute only the action from the winning trajectory.

๐Ÿ’ก Why Yann LeCun is betting on this

LeCun argues that World Models are the missing piece for human-level intelligence: humans spend most of their time "imagining," not acting. JEPA is his proposal for training these models without representational collapse.

2

๐ŸŽฌ Generative video models: Sora, UniSim, Genie2

Models such as Sora (OpenAI), UniSim (Google), and Genie2 (DeepMind) generate realistic videos of the future conditioned on actions. In robotics, they function as visual world models: given the current frame and a proposed action, they generate the next frames showing the likely result.

โœ“ Advantages of Video World Models

  • โœ“ Generate photorealistic simulations of unseen environments
  • โœ“ Allow policies to be trained without a traditional simulator (Isaac Sim, MuJoCo)
  • โœ“ Scale with internet video dataโ€”trillions of frames available
  • โœ“ Capture implicit physics: objects fall, liquids flow, shadows are cast

โœ— Current limitations

  • โœ— Does not guarantee strict physical consistency (objects may teleport)
  • โœ— Generation is too slow for real-time online planning
  • โœ— Content errors accumulate over long rollouts (>2โ€“3 seconds)
  • โœ— Difficult to condition on actions in torque/joint angle space
Comparison: generative video models
ModelFocusRobotics status
UniSim (Google) Universal action simulator Research ยท closer to real-world use
Genie2 (DeepMind) 3D environment generator Research ยท high visual fidelity
Sora (OpenAI) High-quality video Commercial ยท inconsistent physics

๐ŸŽฏ The long-term bet

If video world models achieve sufficient physical fidelity, they replace Isaac Sim and MuJoCoโ€”traditional simulators that require manual physics modeling. Robot training becomes as scalable as training LLMs on web text.

3

๐Ÿ”€ Predicting consequences: "What if I do X?"

The robot evaluates multiple candidate actions by simulating their consequences in the world model. For each action, it generates a trajectory of future states and calculates a reward function for the predicted outcome. It then executes the action with the best estimated outcome in the real world.

1

Action Sampling

Sample N candidate actions from the action space. This can be done with CEM (Cross-Entropy Method), MPPI, or simply by adding Gaussian noise to the current action.

2

Parallel Rollout

Each candidate action is expanded k steps in the World Model in parallel on the GPU. Produces N future-state trajectories simultaneously.

3

Reward Prediction

A reward function evaluates each trajectory. It can be a separate neural network, distance to a goal state, or an engineering cost function.

4

Winnerโ€™s Execution

The action from the trajectory with the highest cumulative reward is executed. Then the cycle restarts with the new observationโ€”this is Model Predictive Control (MPC).

โšก Why this matters

This โ€œlook-aheadโ€ mechanism is what separates reactive robots from truly intelligent robots. It makes it possible to avoid irreversible actionsโ€”such as knocking over a fragile objectโ€”by predicting the consequence before acting. The cost: planning latency.

4

๐Ÿ’ญ Planning through imagination (model-based RL)

Model-based reinforcement learning trains a policy using experiences generated by the world model instead of real interactions. Algorithms such as Dreamer and TD-MPC learn in the modelโ€™s "dream," then transfer the behavior to the physical robotโ€”reducing training cost and risk by orders of magnitude.

Model-Free RL ~10โถ real interactions required slow ยท expensive ยท risky Model-Based RL (Dreamer) โฌ› real ๐Ÿ”ต imagination (world model) ~10ยฒ real interactions ยท 10โถ in the dream fast ยท safe ยท scalable

โœ“ Established algorithms

  • โœ“DreamerV3 โ€” learns through imagination, works on 150+ tasks without adjustment
  • โœ“TD-MPC2 โ€” combines MPC with TD learning; state of the art in continuous robotics
  • โœ“MBPO โ€” policy optimization with short rollouts in the model (Janner et al.)

โœ— Common pitfalls

  • โœ—Rollouts that are too long โ€” model errors accumulate (model bias)
  • โœ—Policy optimizes the model, not the real world (exploitation of model error)
  • โœ—Very simple model โ€” does not capture the real environmentโ€™s multimodality
5

๐Ÿญ Training with synthetic world model data

In addition to online planning, world models can generate massive synthetic datasets to pretrain policies. The model generates millions of plausible trajectories with variations in objects, lighting, and configurations โ€” data that would be impossible to collect manually at scale.

๐Ÿ“Š The Robotics Data Bottleneck

LLMs scaled because internet text provided trillions of tokens. Robotics doesnโ€™t have that luxury: real trajectory data is expensive (~$10โ€“100/hour of collection) and scarce. World models are the proposal for closing this gap.

~10ยณ
hours of real data available (Open X)
โˆž
possible synthetic trajectories via world model
10โ€“100ร—
estimated cost reduction with synthesis
Domain Randomization

Generate data with randomized lighting, textures, and positionsโ€”the world model does this at zero marginal cost compared with moving real objects.

Fidelity vs. Diversity

Fundamental trade-off: data that more faithfully reflects real-world physics is more useful, but limiting fidelity allows for greater diversity in generated scenarios.

Robotics Scaling Laws

Researchers are investigating whether robotic policy performance scales predictably with the volume of synthetic data โ€” analogous to the scaling law for LLMs.

Implicit Data Augmentation

World model as an augmenter: generates variations of real trajectories with state perturbations โ€” enriches the dataset without additional collection.

๐Ÿ”‘ The key bet

If world models become reliable physics simulators, robotics' "data bottleneck" disappears. Companies like 1X Technologies and Physical Intelligence already use this approach to scale data collection synthetically.

6

โš ๏ธ Limitations: When the Model Predicts Incorrectly

World models arenโ€™t perfect: prediction errors accumulate over the time horizon (compound error), deformable objects are difficult to model, and complex multi-body interactions often diverge from reality. Blindly trusting a world model is as dangerous as having none.

โœ— World Model failure modes

  • โœ—Compound Error โ€” small errors at each step add up: after 50 steps, the predicted state may be completely unrealistic
  • โœ—Deformable objects โ€” fabric, liquids, soft mass: physics that current neural networks can't handle
  • โœ—New interactions โ€” out-of-distribution: the model extrapolates poorly to situations it did not see during training
  • โœ—Precise contacts โ€” fitting a part, tightening a screw: high-precision contact physics is critical

โœ“ Mitigation strategies

  • โœ“Short-term horizon โ€” limiting rollouts to 5โ€“15 steps reduces error accumulation
  • โœ“Uncertainty estimation โ€” measure model uncertainty and stop imagining when it is high
  • โœ“Model ensemble โ€” use disagreement between models as a proxy for uncertainty
  • โœ“Real โ†’ Simulated Alternation โ€” regularly observe the real world again to correct drift

๐Ÿšจ The trust paradox

A robot that trusts the world model too much executes fanciful plans that fail in the real world. A robot that distrusts it too much never acts. The balance โ€” knowing when imagine and when observe โ€” it is an open problem in uncertainty calibration.

๐Ÿ“‰
Compound Error
ฮต_t grows with t; long rollouts become unreliable
๐ŸŽฒ
Uncertainty Estimation
ensemble disagreement or a probabilistic model as a warning signal
๐Ÿ”„
Reality Check
compare predictions with real observations to detect model drift

โœ… Module Summary

โœ“
World Models as โ€œimaginationโ€ โ€” internal representations that simulate f(s_t, a_t) โ†’ s_{t+1} to plan without interacting with the real world.
โœ“
Video models as simulators โ€” Sora, UniSim, and Genie2 show the potential to replace traditional simulators with learned physics.
โœ“
Model-based RL is 100โ€“1000ร— more efficient โ€” DreamerV3 and TD-MPC2 train policies in a โ€œdream,โ€ drastically reducing the real-world interactions required.
โœ“
Compound error is the enemy โ€” robust systems limit the rollout horizon, estimate uncertainty, and regularly observe the real world again.

Next module

3.3 โ€” Data-Driven Robotics: Open X-Embodiment and Massive Datasets