Run this model with HF Jobs

Run SJTU-DENG-Lab/CoDance-robo on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/SJTU-DENG-Lab/CoDance-robo. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/SJTU-DENG-Lab/CoDance-robo on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

CoDance

Aligning Physical Reasoning and Video Generation via Coupled Reinforcement Learning

Yanzhe Hu1,2,* · Xiang Li1,* · Yuzheng Zhang3 · Qiuyue Li4 · Zhijie Deng1,†
1 Shanghai Jiao Tong University · 2 Huazhong University of Science and Technology
3 East China Normal University · 4 The Hong Kong Polytechnic University

* Equal contribution  ·  † Corresponding author

Paper Model Code Page

CoDance trains a vision-language reasoner and a video generator together using feedback from filmed motion. Given a starting image and an instruction, CoDance-robo generates a video of the robot carrying out the action. Its frozen features can also guide a task-specific controller.

CoDance video frames show robots cooking, handling flowers and walking, alongside falling dominoes. Three bar charts compare CoDance with other models.
Figure 1. CoDance generations and benchmark results on Physics-IQ Verified, RBench and WorldArena.

Method

Starting from Cosmos3-Nano, CoDanceRL samples several descriptions of what might happen after a given frame, then generates several videos for each description. It compares each video with the recorded continuation using motion regions and point trajectories. Differences among videos for one description guide the generator. The mean reward for each description guides the reasoner. Method on the project page

CoDanceRL training loop. Each proposed description conditions multiple videos. Physical fidelity and trajectory rewards update both the reasoner and the generator.

Quick start

Download the Cosmos3-Nano configuration and tokenizer, then place the CoDance-robo weights in the same directory. The snapshot includes the shard indices and base_encoder.safetensors. The weights are released under OpenMDW-1.1. Base model · Weight license

from huggingface_hub import snapshot_download

weights = "weights/CoDance-robo"
snapshot_download(
    "nvidia/Cosmos3-Nano",
    local_dir=weights,
    allow_patterns=["*.json", "*.txt", "*.jinja"],
    ignore_patterns=["*.safetensors.index.json"],
)
snapshot_download("SJTU-DENG-Lab/CoDance-robo", local_dir=weights)

Results

RBench · Embodied video generation

CoDance-robo scores 67.9 on RBench. Its largest gain over Cosmos3-Nano is in manipulation, from 48.5 to 67.2. The evaluation covers 650 image–instruction pairs, with 50 per task category and 100 per robot embodiment. The mean weights all nine categories equally. SFT denotes supervised fine-tuning. RBench dataset

RBench category Cosmos3-Nano Cosmos3-Nano + SFT PF-Cosmos Seedance 2.0 CoDance-robo
Mean 58.7 61.5 63.8 66.3 67.9
Manipulation 48.5 62.7 58.9 63.4 67.2
Spatial 57.1 53.6 69.7 59.0 72.6
Multi-entity 45.0 43.0 51.3 54.7 56.2
Long-horizon 57.9 56.6 60.8 66.5 67.7
Reasoning 45.3 47.5 53.0 54.5 56.7
Single-arm 64.5 71.8 69.3 72.8 70.0
Dual-arm 65.8 71.5 70.0 73.4 71.8
Quadruped 75.0 74.2 72.2 78.2 76.6
Humanoid 69.2 72.2 69.0 73.8 72.3

The CoDance-robo evaluation uses five-second clips at 1280 × 720 and 24 fps, with 50 denoising steps. In the lamp example below, the light goes out as the robot presses the switch. In the pouring example, the robot tilts the bottle above the glass and then brings it back toward upright.

Generated frames comparing Cosmos3-Nano, its supervised fine-tuned checkpoint (SFT), and CoDance on pressing a lamp switch and pouring into a glass.

WorldArena · Closed-loop control

CoDance-robo features yield 41.5% mean task success across two simulated tasks. The reasoner and video generator stay frozen. For each task, an inverse dynamics model learns to map generator features to robot action sequences from 40 RoboTwin 2.0 demonstrations. Each task is evaluated over 100 rollouts, with ten repetitions of each of ten held-out initial conditions. WorldArena benchmark

Model Adjust bottle Click bell Mean success
CoDance-robo 34.0% 49.0% 41.5%
PhysisForcing 22.0% 26.0% 24.0%
Cosmos3-Nano + SFT 21.0% 24.0% 22.5%
WoW 20.0% 21.0% 20.5%
TesserAct 1.0% 35.0% 18.0%
Wan2.2-TI2V-5B 12.0% 20.0% 16.0%
Cosmos3-Nano 15.0% 13.0% 14.0%
RoboMaster 8.0% 20.0% 14.0%

Additional RoboTwin 2.0 tasks

The paper also evaluates three more tasks with a separately trained inverse dynamics model for each. The mean in this table covers these three tasks.

Model Lift pot Press stapler Shake bottle Mean success
CoDance-robo 37.0% 41.0% 49.0% 42.3%
Cosmos3-Nano 13.0% 29.0% 5.0% 15.7%

Citation

@misc{hu2026codance,
  title         = {Aligning Physical Reasoning and Video Generation via Coupled Reinforcement Learning},
  author        = {Yanzhe Hu and Xiang Li and Yuzheng Zhang and Qiuyue Li and Zhijie Deng},
  year          = {2026},
  eprint        = {2611.36916},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  url           = {https://arxiv.org/abs/2611.36916}
}
Downloads last month
-
Safetensors
Model size
16B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for SJTU-DENG-Lab/CoDance-robo

Finetuned
(55)
this model

Collection including SJTU-DENG-Lab/CoDance-robo

Paper for SJTU-DENG-Lab/CoDance-robo