quantumcookie commited on
Commit
9cc9b51
·
0 Parent(s):

UMA pretrained weights

Browse files
Files changed (5) hide show
  1. .gitattributes +36 -0
  2. README.md +93 -0
  3. teaser.png +3 -0
  4. uma.yaml +100 -0
  5. uma_pretrain.pt +3 -0
.gitattributes ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ teaser.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: pytorch
4
+ pipeline_tag: robotics
5
+ tags:
6
+ - robotics
7
+ - manipulation
8
+ - flow-matching
9
+ - point-flow
10
+ - arxiv:2606.16917
11
+ ---
12
+
13
+ <div align="center">
14
+
15
+ # UMA: Unified Motion-Action Modeling for Heterogeneous Robot Learning
16
+
17
+ **CoRL 2026**
18
+
19
+ [Yunhao Cao](https://www.quantumcookie.xyz/)<sup>\*</sup>, Shitong Liu<sup>\*</sup>, [Chao Feng](https://cfeng16.github.io/)<sup>\*</sup>, Meryl Zhang,
20
+ [Xuanchen Lu](https://xuanchenlu.com/), [Andrew Owens](https://andrewowens.com/), [Kuan Fang](https://kuanfang.github.io/)
21
+
22
+ Cornell University &nbsp;·&nbsp; <sup>\*</sup>equal contribution
23
+
24
+ [![Website](https://img.shields.io/badge/Website-uma--manipulation.github.io-blue)](https://uma-manipulation.github.io)
25
+ [![Paper](https://img.shields.io/badge/arXiv-2606.16917-b31b1b)](https://arxiv.org/abs/2606.16917)
26
+ [![Code](https://img.shields.io/badge/GitHub-UMA-black?logo=github)](https://github.com/realquantumcookie/UMA)
27
+ [![License](https://img.shields.io/badge/License-MIT-green)](#license)
28
+
29
+ <img src="teaser.png" alt="UMA teaser" width="100%">
30
+
31
+ </div>
32
+
33
+ **UMA** is a single transformer that models how objects move (3D point flow) and how the robot acts (end-effector
34
+ actions) with one masked flow-matching objective. Because object motion is shared between robots and people, UMA is
35
+ pretrained on a mix of simulated robot data, real robot data and human videos (which have flow but no actions). At
36
+ test time it is conditioned on a **motion prompt** (the desired 3D trajectory of a few points on the object to move)
37
+ or on a **language instruction**.
38
+
39
+ ## Model
40
+
41
+ | | |
42
+ | --- | --- |
43
+ | **Checkpoint** | `uma_pretrain.pt`: the pretrained model, before any task-specific fine-tuning |
44
+ | **Pretraining data** | Simulated robot data (Genesis DROID tasks), real robot data (DROID, in-lab teleoperation), human videos (Xperience, HOI4D; flow only) |
45
+ | **Parameters** | 131M trainable; exponential-moving-average weights |
46
+ | **Vision-language encoder** | SigLIP 2 ([`google/siglip2-base-patch16-224`](https://huggingface.co/google/siglip2-base-patch16-224)), frozen, loaded separately |
47
+ | **Inputs** | One RGB-D camera view, an optional wrist image, the last 8 end-effector states, tracked 3D points, and a motion prompt or an instruction |
48
+ | **Outputs** | The next 8 end-effector targets (position, 6D rotation, gripper; 15 Hz) and the predicted motion of the tracked points |
49
+
50
+ ## Files
51
+
52
+ | File | Description |
53
+ | --- | --- |
54
+ | `uma_pretrain.pt` | Pretrained weights (523 MB) |
55
+ | `uma.yaml` | Model configuration |
56
+ | `teaser.png` | Teaser figure |
57
+
58
+ ## Quick start
59
+
60
+ Install the [UMA code](https://github.com/realquantumcookie/UMA) (code release in progress); the checkpoint is
61
+ downloaded from this repository on first use:
62
+
63
+ ```python
64
+ from uma.inference import load_model, predict
65
+
66
+ model = load_model(device="cuda") # downloads uma_pretrain.pt on first use
67
+
68
+ # Condition on a motion prompt: (B, T, N, 4) point positions in the robot-base frame + valid flag
69
+ out = predict(model, observation, motion_prompt, seed=0)
70
+ # ... or on a language instruction
71
+ out = predict(model, observation, language="put the spatula into the utensil holder", seed=0)
72
+
73
+ out["actions"] # (B, 8, 10) end-effector targets in the robot-base frame
74
+ out["future_points"] # (B, 19, M, 3) predicted positions of the tracked points
75
+ ```
76
+
77
+ `observation` is a `uma.inference.UMAObservation`; `examples/forward_pass.py` in the code repository runs the model
78
+ on a recorded observation.
79
+
80
+ ## Citation
81
+
82
+ ```bibtex
83
+ @inproceedings{cao2026uma,
84
+ title={Unified Motion-Action Modeling for Heterogeneous Robot Learning},
85
+ author={Yunhao Cao and Shitong Liu and Chao Feng and Meryl Zhang and Xuanchen Lu and Andrew Owens and Kuan Fang},
86
+ booktitle={Conference on Robot Learning (CoRL)},
87
+ year={2026},
88
+ }
89
+ ```
90
+
91
+ ## License
92
+
93
+ MIT.
teaser.png ADDED

Git LFS Details

  • SHA256: 0e514fec02ae8c6d139ab179e8eca09c405f3cec03e0091dd75f50a5a319e10a
  • Pointer size: 131 Bytes
  • Size of remote file: 672 kB
uma.yaml ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # @package model
2
+ # UMA: the released network.
3
+ # - Scene tokens: PointNet++ over the camera-frame pointcloud, fused with the visual patch features sampled at the
4
+ # PointNet++ query points.
5
+ # - Everything is expressed in the frame of the observing camera: task specification, pointcloud, tracked flows
6
+ # and actions (executable actions are returned in the robot base frame).
7
+ # - Scene, wrist and specification tokens do not attend to the noisy action and flow tokens (isolate_context).
8
+ # - EMA weights; action positions normalized by their measured per-position spread (action_position_std).
9
+
10
+ # Feature extractor configuration
11
+ feature_extractor:
12
+ _target_: uma.policy.masked_policy.UMATransformer
13
+ obs_horizon: ${model.actor_config.obs_horizon}
14
+ pred_horizon: ${model.actor_config.pred_horizon}
15
+ far_future_times: ${model.actor.additional_times}
16
+ token_dim: 384
17
+ n_spec_tokens: 16
18
+ num_layers: 6
19
+ num_layers_stt: 3
20
+ num_layers_agg: 2
21
+ num_layers_language: 2
22
+ absolute_time_encoding_dim: 64
23
+ pred_t_encoding_dim: 64
24
+ # Small time embedding so spec geometry (xyz + displacement) isn't a tiny
25
+ # fraction of the spec-token input dims.
26
+ flow_spec_time_embedding_dim: 16
27
+ is_flow_matching: ${model.actor.is_flow_matching}
28
+ encoder_type: "siglip2"
29
+ # Scene, wrist and specification tokens attend only to each other, not to the noisy action / flow tokens.
30
+ isolate_context: true
31
+ # Auxiliary readout of the specification's net motion: token-wise normalization,
32
+ # mean pooling, and a small MLP whose prediction is bounded to 2 m.
33
+ motion_readout_hidden_dim: 128
34
+ motion_readout_max_displacement_m: 2.0
35
+ contrastive_projection_dim: 512
36
+ # The motion readout is a probe: trained on detached spec tokens, so its loss
37
+ # does not shape the spec encoder (the action / flow losses do).
38
+ motion_readout_detach: true
39
+
40
+ # Actor configuration
41
+ actor_config:
42
+ _target_: uma.policy.base.PolicyActorConfig
43
+ pred_horizon: 16
44
+ obs_horizon: 8
45
+ act_horizon: 8
46
+ learning_rate: 1e-4
47
+ weight_decay: 1e-6
48
+ use_ema: true
49
+ max_grad_norm: 1.0
50
+
51
+ # Actor configuration
52
+ actor:
53
+ _target_: uma.policy.masked_policy.UMAActor
54
+ feature_extractor: ${model.feature_extractor}
55
+ actor_config: ${model.actor_config}
56
+ # Far-future targets force the model to commit to task-level motion that is
57
+ # not predictable from the 8-step history alone, so the task specification
58
+ # actually carries gradient signal.
59
+ additional_times: [32, 64, 128]
60
+ max_language_len: 64
61
+ pointcloud_n_points: 2048
62
+ max_gripper_velocity: 0.05 # In meters per timestep
63
+ max_flow_velocity: 0.05 # In meters per timestep
64
+ action_clip_position: 0.02 # Max position (in meters) for action prediction, used for clipping the target actions during training
65
+ flow_clip_position: 0.02 # Max position (in meters) for flow prediction, used for clipping the target flows during training
66
+ # Per-axis RMS displacement from the current end effector, per token position (8 history incl. current, 16 future,
67
+ # far future 32/64/128), measured over the simulated DROID training data; floor 2 mm. Re-measure before training
68
+ # on data with a different motion scale (e.g. real DROID).
69
+ action_position_std: [0.0172, 0.015, 0.0127, 0.0104, 0.008, 0.0055, 0.0029, 0.002, 0.0115, 0.0129, 0.0146, 0.0163, 0.0182, 0.0201, 0.0221, 0.024, 0.026, 0.028, 0.0299, 0.0319, 0.0338, 0.0357, 0.0376, 0.0395, 0.0647, 0.1117, 0.1629]
70
+ num_training_steps: 10000000
71
+ timesteps_test: 10
72
+ max_train_timestep: 1.0 # flow-matching training t in (0.001, max]; t = 1 is clean data (0.9 excludes the near-clean range)
73
+ # Hide the proprioceptive inputs: on clean demonstrations these alone can predict the labels.
74
+ # Evaluation must use the training run's values.
75
+ hide_proprio_history: false
76
+ hide_current_pose: false
77
+ loss_weights:
78
+ action_position_loss: 2.0
79
+ action_rotation_loss: 1.0
80
+ action_gripper_loss: 0.1
81
+ far_action_position_loss: 0.2
82
+ far_action_rotation_loss: 0.1
83
+ far_action_gripper_loss: 0.01
84
+ flow_position_loss: 1.0
85
+ flow_visibility_loss: 0.0001
86
+ far_flow_position_loss: 0.1
87
+ contrastive_loss: 0.001
88
+ motion_readout_loss: 0.1 # trains only the (detached) readout probe, see motion_readout_detach
89
+ is_flow_matching: true
90
+ detach_tracking: true
91
+ apply_se3_augmentation: true
92
+ se3_translation_std: 0.1
93
+ # Mirroring and large rotations flip task semantics (push-left vs push-right),
94
+ # which teaches the spec encoder to discard motion direction when the
95
+ # transformed specs serve as contrastive positives.
96
+ se3_mirror_prob: 0.0
97
+ se3_rotation_max_angle: 0.5236 # ~30 deg yaw about gravity
98
+ contrastive_hard_negative_specs: true
99
+ encoder_type: ${model.feature_extractor.encoder_type}
100
+ prompt_tuning: false
uma_pretrain.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4812ab351579a148a5a38ab36d6169893f69b3503082e33133135f4c961e0646
3
+ size 522983899