by Samy (Kondasamy Jayaraman)

Module 46 · Video and world models

Advanced

A model that dreams the next frame

A world model guesses the next frame from the last ones and an action, and its small errors pile up. Here you drive a robot inside one, watch it drift, and plan when to check it against the real floor.

Read as

The whole idea in one example

Right one step at a time, lost on its own

One step

from real frames

98%

of the cells that changed, guessed right on runs it never saw.

On its own

from its own guesses

9 steps

before the pinned route’s dream loses its robot.

Larkspur’s toy world model: two small neural networks trained once on a simulated warehouse, cut short on purpose so drift shows. Its numbers show how it works, not any large model’s.

How it works

Four ideas carry the module

  1. 1 Frames

    A video is a row of still frames

  2. 2 Guess the next frame

    A world model draws the next frame from the last two and an action

    Ha and Schmidhuber (2018) built generative models of game environments and trained an agent entirely inside its world model’s “hallucinated dream”, then ran the agent in the real game.

    Source, checked 30 October 2026

  3. 3 Drift

    Fed its own guesses, small errors pile up

  4. 4 Re-sync

    A real frame now and then pulls the dream back

    GameNGen guesses each frame from the last 64 frames and actions, a little over 3 seconds; without noise added to those frames in training, its quality fell apart after about 10 to 20 frames of its own guesses.

    Source, checked 30 October 2026

The story

Larkspur tries routes in a dream

Larkspur Supply Co. wants to try warehouse robot routes in a simulator before it builds them: a model that guesses the next frame of its test floor. You’re on the team that decides when to trust it.

256
cells in each frame of Larkspur’s simulated test floor
6,596
weights in Larkspur’s toy world model
98%
of changed cells right, one step at a time
9
steps the pinned route’s dream keeps its robot

Your path

The chapters

  1. Chapter 1

    A film is many pictures

    What is a video made of, and what does a second of it cost?

  2. Chapter 2

    Guess the next frame

    How good is one guess of the next frame?

  3. Chapter 3

    One frame is not enough

    Can one frame tell you which way the crate is going?

  4. Chapter 4

    Press a key

    How does a key press reach the model’s next frame?

  5. Chapter 5

    Drift

    What happens when guesses are built on guesses?

  6. Chapter 6

    The big ones

    How do large models keep frames agreeing, and how big are they?

  7. Chapter 7

    Workbench: context and re-sync

    Which plan keeps the dream right with the fewest real frames?

Who it’s for

  • Engineers
  • Product managers
  • Analysts
  • No code needed

Anyone weighing a simulator or a video model who wants to know why long runs go wrong and what keeps them honest. The Diffusion module first helps, but no maths is needed.