Skip to content

AI model

RynnWorld-4D

By Alibaba DAMO Academy, from github.com/alibaba-damo-academy/RynnWorld-4D (opens in a new tab)

  • Humanoids and robot learning
  • Apache-2.0 (code)
  • Apache-2.0 (weights)

RynnWorld-4D is an open 4D embodied world model that jointly generates RGB, depth, and optical flow to predict scene evolution for robotic manipulation, plus a policy head for bimanual control.

Facts

Code last updated
16 Jul 2026Newest commit on main
Maintenance
Maintaineda commit in the last 12 months
Difficulty
Advanced

Checked on GitHub on 29 Nov 2026.

Licenses

Code
Apache-2.0 (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 2c74853 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Co-generates synchronized RGB, depth, and optical flow so predictions carry 3D geometry and motion, not just pixels.
  • Uses a tri-branch diffusion transformer with mutual cross-modal attention across appearance, geometry, and motion.
  • Trains in three stages: SFT warm-up, tri-branch RoPE positional encoding, then joint-attention fine-tuning with decaying depth/flow-to-RGB injection.
  • Provides inference that outputs an rgb.mp4, depth.mp4, and flow.mp4 per sample.
  • RynnWorld-4D-Policy is a lightweight flow-matching action head on a frozen world-model backbone, serving actions over a websocket protocol.
  • Ships sample data for smoke-testing training and the policy pipeline.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses this model yet.
Licence
Apache-2.0 (code); Apache-2.0 (weights). Commercial use: Yes. Where it was read
Load it
In the creator's words: The project's README (opens in a new tab)
Maintenance
Maintained, last commit on 16 Jul 2026.

Use it

How to load it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 2c74853

Robotheca never hosts the code or the weights: each link goes to the creator's own page.

The README and the model card

The creator's own README, copied as written: README.md by Alibaba DAMO Academy, at commit 2c74853, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here
RynnWorld-4D: 4D Embodied World Models for Robotic Manipulation
   💫 [<b>Project Page</b>](https://alibaba-damo-academy.github.io/RynnWorld-4D.github.io/)&nbsp;&nbsp; | &nbsp;&nbsp; 🤗 [<b> Hugging Face </b>](https://huggingface.co/Alibaba-DAMO-Academy/RynnWorld-4D) &nbsp;&nbsp; | &nbsp;&nbsp; 🤖 [<b> ModelScope</b>](https://www.modelscope.cn/models/DAMO_Academy/RynnWorld-4D)  &nbsp;| &nbsp;&nbsp; 📄 [<b>arXiv</b>](https://arxiv.org/abs/2607.06559)&nbsp;&nbsp;

🌟 Abstract

We present RynnWorld-4D, a novel 4D embodied world model that shifts the paradigm from 2D pixel prediction to physically grounded 4D scene evolution. By co-generating synchronized RGB, depth, and optical flow (RGB-DF), RynnWorld-4D captures the underlying 3D geometry and temporal motion trajectories, creating a representation space that effectively bridges the gap between generative world modeling and low-level robotic control. We release RynnWorld-4D as a unified diffusion framework featuring a specialized tri-branch architecture, alongside RynnWorld-4D-Policy (an inverse dynamics head for high-frequency, closed-loop bimanual manipulation).

Picture: pipeline.png

🌟 Key Highlights
  • Projective 4D Representation — Integrates RGB, Depth, and Optical Flow into a unified RGB-DF format, allowing pixels to be unprojected into metric 3D scene flow for precise geometric and kinetic grounding.
  • Tri-branch Diffusion Architecture — Employs three dedicated transformer branches with mutual cross-modal attention, ensuring that appearance, geometry, and motion evolve with high spatio-temporal consistency.
  • Action-from-Latent Policy — RynnWorld-4D-Policy bypasses expensive multi-step denoising by directly consuming internal 4D latents, enabling high-frequency (9 Hz+), closed-loop dexterous control.

📰 News

🚀 Quick Start
🔧 Environment Setup

We use anaconda or miniconda to manage the python environment:

conda create -n "rynnworld4d" python=3.10 -y
conda activate rynnworld4d
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu121
pip install -r requirements.txt
pip install -e . --no-build-isolation

For the policy head (RynnWorld-4D-Policy), additionally:

cd rynnworld4d_policy && bash policy_env.sh && cd ..
📖 Pretrained Models

All pretrained models are placed under a single pretrained/ directory:

RynnWorld-4D/
└── pretrained/
    ├── Wan2.2-TI2V-5B-Diffusers/       # base video backbone (required)
    ├── RynnWorld-4D/                    # our released stage-3 checkpoint (optional)
    └── da3/                             # Depth-Anything-3 (required for policy only)

1️⃣ Wan2.2-TI2V-5B — the required base backbone for world-model training and inference.

huggingface-cli download Wan-AI/Wan2.2-TI2V-5B-Diffusers --local-dir ./pretrained/Wan2.2-TI2V-5B-Diffusers

2️⃣ RynnWorld-4D released weights (optional) — skip training and directly run inference / policy.

huggingface-cli download Alibaba-DAMO-Academy/RynnWorld-4D --local-dir ./pretrained/RynnWorld-4D

3️⃣ Depth-Anything-3 (only for RynnWorld-4D-Policy) — on-device depth estimation at policy inference time.

huggingface-cli download depth-anything/Depth-Anything-3 --local-dir ./pretrained/da3

All training/inference scripts derive PROJECT_ROOT from their own location and reference these paths relative to it, so no further path edits are needed.


🏋️ World-Model Training

The world model is trained in 3 stages. All scripts resolve ${PROJECT_ROOT} from $BASH_SOURCE, so cloning the repo anywhere works as long as pretrained/Wan2.2-TI2V-5B-Diffusers is in place. The bundled data/sample.json lets you smoke-test each stage immediately.

1️⃣ Stage 1 — SFT (all branches warm-up)

Full-parameter SFT on RGB, depth, and optical flow without Joint Cross-modal Attention.

bash scripts/rynnworld4d-stage1.sh
  • --training_type sft, --fusion_mode none
  • output → training/rynnworld4d-stage1/
2️⃣ Stage 2 — Tri-branch RoPE

Switch to 3D RoPE positional encoding. Joint cross-modal attention starts from --joint_start_layer 0.

bash scripts/rynnworld4d-stage2.sh
  • --resume_from_stage1 <stage1_ckpt>
  • output → training/rynnworld4d-stage2/
3️⃣ Stage 3 — Tri-branch SFT

Full-parameter fine-tuning with joint attention. A cosine decay schedule gradually reduces the depth/flow→RGB injection from 1.0 to 0.0 over --joint_video_decay_steps, preventing cross-modal interference from degrading RGB quality while preserving depth/flow consistency.

bash scripts/rynnworld4d-stage3.sh
  • --load_stage2_model_weights <stage2_ckpt>, --joint_video_decay True
  • output → training/rynnworld4d-stage3/

🎬 World-Model Inference
python inference-sft.py \
  --model_path ./pretrained/Wan2.2-TI2V-5B-Diffusers \
  --checkpoint_path ./training/rynnworld4d-stage3/checkpoint-1000 \
  --json_path ./data/sample.json \
  --output_dir ./results/inference-sft \
  --num_inference_steps 50 \
  --guidance_scale 1.0

Outputs the three synchronized streams per sample:

<output_dir>/<sample_id>/
├── rgb.mp4              # generated RGB
├── depth.mp4            # generated depth
└── flow.mp4             # generated optical flow

🤖 RynnWorld-4D-Policy (Bimanual Manipulation)

RynnWorld-4D-Policy reuses the frozen world-model backbone as a 4D feature extractor and trains a lightweight flow-matching action head on top.

Bundled sample data

3 episodes of Tianji Pick-Place are shipped under data/tianji_sample/ (head video + parquet + metadata) and data/tianji_sample_depth/ (matching depth videos), so the policy trainer works immediately after clone.

Train
bash scripts/rynnworld4d-policy.sh

Before launching, point pretrained_model_path (Wan2.2-TI2V-5B-Diffusers) and rynnworld4d_ckpt (your Stage-3 checkpoint) in rynnworld4d_policy/policy_conf/train_config.yaml.

The script auto-detects single vs multi-GPU and forwards extra args to train.py (Hydra-style):

# Override any config field on the CLI
bash scripts/rynnworld4d-policy.sh batch_size=4 max_epochs=100
Serve / deploy
cd rynnworld4d_policy
python serve_rynnworld4d_policy.py --port 8099 --checkpoint <policy_ckpt>

The policy speaks the OpenPI websocket protocol; smoke_test_serve.py is a minimal client.

See rynnworld4d_policy/README.md (opens in a new tab) for the full policy training recipe and architectural details.


🙏 Acknowledgements & Third-Party Code

This project builds on several excellent open-source works, such as Depth-Anything-3 (opens in a new tab), Video Prediction Policy (VPP) (opens in a new tab), Wan2.2-TI2V-5B (opens in a new tab), and ptlflow (opens in a new tab). Vendored copies keep their original LICENSE alongside the source.

We thank the authors of these projects for making their work available.


📑 Citation

If you find this project useful, please cite:

@article{rynnworld4d,
  title  = {RynnWorld-4D: 4D Embodied World Models for Robotic Manipulation},
  author = {Haoyu Zhao and Xingyue Zhao and Siteng Huang and Xin Li and Deli Zhao and Zhongyu Li},
  journal= {arXiv preprint arXiv:2607.06559},
  year   = {2026},
}

License

Apache License 2.0 — see LICENSE (opens in a new tab) for details. Vendored third-party code is licensed under its respective upstream LICENSE, preserved in each third_party/*/LICENSE file.

Read the model card on Hugging Face (opens in a new tab)

Robotheca lists AI models as a reference: nothing is hosted or run here, and every fact links to where it was read.