# Genie: Learning interactive 2D worlds from unlabeled video

> Genie learns latent actions and a video world model from unlabeled platformer videos, turning images into controllable 2D environments without ground-truth action labels.

- URL: https://dmxsf.com/en/blog/genie-generative-interactive-environments/
- [DMXSF](https://dmxsf.com/en/about/)
- Published: 2024-03-04
- Updated: 2026-11-13
- Paper notes
- Paper: [Genie: Generative Interactive Environments](https://arxiv.org/abs/2402.15391) (Jake Bruce, Michael Dennis, Ashley Edwards, et al. · arXiv, 2024)

DeepMind’s Genie trains on many 2D platformer videos. It learns both how environments change and which latent actions influence the future, making generated scenes controllable.

## How it works

A video tokenizer discretizes frames, a latent-action model infers a small action space from adjacent frames, and a dynamics model predicts future tokens from history and actions. At inference, users choose latent actions and generate responses frame by frame.

## What the evidence shows

Genie demonstrates control in training games and environments created from sketches or images. Latent actions need not correspond to real buttons, and visual coherence does not guarantee long-term physics or task consistency.

## A reproducible check

This snippet checks a public formula or configuration; it does not reproduce full training.

```python
latent_actions, frames = 8, 16
sequences = latent_actions ** (frames-1)
print("latent actions =", latent_actions)
print("frames =", frames)
print("possible action paths =", sequences)
```

```text
latent actions = 8
frames = 16
possible action paths = 35184372088832
```

The arithmetic is reproducible, but model quality still depends on the full experiments in the paper.

## Limitations and common misreadings

The focus on 2D platformers is far from robotics and 3D reality. Autoregressive generation adds latency and accumulating errors, while action semantics require exploration.

## The key takeaway

Genie combines world modeling with unsupervised action discovery: it predicts video conditionally rather than merely continuing it.

## Further reading

- [Genie: Generative Interactive Environments](https://arxiv.org/abs/2402.15391)
- [World Models](https://dmxsf.com/en/blog/world-models-ha-schmidhuber/)
- [DreamerV3](https://dmxsf.com/en/blog/dreamerv3-mastering-diverse-domains-through-world-models/)

## FAQ

### Does Genie need action labels?

No. Its latent-action model learns discrete actions from unlabeled frame changes.

### Can it directly control real robots?

No. The paper focuses on 2D platformer environments.

### How is it different from ordinary video generation?

Future frames are conditioned on selected actions, not generated unconditionally.
