README.md

June 15, 2026 ยท View on GitHub

๐ŸŒ Nano World Model

License: MIT

A minimalist repository for training video world models based on diffusion-forcing.

3ร—4 rollout grid

News and Updates

Key Features

  • ๐Ÿš€ Instant Start โ€” Minimal dependencies, easy data loading. From clone to first rollout in minutes.
  • ๐Ÿ› ๏ธ Unified Pipeline โ€” Training, Validation, Evaluation; All managed with clean hydra-based configuration systems.
  • ๐Ÿ”ฌ Scientific Transparency โ€” Clean codebase with head-to-head ablations across prediction target, action injection, and model scale; Fully open-source, including model checkpoints.
  • ๐Ÿค– Diverse Applications โ€” Long-horizon rollouts, rollout to 3d point clouds, planning (MPC) out of the box.

๐Ÿš€ Quick Start

git clone https://github.com/simchowitzlabpublic/nano-world-model.git
cd nano-world-model
conda env create -f environment.yml && conda activate nanowm

LeRobot dataset loading is provided by lerobot==0.3.3 in environment.yml. Do not install lerobot-datasets; it is a dataset format version, not a PyPI package.

Set data + results paths (or use the gitignored src/configs/local/paths.yaml template โ€” see docs/config_system.md):

export DATASET_DIR=/path/to/dino_wm_data       # DINO-WM envs (point_maze, pusht, ...)
export CSGO_DATA_DIR=/path/to/csgo             # CSGO HDF5 files
export RT1_DATA_ROOT=/path/to/rt1_fractal      # RT-1 LeRobot mirror (optional)
export RESULTS_DIR=/path/to/results            # checkpoints + logs land here

Download the i3d torchscript used by FID/FVD evaluation:

mkdir -p pretrained_models/i3d && curl -L \
    "https://www.dropbox.com/scl/fi/c5nfs6c422nlpj880jbmh/i3d_torchscript.pt?rlkey=x5xcjsrz0818i4qxyoglp5bb8&dl=1" \
    -o pretrained_models/i3d/i3d_torchscript.pt

For dataset downloads (DINO-WM, RT-1, CSGO), see docs/datasets/README.md.

๐Ÿฅท Train your first model

DINO-WM PushT, NanoWM-B/2, default settings (pred-v ยท additive injection ยท cosine + ZTSNR):

python src/main.py experiment=dino_wm_pusht dataset=dino_wm/pusht model=nanowm_b2

CSGO with the L/2 model:

python src/main.py experiment=csgo dataset=game/csgo model=nanowm_l2_csgo

RT-1 (fractal) main run:

python src/main.py experiment=rt1 dataset=rt1/rt1 model=nanowm_b2

For reproducibility, we provide example scripts in src/scripts/. See docs/training.md for the full training guide, design choices, and ablation tables.

๐Ÿ“ฆ Pretrained Checkpoints

Best-config runs (pred-v ยท additive ยท cosine + ZTSNR ยท NanoWM-B/2 unless noted):

DomainCheckpointSteps
DINO-WM Point Maze๐Ÿค— nanowm-b2-dino-wm-point-maze-30k30k
DINO-WM Wall๐Ÿค— nanowm-b2-dino-wm-wall-15k15k
DINO-WM Rope๐Ÿค— nanowm-b2-dino-wm-rope-15k15k
DINO-WM Granular๐Ÿค— nanowm-b2-dino-wm-granular-15k15k
DINO-WM PushT๐Ÿค— nanowm-b2-dino-wm-pusht-100k100k
RT-1 (fractal)๐Ÿค— nanowm-b2-rt1-300k300k
CSGO๐Ÿค— nanowm-l2-csgo-100k (NanoWM-L/2)100k

We also provide RT-1 ablation tables with HF checkpoint paths. See docs/training.md#design-choices for the full table and ablation numbers.

๐ŸŽฌ Sample Predictions

CSGO 50-frame auto-regressive long-rollouts (NanoWM-L/2, 100k):

CSGO 50-frame autoregressive long rollout

Quantitative Metrics Evaluated on 256 fixed samples (seed=42), 250 DDIM steps, sequential scheduling (frame-by-frame autoregressive denoising).

DatasetStepsPSNR โ†‘SSIM โ†‘LPIPS โ†“FID โ†“
Point Maze30k36.740.9840.0199.66
Wall15k34.050.9940.0102.64
PushT100k33.190.9820.01613.63
Rope15k31.630.9530.05635.20
Granular15k26.080.9170.07340.05
RT-1300k24.360.7870.18035.08

Full per-domain numbers and methodology in docs/evaluation.md.

๐Ÿงญ Applications

NanoWM rollouts can be used directly for downstream applications, including long-horizon generation, video-to-3D reconstruction, and MPC-style planning.

Video-to-3D point cloud demo

๐Ÿ“š Documentation

๐Ÿ™ Acknowledgements

We build upon a number of existing codebases: Latte, Vid2World, DFoT, and DINO-WM. More broadly, this repository draws inspirations and design principles from NanoGPT, NanoChat, and Boyuan Chen's Research Template. We sincerely thank the codebases above for open-sourcing their works.

๐Ÿ“ Citation

If you find this repository useful in your research, please consider citing:

@misc{huang2026nanoworldmodels,
  title={Nano World Models: A Minimalist Implementation of Future Video Prediction},
  author={Siqiao Huang and Partha Kaushik and Michael Chen and Hengkai Pan and Omar Chehab and Fernando Moreno-Pino and Max Simchowitz},
  year={2026},
  eprint={2605.23993},
  archivePrefix={arXiv},
  primaryClass={cs.CV},
  url={https://arxiv.org/abs/2605.23993},
}