Motubrain2.0-Distill
Project website · Code · Usage guide · Live replay
Distill is the four-step consistency checkpoint for the Motubrain 2.0 world–action model. Use it when your control loop needs fewer denoising steps per observation. It retains the 20B backbone and the same input and action formats as Motubrain2.0-Base, which uses 30 Euler steps.
The model family draws on roughly 500,000 hours of embodied data spanning first-person human video, handheld gripper demonstrations and robot teleoperation. Architecture and data
| Checkpoint detail | Value |
|---|---|
| Backbone | 20B parameters · 24 transformer layers |
| Action representation | 55 shared coordinates, mapped to each robot’s controller by its profile |
| Default sampling | 4 consistency steps · video shift 6 · action shift 1 |
| Weights | BF16 Safetensors · 39.05 GB |
Checkpoint I/O contract
Embodiment · Astribot S1 (zero-shot).
| Policy interface | Format |
|---|---|
| RGB observations | One current RGB image from each camera (head, left wrist, right wrist). |
| Robot state | 25D state covering torso pose, two head joints, both hand poses and gripper openings. Supply the 4 × 4 head-camera-to-base transform. |
| Instruction | Use the three-line Chinese template below. RealWorldInference applies it to the raw instruction. |
Decoded actions (decoded_action) |
24 × 25 (steps × channels). Torso pose, head joint targets, both hand poses and gripper openings. |
| Execution | Binarize each gripper opening to an open or close command before execution. |
The native policy also returns action (DiT actions, 24 × 55, 52/55 active channels), video (predicted video latents) and decoded_valid (a Boolean mask matching decoded_action).
Instruction template
指令:{instruction}
本体:Astribot S1。
动作:55维;左臂关节 [0-6],左末端执行器位姿 [7-15],左夹爪 [16],右臂关节 [17-23],右末端执行器位姿 [24-32],右夹爪 [33],躯干关节 [34-40](激活 [34-37]),躯干末端执行器位姿 [41-49],头部关节 [50-51],底盘 [52-54]。其余槽位均为填充。
Load the profile and normalization data from the same revision as the weights. I/O contract in sampling.json · Robot profile
Architecture
Given synchronized camera views and an instruction, the student predicts future video latents and an action chunk together. In layers 7–24, action queries attend to the video and language features. Selected layers also read geometry from a frozen Depth Anything 3 encoder. The controller can execute the predicted actions without decoding the future frames.
How distillation works
Motubrain adapts Vidu S1’s distribution matching and phased consistency objectives and adds supervision from robot demonstrations. During training, it samples one of the four denoising steps uniformly and runs the student up to that step. Vidu S1 paper
The two coefficients independently weight consistency and supervision from demonstrations.
| Training signal | What the student learns from |
|---|---|
| Distribution matching (DMD) | A frozen teacher and a critic trained on student samples estimate the clean output from the same noisy student prediction. The normalized difference between their estimates guides the update. |
| Phased consistency (PCM) | From a noisy demonstration, the guided teacher takes one Euler step to the next lower noise level. A copy of the student with exponentially averaged weights predicts the clean target there. The student matches it using pseudo-Huber loss for actions and LPIPS for decoded video. |
| Demonstration supervision | A pseudo-Huber loss compares valid predicted actions with recorded actions. LPIPS and frozen VGGT features compare decoded frames with their matching demonstration frames from the same camera. |
At inference, future video and actions start from Gaussian noise while observed frames stay fixed. After each of the first three joint predictions, the sampler adds fresh noise at each stream’s next noise level. The fourth prediction returns the action chunk and future video latents. In the technical report’s simulation and real-robot experiments, moving from 30 steps to four preserved task success. Project evaluations
Run offline inference
1. Install the policy and download the checkpoint
The install command requires read access to the GitHub repository. On Linux, activate a Python 3.10+ environment with CUDA-enabled PyTorch 2.9+ and a BF16-capable GPU. Allow GPU memory for the policy, its encoders and activations. On a two-GPU machine, you can place the encoders on the second GPU with --encoder-device cuda:1. The frozen Wan VAE, T5Gemma text encoder and Depth Anything 3 geometry encoder load separately. For T5Gemma, request access on its model page and sign in with the approved account using hf auth login. Installation · T5Gemma access
git clone --branch main https://github.com/shengshu-ai/Motubrain-2.0.git /tmp/Motubrain-2.0
python -m pip install -e '/tmp/Motubrain-2.0[geometry]'
hf download GensPI/Motubrain2.0-Distill \
config.json sampling.json model.safetensors \
--local-dir /tmp/motubrain/Motubrain2.0-Distill
2. Prepare one robot observation
Prepare one robot profile and one observation. The paths below are examples you can replace with your own.
| Input | What to supply |
|---|---|
/tmp/motubrain/robot/profile.json |
Camera order and preprocessing, prediction horizon, controller fields and units, matching action normalization, and the eight DA3 layer selections in geometry_layers. Use the profile and statistics for your embodiment. |
/tmp/motubrain/robot/observation.json |
An instruction and a cameras mapping from each profile camera source to its synchronized frames. Relative fields require the current state. Camera-relative poses also require a calibrated 4 × 4 base-from-camera transform in camera_extrinsic. |
For example, the Astribot profile expects three camera sources named head_camera, left_camera and right_camera. Use the names from your selected profile. Example robot profiles · Observation format
3. Predict an action chunk
Pass the downloaded directory directly to --model. The policy reads this checkpoint’s sampling settings automatically. Each denoising step refines the whole action chunk. The profile’s action_steps sets the number of predicted controller commands.
python -m motubrain2.inference \
--model /tmp/motubrain/Motubrain2.0-Distill \
--profile /tmp/motubrain/robot/profile.json \
--input /tmp/motubrain/robot/observation.json \
--wan Wan-AI/Wan2.2-TI2V-5B-Diffusers --wan-subfolder vae \
--text-encoder google/t5gemma-9b-9b-prefixlm-it \
--da3 depth-anything/DA3-LARGE-1.1 --bf16 \
--output /tmp/motubrain/distill-prediction.safetensors
Read decoded_action for the predicted commands in controller order and units, and decoded_valid for the corresponding validity mask. The file also includes action in model coordinates and video as latent patches. For repeated observations and the robot driver, follow the LeRobot deployment guide.
Compare with Base
Run each checkpoint on the same recorded observations with its own default sampler. Keep the robot profile, encoders, seed and compute precision fixed. To measure control-loop latency, load the policy once and time repeated predictions after warm-up, including camera encoding and action decoding. Inference and acceleration
License
This repository and its associated model weights are licensed under CC BY-NC-SA 4.0.
Third-party components. Third-party software, models and other materials are subject to their respective licenses and terms.
| Component | Part used | Stage | Upstream source modified? | License |
|---|---|---|---|---|
| Wan2.2-TI2V-5B | Video VAE for encoding camera frames and decoding video latents | Training and inference | Yes. Training uses a lightly adapted VAE. The released inference code loads the VAE through Diffusers. | Apache License 2.0 |
| t5gemma-9b-9b-prefixlm-it | Frozen 9B text encoder for task instructions | Training and inference | No. Motubrain calls the encoder through Transformers. | Google Gemma Terms of Use |
| DA3-LARGE-1.1 | Frozen backbone for extracting multi-view geometry features | Training and inference with geometry conditioning | No. Motubrain selects intermediate features from the upstream backbone. | Code under Apache License 2.0. Weights listed as CC BY-NC 4.0 in the upstream model table. |
- Downloads last month
- 201
