initial commit
Browse filesFiles changed (5)
- README.mdAdded+99
- autoencoder/config.jsonAdded+58
- autoencoder/model.safetensorsAdded+3
- world_model/config.jsonAdded+23
- world_model/model.safetensorsAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899---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 (coming soon)
WDDQ (**World Diffusion Done Quick**) is a recipe for training a Minecraft world model fromscratch in under 50 GPU hours on one GH200, that outperforms open-weight Minecraft worldmodels in terms of video quality and action controllability without distilling pretrainedencoders or leveraging game-engine state.
This repository contains the weights of the WDDQ video autoencoder and world model. Given one640x360 start frame and a sequence of keyboard, mouse-button and camera actions, the worldmodel 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:
```bashgit clone https://github.com/PLAN-Lab/wddq && cd wddqpip install -e .```
Generate a rollout from a start frame and actions (downloads weights from this repository):
```bashpython -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 oneaction dict per line in the format of the VPT contractor dataset's `actions.jsonl`, read fromline `--start`. Or load the models directly:
```pythonfrom wddq.pretrained import load_autoencoder, load_world_model
autoencoder = load_autoencoder() # encode/decode 640x360 videoworld_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 andaction 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 theproject 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}, note={arXiv preprint}}```12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ "input_size_HW": [ 360, 640 ], "patch_size_thw": [ 4, 32, 32 ], "padding_LRTB": [ 0, 0, 12, 12 ], "input_means": [ 0.1875, 0.1947, 0.1528 ], "input_stds": [ 0.5, 0.5, 0.5 ], "dims": [ 384, 512, 768, 1024 ], "n_blocks": [ 2, 2, 2, 2 ], "block_types": [ "conv", "attn", "attn", "attn" ], "cond_dim": 1024, "spatial_cfg": { "head_dim": 64, "dwconv": true, "rope_min_freq": 0.2, "rope_max_freq": 20.0, "rope_p_zero_freqs": 0.125, "rope_scale_with_resolution": false, "mlp_expand": 2 }, "exnorm": true, "latent_dim": 32, "flow_type": "x0"}123version https://git-lfs.github.com/spec/v1oid sha256:cebf15b2d82c49bce9c3791cee07a011800931fceb83c71c58280be718731820size 5518555121234567891011121314151617181920212223{ "n_action_tokens": 16, "dim": 1024, "mlp_dim": 4096, "encoder_depth": 24, "predictor_depth": 4, "decoder_depth": 16, "exnorm": true, "spatial_cfg": { "head_dim": 64, "rope_min_freq": 0.2, "rope_max_freq": 20.0, "rope_p_zero_freqs": 0.25 }, "temporal_cfg": { "head_dim": 128, "conv_kernel_size": 4, "decay_init": [ 0.6, 0.999 ] }}123version https://git-lfs.github.com/spec/v1oid sha256:fe6e4abe8f9bc2077be853992c86bc65c55024e9458bff69340e5676fbbfdd78size 2784138560README.mdAdded+99
autoencoder/config.jsonAdded+58
autoencoder/model.safetensorsAdded+3
world_model/config.jsonAdded+23
world_model/model.safetensorsAdded+3