|
Download README.md from PLAN-Lab/WDDQ: direct link, hf CLI and curl.
- Browser
- Download file 4.75 kB
-
https://huggingface.co/PLAN-Lab/WDDQ/resolve/main/README.md
- Command line
-
hf download hf://PLAN-Lab/WDDQ/README.md
-
curl -L -o README.md https://huggingface.co/PLAN-Lab/WDDQ/resolve/main/README.md
4.75 kB
| tags: | |
| - world-model | |
| - video-diffusion | |
| - minecraft | |
| - action-conditioned-video-generation | |
| # World Diffusion Done Quick (WDDQ) | |
| [Project page](https://plan-lab.github.io/projects/wddq/) · [Code](https://github.com/PLAN-Lab/wddq) · [arXiv](https://arxiv.org/abs/2612.06312) | |
| WDDQ (**World Diffusion Done Quick**) is a recipe for training a Minecraft world model from | |
| scratch in under 50 GPU hours on one GH200, that outperforms open-weight Minecraft world | |
| models in terms of video quality and action controllability without distilling pretrained | |
| encoders or leveraging game-engine state. | |
| This repository contains the weights of the WDDQ video autoencoder and world model. Given one | |
| 640x360 start frame and a sequence of keyboard, mouse-button and camera actions, the world | |
| model generates subsequent frames autoregressively at 20 fps. | |
| ## Files | |
| | Path | Contents | | |
| | ------------------------------- | ------------------------------------------------------------ | | |
| | `autoencoder/model.safetensors` | Video autoencoder (138M parameters, fp32), step 100k | | |
| | `autoencoder/config.json` | Autoencoder constructor arguments | | |
| | `world_model/model.safetensors` | Predictor and diffuser (696M parameters, fp32), EMA weights, step 200k | | |
| | `world_model/config.json` | World model constructor arguments | | |
| ## Usage | |
| The models are defined in the [`wddq`](https://github.com/PLAN-Lab/wddq) code release: | |
| ```bash | |
| git clone https://github.com/PLAN-Lab/wddq && cd wddq | |
| pip install -e . | |
| ``` | |
| Generate a rollout from a start frame and actions (downloads weights from this repository): | |
| ```bash | |
| python -m wddq.inference --frames episode/frames.mp4 --actions episode/actions.jsonl \ | |
| --start 0 --n_frames 120 --out rollout.mp4 | |
| ``` | |
| `--frames` is an mp4 (frame `--start` is used) or an image, at 640x360. `--actions` has one | |
| action dict per line in the format of the VPT contractor dataset's `actions.jsonl`, read from | |
| line `--start`. Or load the models directly: | |
| ```python | |
| from wddq.pretrained import load_autoencoder, load_world_model | |
| autoencoder = load_autoencoder() # encode/decode 640x360 video | |
| world_model = load_world_model() # rollout(); its autoencoder is world_model.autoencoder | |
| ``` | |
| ## Model details | |
| - **Autoencoder.** The encoder maps each chunk of four frames to a single, 32-channel latent | |
| with 4× temporal and 32× spatial downsampling, giving an overall compression ratio of 384× | |
| (each latent is a 12×20 grid of tokens). The decoder is a hierarchical pixel diffusion model | |
| that generates reconstructions one frame at a time conditional on the latent and the previous | |
| frame. During inference, each latent frame is re-generated 4 times, starting from the same | |
| initial noise sample, providing low-latency feedback after each action. | |
| - **World model.** A causal predictor maps past latents and actions to a prediction of the next | |
| latent, trained with MSE. Instead of full 3D attention, the predictor alternates between | |
| spatial attention within each frame and temporal Gated DeltaNet blocks at each spatial | |
| position. A 16-layer diffusion model generates the next latent frame with rectified flow, | |
| conditioned on the detached prediction concatenated channelwise to the noisy latent. During | |
| training, we randomly mask half the tokens in the causal predictor; learnable mask tokens are | |
| re-inserted before the predictor's last four layers. The diffusion model receives the | |
| next-frame prediction as input, not the predictor's hidden state, and therefore must learn to | |
| generate conditional on imperfect predictions. | |
| ## Results | |
| Compared to open-weight Minecraft world models, from the same 500 held-out start frames and | |
| action sequences: | |
| | Model | FVD ↓ | Action F1 ↑ (mean of 7 groups) | Mouse L1 error ↓ | Throughput (fps) ↑ | | |
| | ----------- | --------- | ------------------------------ | ---------------- | ------------------ | | |
| | Open Oasis | 365.1 | 0.604 | 0.597 | 9.60 | | |
| | MineWorld | 104.9 | 0.764 | 0.534 | 3.59 | | |
| | **WDDQ** | **63.4** | **0.812** | **0.261** | 8.81 | | |
| Action metrics use labels from the VPT inverse dynamics model on the generated video. See the | |
| project page for details. | |
| ## Citation | |
| ```bibtex | |
| @misc{xiong2026wddq, | |
| title={Training Expressive Video Diffusion World Models from Scratch in Under 50 {GPU} Hours}, | |
| author={Jerry Xiong and Ying Shen and Ismini Lourentzou}, | |
| year={2026}, | |
| eprint={2612.06312}, | |
| archivePrefix={arXiv}, | |
| primaryClass={cs.CV}, | |
| url={https://arxiv.org/abs/2612.06312} | |
| } | |
| ``` | |