StarWAM is a research codebase for building World-Action Models (WAMs): robot policies that combine generative video/world models with action prediction modules. It is designed for modular experimentation with world-model backbones, action representations, and training recipes.
This repository is an early research release. More WAM variants, benchmarks, model checkpoints, and technical details will be added.
- 2026/07: Initial StarWAM codebase prepared with Wan2.2 and Cosmos-Predict2 backbone adapters, LIBERO training/rollout recipes, MoT WAM, Shared-DiT WAM, and feature-conditioned WAM support.
- World-model backbones: reuse pretrained video generation models as robot world models, e.g., Wan2.2 and Cosmos-Predict2.
- Multiple WAM families:
mot_wam: multi-stream video/action experts with mixed attention, e.g., Motus / FastWAM-style world-action modeling.shared_dit_wam: shared-DiT/register-token video-action prediction, e.g., DreamZero / LingBot-VA-style shared-token formulations.feature_conditioned_action_model: action prediction conditioned on video/world-model features, e.g., Video-IDM, Mimic-Video / World2Action, and StarVLA-WM4A-style variants.
- Benchmark recipes: benchmark-specific data loading, normalization, text embedding caches, training recipes, and rollout utilities.
- Typed recipe system: YAML recipes are loaded into Python dataclasses without requiring Hydra.
starwam/ # Core Python package
backbone/ # Wan2.2 / Cosmos-Predict2 backbone adapters
wam/ # WAM wrappers and taxonomy-level model families
modules/ # DiT blocks, MoT, scheduler, shared-DiT modules
action_model/ # Action expert builders
data/ # LeRobot dataset and text-cache utilities
training/ # Trainer, losses, flow utilities, entrypoint
tools/ # Preprocessing utilities
utils/ # Checkpoint and config helpers
configs/ # Accelerate / DeepSpeed configs
examples/ # Benchmark-specific recipes, rollout scripts, and launch scripts
pyproject.toml # Python package metadata
StarWAM organizes WAM methods by taxonomy-level model families. The taxonomy is separated from the video/world-model backbone, so the same WAM family can be instantiated with different backbones.
mot_wam uses separate video and action experts and mixes their Q/K/V streams through MoT-style attention. It supports first-frame and full-video action conditioning. This is the first functional LIBERO path in this codebase.
shared_dit_wam uses a shared DiT token space for clean video, noisy video, action tokens, and state tokens. Wan Shared-DiT is currently supported; additional backbones can implement the same build_shared_dit_core(...) interface.
This family covers action models conditioned on video/world-model features. A single Wan DiT forward extracts observation tokens that condition an ActionDiT flow-matching expert. It is the intended home for Video-IDM, Mimic-Video/World2Action, and StarVLA-WM4A-style variants where a video generation model provides hidden states or generated-video features to an action decoder.
Benchmark-specific setup, training, and evaluation instructions are maintained under examples/.
Pretrained LIBERO checkpoints are released on ModelScope: panshaohua/starwam.
starwam-libero/mot/starwam_wan225b_mot.pt— Wan2.2-TI2V-5B MoT WAM.starwam-libero/sharedit/starwam_wan225b_shareddit.pt— Wan2.2-TI2V-5B Shared-DiT WAM.starwam-libero/action_stats.json— shared action normalization stats for both checkpoints.
Download:
pip install modelscope
modelscope download --model panshaohua/starwam --local_dir /path/to/starwam_ckptsSee LIBERO examples for rollout commands that use these checkpoints.
- Wan2.2 backbone adapter.
- Cosmos-Predict2 backbone adapter.
- MoT WAM training and action rollout path.
- Shared-DiT WAM path.
- Feature-conditioned Video-IDM / WM4A action model path.
- Additional benchmark integrations.
- Pretrained LIBERO checkpoints (ModelScope model zoo).
- Technical report.
If you find StarWAM useful in your research, please consider citing it. A formal BibTeX entry will be added once the technical report is released.
This project draws inspiration and references from several notable open-source initiatives, including:
- StarVLA — a primary reference for this project; its VLA/WM4A designs and training recipes directly informed StarWAM's action modeling.
- DreamZero
- LingBot-VA
- FastWAM
- Mimic-Video
- LIBERO
- LeRobot
- Wan
- Cosmos-Predict2