cosmos-policy
harrim-nv commited on
Commit
1562f7a
·
verified ·
1 Parent(s): 571f6c8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +191 -66
README.md CHANGED
@@ -1,115 +1,240 @@
1
- # Cosmos-Policy-RoboCasa-Predict2-2B
 
 
 
 
2
 
3
- ## Model Description
4
 
5
- Cosmos-Policy-RoboCasa-Predict2-2B is a robot manipulation policy fine-tuned from the [NVIDIA Cosmos-Predict2-2B-Video2World](https://huggingface.co/nvidia/Cosmos-Predict2-2B-Video2World) video foundation model (checkpoint: `model-480p-16fps.pt`). This model achieves state-of-the-art performance on the RoboCasa simulation benchmark with a 67.1% average success rate across 24 kitchen manipulation tasks, using only ~50 human teleoperation demonstrations per task.
6
 
7
- **Paper**: *Cosmos Policy: Fine-Tuning Video Models for Visuomotor Control and Planning*
8
 
9
- ### Key Features
10
 
11
- - **Single-stage fine-tuning**: Adapted from pretrained video model with no architectural modifications
12
- - **Multimodal outputs**: Jointly predicts actions, future states, and values through unified video diffusion
13
- - **High performance**: 67.1% average success rate on RoboCasa with only 50 demos per task (vs. 300+ for other methods)
14
- - **Data efficiency**: Trained on significantly fewer demonstrations than prior state-of-the-art methods
15
 
16
- ### Model Architecture
 
 
17
 
18
- This model uses the same architecture as the base Cosmos-Predict2-2B model (a diffusion transformer with latent video diffusion). Please refer to the [base model card](https://huggingface.co/nvidia/Cosmos-Predict2-2B-Video2World) for detailed architecture specifications.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
  **Key adaptation**: Actions, proprioceptive states, and values are encoded as latent frames and injected directly into the video model's latent diffusion sequence, enabling the model to generate these modalities alongside predicted future images.
21
 
22
- ## Model Details
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
- ### Inputs
 
 
 
25
 
26
- - **Current state images**:
27
- - Left third-person camera (agentview_left): Resized to 224x224 RGB
28
- - Right third-person camera (agentview_right): Resized to 224x224 RGB
29
- - Wrist-mounted camera (eye_in_hand): Resized to 224x224 RGB
30
- - **Robot proprioception**: 9-dimensional (2 gripper joints + 3 end-effector position + 4 end-effector quaternion)
31
- - **Task description**: Natural language text (e.g., "open the right drawer")
32
 
33
- ### Outputs
 
 
 
 
34
 
35
- - **Action chunk**: 32-timestep sequence of 7-dimensional actions (6-DoF end-effector control + 1 gripper)
36
- - **Future robot proprioception**: 9-dimensional state at timestep t+32
37
- - **Future state images**:
38
- - Wrist camera prediction at timestep t+32
39
- - Left third-person camera prediction at timestep t+32
40
- - Right third-person camera prediction at timestep t+32
41
- - **Future state value**: Expected cumulative reward from future state
42
 
43
- ### Training Details
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
  **Training Data**: [RoboCasa-Cosmos-Policy](https://huggingface.co/datasets/nvidia/RoboCasa-Cosmos-Policy) dataset
 
46
  - 24 kitchen manipulation tasks across 7 categories
47
- - 50 human teleoperation demonstrations per task
48
  - Successful demonstrations used for policy training
49
  - All demonstrations (including failures) used for world model and value function training
50
 
51
  **Training Configuration**:
 
52
  - **Base model**: NVIDIA Cosmos-Predict2-2B-Video2World (`model-480p-16fps.pt`)
53
  - **Training steps**: 45,000 gradient steps
54
  - **Batch size**: 800 (global)
55
  - **GPUs**: 32 H100 GPUs
56
  - **Training time**: ~48 hours
57
  - **Optimization**: Full model fine-tuning (all weights updated)
58
- - **Action chunk size**: 32 timesteps (prediction horizon)
59
- - **Execution horizon**: 16 timesteps (recommended; can be varied)
60
- - **Image resolution**: 224x224 pixels
61
 
62
  **Training Objective**: The model is trained with a hybrid log-normal-uniform noise distribution (modified from the base model's log-normal distribution; see paper for details) to improve action prediction accuracy. Training batches are split 50/25/25 for policy, world model, and value function objectives, respectively.
63
 
64
- **Inference Settings**:
65
- - Denoising steps: 5 (note: this can be changed without retraining)
66
- - Noise level range: σ_min = 4.0, σ_max = 80.0
67
- - Generation mode: Parallel (action, future state, and value generated simultaneously)
68
- - Execution: First 16 timesteps of the 32-timestep action chunk are executed before requerying the policy
69
 
70
- ## Performance
71
 
72
- ### RoboCasa Benchmark Results
73
 
74
- | Method | # Training Demos per Task | Average Success Rate |
75
- |--------|---------------------------|---------------------|
76
- | GR00T-N1 | 300 | 49.6% |
77
- | UVA | 50 | 50.0% |
78
- | DP-VLA | 3,000 | 57.3% |
79
- | π0 | 300 | 62.5% |
80
- | GR00T-N1.5 | 300 | 64.1% |
81
- | Video Policy | 300 | 66.0% |
82
- | FLARE | 300 | 66.4% |
83
- | **Cosmos Policy (ours)** | **50** | **67.1%** |
84
 
85
- Success rates are averaged over 50 trials per task (across 5 evaluation scenes with 10 trials each) and 3 random seeds (3,600 trials total).
86
 
87
- ### Key Achievements
88
 
89
- - Achieves state-of-the-art performance with 6× fewer demonstrations than most baselines
90
- - Generalizes to unseen object instances and kitchen styles
91
- - Demonstrates strong multi-task manipulation capabilities across diverse kitchen environments
92
 
93
- ## Notes
94
 
95
- - **Simulation only**: This checkpoint is trained and evaluated exclusively on RoboCasa simulation environments
96
- - **Single robot platform**: Trained only for the Franka Emika Panda robot arm
97
- - **Fixed camera setup**: Requires specific camera configuration (two third-person + one wrist views)
98
- - **Kitchen tasks**: Designed specifically for kitchen manipulation scenarios
99
 
100
- ## Citation
 
 
 
 
 
 
101
 
102
- If you use this model, please cite the Cosmos Policy paper by Kim et al.
103
- <!-- ```bibtex
104
- # TODO: Add Cosmos Policy BibTeX
105
- ``` -->
 
 
 
 
 
 
106
 
107
- ## License
 
 
 
 
 
 
108
 
109
- Please refer to the [base model license](https://huggingface.co/nvidia/Cosmos-Predict2-2B-Video2World) for licensing information.
110
 
111
  ## Related Resources
112
 
113
  - **Base Model**: [Cosmos-Predict2-2B-Video2World](https://huggingface.co/nvidia/Cosmos-Predict2-2B-Video2World)
114
  - **Training Dataset**: [RoboCasa-Cosmos-Policy](https://huggingface.co/datasets/nvidia/RoboCasa-Cosmos-Policy)
115
  - **Paper**: *Cosmos Policy: Fine-Tuning Video Models for Visuomotor Control and Planning*
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - nvidia/Cosmos-Predict2-2B-Video2World
4
+ ---
5
+ # **Cosmos-Policy-RoboCasa-Predict2-2B**
6
 
7
+ [**Cosmos Policy**](https://huggingface.co/collections/nvidia/cosmos-policy) | [**Code**](http://github.com/NVlabs/cosmos-policy) | [**White Paper Coming Soon**]() | [**Website**](https://research.nvidia.com/labs/dir/cosmos-policy/)
8
 
9
+ # Model Overview
10
 
11
+ ## Description:
12
 
13
+ Cosmos-Policy-RoboCasa-Predict2-2B is a 2B-parameter robot manipulation policy model fine-tuned from the [NVIDIA Cosmos-Predict2-2B-Video2World](https://huggingface.co/nvidia/Cosmos-Predict2-2B-Video2World) video foundation model. This model achieves state-of-the-art performance on the RoboCasa simulation benchmark with a 67.1% average success rate across 24 kitchen manipulation tasks.
14
 
15
+ Key features:
 
 
 
16
 
17
+ * **Single-stage fine-tuning**: Adapted from pretrained video model with no architectural modifications
18
+ * **Multimodal outputs**: Jointly predicts actions, future states, and values through unified video diffusion
19
+ * **High performance**: 67.1% average success rate on RoboCasa with only 50 demos per task
20
 
21
+ Use cases:
22
+
23
+ * Robotic manipulation and control in simulation environments
24
+ * Imitation learning and policy learning for kitchen manipulation tasks
25
+ * Vision-based robot learning with multiple camera viewpoints
26
+ * Multi-task manipulation across diverse kitchen environments
27
+ * Lifelong learning and transfer learning in robotics
28
+
29
+ This model is for research and development only.
30
+
31
+ **Model Developer**: NVIDIA
32
+
33
+ ## Model Versions
34
+
35
+ Cosmos Policy models include the following:
36
+
37
+ - [Cosmos-Policy-LIBERO-Predict2-2B](https://huggingface.co/nvidia/Cosmos-Policy-LIBERO-Predict2-2B): Given current state observations and a task description, generate action sequences, future state predictions, and value estimates for robot manipulation in simulated LIBERO environments.
38
+ - [Cosmos-Policy-RoboCasa-Predict2-2B](https://huggingface.co/nvidia/Cosmos-Policy-RoboCasa-Predict2-2B): Given current state observations and a task description, generate action sequences, future state predictions, and value estimates for robot manipulation in simulated RoboCasa environments.
39
+ - [Cosmos-Policy-ALOHA-Predict2-2B](https://huggingface.co/nvidia/Cosmos-Policy-ALOHA-Predict2-2B): Given current state observations and a task description, generate action sequences, future state predictions, and value estimates for robot manipulation in real-world ALOHA robot environments.
40
+ - [Cosmos-Policy-ALOHA-Planning-Model-Predict2-2B](https://huggingface.co/nvidia/Cosmos-Policy-ALOHA-Planning-Model-Predict2-2B): Given current state observations, a task description, and action sequences, generate future state predictions and value estimates for robot manipulation in real-world ALOHA robot environments. (This checkpoint is meant to be deployed alongside Cosmos-Policy-ALOHA-Predict2-2B, not independently.)
41
+
42
+ ### License:
43
+
44
+ This model is released under the [NVIDIA One-Way Noncommercial License (NSCLv1)](https://github.com/NVlabs/HMAR/blob/main/LICENSE). For a custom license, please contact [cosmos-license@nvidia.com](mailto:cosmos-license@nvidia.com).
45
+
46
+ Under the NVIDIA One-Way Noncommercial License (NSCLv1), NVIDIA confirms:
47
+
48
+ * Models are not for commercial use.
49
+ * NVIDIA does not claim ownership to any outputs generated using the Models or Derivative Models.
50
+
51
+ ### Deployment Geography:
52
+
53
+ Global
54
+
55
+ ### Use Case:
56
+
57
+ Physical AI: Robot manipulation and control, encompassing kitchen manipulation and imitation learning in simulation environments.
58
+
59
+ ### Release Date:
60
+
61
+ GitHub [01/12/2026] via [https://github.com/nvlabs/cosmos-policy](https://github.com/nvlabs/cosmos-policy)
62
+
63
+ Hugging Face [01/12/2026] via [https://huggingface.co/collections/nvidia/cosmos-policy](https://huggingface.co/collections/nvidia/cosmos-policy)
64
+
65
+ ## Model Architecture:
66
+
67
+ Architecture Type: A diffusion transformer with latent video diffusion, fine-tuned from Cosmos-Predict2-2B-Video2World.
68
+
69
+ Network Architecture: The model uses the same architecture as the base [Cosmos-Predict2-2B](https://huggingface.co/nvidia/Cosmos-Predict2-2B-Video2World) model (a diffusion transformer with latent video diffusion).
70
 
71
  **Key adaptation**: Actions, proprioceptive states, and values are encoded as latent frames and injected directly into the video model's latent diffusion sequence, enabling the model to generate these modalities alongside predicted future images.
72
 
73
+ **Number of model parameters:**
74
+
75
+ 2B (inherited from base model)
76
+
77
+ ## Input
78
+
79
+ **Input Type(s)**: Text + Multi-view Images + Proprioceptive State
80
+
81
+ **Input Format(s)**:
82
+
83
+ * Text: String (natural language task description)
84
+ * Images: RGB images from multiple camera views
85
+ * Proprioception: Numerical array
86
+
87
+ **Input Parameters**:
88
+
89
+ * Text: One-dimensional (1D) - Task description (e.g., "open the right drawer")
90
+ * Images: Two-dimensional (2D) - Left third-person camera (agentview_left): 224×224 RGB; Right third-person camera (agentview_right): 224×224 RGB; Wrist-mounted camera (eye-in-hand): 224×224 RGB
91
+ * Proprioception: One-dimensional (1D) - 9-dimensional state (2 gripper joints + 3 end-effector position + 4 end-effector quaternion)
92
+
93
+ **Other Properties Related to Input**:
94
+
95
+ * Requires specific camera configuration (two third-person + wrist views)
96
+ * Images resized to 224×224 pixels from original resolution
97
+ * Trained exclusively for Franka Emika Panda robot arm in RoboCasa simulation environments
98
+
99
+ ## Output
100
+
101
+ **Output Type(s)**: Action Sequence + Future State Predictions + Value Estimate
102
+
103
+ **Output Format**:
104
+
105
+ * Actions: Numerical array
106
+ * Future states: Images + Proprioception
107
+ * Value: Scalar
108
+
109
+ **Output Parameters**:
110
 
111
+ * Action chunk: 32-timestep sequence of 7-dimensional actions (6-DoF end-effector control + 1 gripper)
112
+ * Future robot proprioception: 9-dimensional state at timestep t+32
113
+ * Future state images: Left third-person camera prediction (224×224 RGB), right third-person camera prediction (224×224 RGB), and wrist camera prediction (224×224 RGB) at timestep t+32
114
+ * Future state value: Expected cumulative reward from future state (scalar)
115
 
116
+ **Other Properties Related to Output**:
 
 
 
 
 
117
 
118
+ * Action chunk size: 32 timesteps
119
+ * Execution horizon: 16 timesteps (recommended; can be varied)
120
+ * Denoising steps: 5 (configurable without retraining)
121
+ * Noise level range: σ_min = 4.0, σ_max = 80.0
122
+ * Generation mode: Parallel (action, future state, and value generated simultaneously)
123
 
124
+ Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA’s hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.
 
 
 
 
 
 
125
 
126
+ ## Software Integration
127
+
128
+ **Runtime Engine(s):**
129
+
130
+ * [Transformers](https://github.com/huggingface/transformers)
131
+
132
+ **Supported Hardware Microarchitecture Compatibility:**
133
+
134
+ * NVIDIA Hopper (e.g., H100)
135
+
136
+ **Note**: We have only tested doing inference with BF16 precision.
137
+
138
+ **Operating System(s):**
139
+
140
+ * Linux
141
+
142
+ The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.
143
+
144
+ # Usage
145
+
146
+ See [Cosmos Policy GitHub](http://github.com/NVlabs/cosmos-policy) for details.
147
+
148
+ ## Training and Evaluation Sections:
149
+
150
+ ### Training Datasets:
151
+
152
+ **Data Collection Method**:
153
+
154
+ * RoboCasa-Cosmos-Policy: Human - Human-teleoperated demonstrations recorded in simulation environment
155
+
156
+ **Labeling Method**:
157
+
158
+ * RoboCasa-Cosmos-Policy: Automated - Success/failure labels automatically determined by simulation environment evaluation; task descriptions from benchmark specification
159
+
160
+ ##### Properties:
161
 
162
  **Training Data**: [RoboCasa-Cosmos-Policy](https://huggingface.co/datasets/nvidia/RoboCasa-Cosmos-Policy) dataset
163
+
164
  - 24 kitchen manipulation tasks across 7 categories
165
+ - 50 demonstrations per task
166
  - Successful demonstrations used for policy training
167
  - All demonstrations (including failures) used for world model and value function training
168
 
169
  **Training Configuration**:
170
+
171
  - **Base model**: NVIDIA Cosmos-Predict2-2B-Video2World (`model-480p-16fps.pt`)
172
  - **Training steps**: 45,000 gradient steps
173
  - **Batch size**: 800 (global)
174
  - **GPUs**: 32 H100 GPUs
175
  - **Training time**: ~48 hours
176
  - **Optimization**: Full model fine-tuning (all weights updated)
177
+ - **Action chunk size**: 32 timesteps
178
+ - **Image resolution**: 224×224 pixels
 
179
 
180
  **Training Objective**: The model is trained with a hybrid log-normal-uniform noise distribution (modified from the base model's log-normal distribution; see paper for details) to improve action prediction accuracy. Training batches are split 50/25/25 for policy, world model, and value function objectives, respectively.
181
 
182
+ ### Evaluation Datasets:
 
 
 
 
183
 
184
+ Data Collection Method: Not Applicable
185
 
186
+ Labeling Method: Not Applicable
187
 
188
+ Properties: Not Applicable - We use the RoboCasa simulation environment for direct evaluations.
 
 
 
 
 
 
 
 
 
189
 
190
+ ## Inference:
191
 
192
+ **Test Hardware:** H100, A100
193
 
194
+ See [Cosmos Policy GitHub](http://github.com/NVlabs/cosmos-policy) for details.
 
 
195
 
196
+ #### System Requirements and Performance
197
 
198
+ Inference with base Cosmos Policy only (i.e., no model-based planning):
 
 
 
199
 
200
+ * 1 GPU with 6.8 GB VRAM for LIBERO sim benchmark tasks
201
+ * 1 GPU with 8.9 GB VRAM for RoboCasa sim benchmark tasks
202
+ * 1 GPU with 6.0 GB VRAM for ALOHA robot tasks
203
+
204
+ #### Quality Benchmarks
205
+
206
+ ### RoboCasa Benchmark Results
207
 
208
+ | Method | # Training Demos per Task | Average Success Rate |
209
+ | ------------------------------ | ------------------------- | -------------------- |
210
+ | GR00T-N1 | 300 | 49.6% |
211
+ | UVA | 50 | 50.0% |
212
+ | DP-VLA | 3,000 | 57.3% |
213
+ | π0 | 300 | 62.5% |
214
+ | GR00T-N1.5 | 300 | 64.1% |
215
+ | Video Policy | 300 | 66.0% |
216
+ | FLARE | 300 | 66.4% |
217
+ | **Cosmos Policy (ours)** | **50** | **67.1%** |
218
 
219
+ Success rates are averaged over 50 trials per task (across 5 evaluation scenes with 10 trials each) and 3 random seeds (3,600 trials total).
220
+
221
+ ## Ethical Considerations
222
+
223
+ NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
224
+
225
+ Users are responsible for model inputs and outputs. Users are responsible for ensuring safe integration of this model, including implementing guardrails as well as other safety mechanisms, prior to deployment.
226
 
227
+ Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
228
 
229
  ## Related Resources
230
 
231
  - **Base Model**: [Cosmos-Predict2-2B-Video2World](https://huggingface.co/nvidia/Cosmos-Predict2-2B-Video2World)
232
  - **Training Dataset**: [RoboCasa-Cosmos-Policy](https://huggingface.co/datasets/nvidia/RoboCasa-Cosmos-Policy)
233
  - **Paper**: *Cosmos Policy: Fine-Tuning Video Models for Visuomotor Control and Planning*
234
+ - **Original RoboCasa**: [RoboCasa: Large-Scale Simulation of Everyday Tasks for Generalist Robots](https://arxiv.org/abs/2406.02523)
235
+
236
+ ## Citation
237
+
238
+ If you use this model, please cite the Cosmos Policy paper:
239
+
240
+ (Cosmos Policy BibTeX citation coming soon!)