charliechin424 commited on
Commit
883d92d
Β·
verified Β·
1 Parent(s): e96705a

model card: rewrite around the two acts; drop the delisted generations

Browse files
Files changed (1) hide show
  1. README.md +66 -42
README.md CHANGED
@@ -4,61 +4,85 @@ tags:
4
  - robotics
5
  - vision-language-action
6
  - manipulation
7
- - so-101
8
- - quantization
9
- - autoregressive-policy
10
  library_name: pytorch
11
  ---
12
 
13
- # MiniRT1 β€” <200MB Strictly-Autoregressive VLA for SO-101 Pick-and-Place
14
 
15
- Model checkpoints for the **MiniRT1** project. A visuomotor policy that generates
16
- 6-DoF joint-delta actions **token-by-token (strictly autoregressive)**, trained by
17
- privileged teacher-student distillation + DAgger in ManiSkill3's SO-101
18
- `SO101PlaceCube-v1` environment.
19
 
20
- - **Code + full technical report:** https://github.com/charliechin424/MiniRT1
21
- - **Eval protocol:** `evaluation/eval_maniskill.py`, 300 episodes, seed 3000, `success_at_end`
22
 
23
- ## Checkpoints
 
24
 
25
- | File | success (300 ep) | size | description |
26
- |---|---|---|---|
27
- | `v6_dino_fp16.pt` | **92%** | 96 MB | project best β€” DINOv2-S backbone VLA (fp16) |
28
- | `v6_dino_int8_static_pg64.pt` | **92%** | 57.6 MB | W8A8 true integer-compute (chip bit-path, per-group-64 fixed-point); zero loss |
29
- | `v6_dino_w4a8.pt` | 91% | 57.6 MB | 4-bit weights / 8-bit activations, near-lossless |
30
- | `v4_fp16.pt` | 84% | 74 MB | ResNet18 backbone, no language |
31
- | `v5_lang_fp16.pt` | 83% | 74 MB | +frozen-MiniLM language token (instruction-conditioned VLA) |
32
- | `rl_expert_teacher.pt` | 86.6% | 1.2 MB | state-based PPO teacher (privileged 49-D state; distillation source) |
33
- | `task_chain_squint.npz` | β€” | 0.15 MB | PoE guided-decoding action-token Markov prior (Phase 8/9) |
34
 
35
- int8/W4A8 checkpoints carry `quant`/`group_size`/`w_bits`/`a_bits` fields; the
36
- adapter (`ar_policy/policy_adapter.py`) rebuilds the integer-compute module
37
- structure automatically. See the GitHub repo for the exact loading and eval code.
38
 
39
- ## `ablation/` β€” intermediate checkpoints (reproduce the paper's tables)
 
 
 
 
 
40
 
41
- The root files above are the final deliverables. `ablation/` holds every
42
- intermediate model behind the report's ablation tables:
43
 
44
- - `v1_fp16.pt` (1%, chunk=10 exposure-bias failure), `v2_fp16.pt` (45%), `v3_fp16.pt` (52%) β€” the training-recipe evolution
45
- - v4/v5 int8 variants: `{v4,v5}_int8_static_{pg64,pc}.pt`, `v5_int8_weightonly.pt`
46
- - v6 quantization sweep: `v6_int8_static_pc.pt`, `v6_w4a8_clip.pt`, `v6_w4a4_{rtn,clip,dyn}.pt` (Phase 9A low-bit study)
47
- - 9C data-scaling weak students: `v6_sub{200,800,3200}_fp16.pt` (trained on 200/800/3200 episodes; the "guidance vs data size" curve)
48
 
49
- ## Usage
 
 
 
 
 
 
 
 
 
 
50
 
51
- ```bash
52
- # grab a checkpoint
53
- hf download charliechin424/MiniRT1 v6_dino_fp16.pt --local-dir ./ckpts
54
 
55
- # then, in the MiniRT1 repo (needs the `sim` conda env + squint env):
56
- MINIRT1_CKPT=./ckpts/v6_dino_fp16.pt \
57
- python evaluation/eval_maniskill.py --policy ar_policy/policy_adapter.py:make_policy --episodes 300
58
- ```
59
 
60
- ## Citation
 
 
61
 
62
- Built on [squint](https://github.com/aalmuzairee/squint) (SO-101 ManiSkill3 env),
63
- [LeRobot](https://github.com/huggingface/lerobot), [DINOv2](https://github.com/facebookresearch/dinov2).
64
- Methodology: Learning by Cheating (CoRL 2019), DAgger (AISTATS 2011), RT-1/OpenVLA action tokenization.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  - robotics
5
  - vision-language-action
6
  - manipulation
7
+ - maniskill
 
 
8
  library_name: pytorch
9
  ---
10
 
11
+ # MiniRT
12
 
13
+ A small autoregressive vision-language-action policy for the SO-101 arm, and the hierarchy it needs
14
+ to become selective.
 
 
15
 
16
+ Code, evaluation harness and the full report: **https://github.com/charliechin424/MiniRT**
 
17
 
18
+ **Act one.** One 96 MB weight drives eight ManiSkill3 manipulation tasks from free-form English at
19
+ 90.3% mean success over 300 episodes per task.
20
 
21
+ **Act two.** The same architecture scores 0% when the task requires *choosing* β€” "put the blue can in
22
+ the bin" with four objects on the table. It reaches, grasps and lifts competently and takes the
23
+ wrong object; colour grounding is a cross-modal binding it cannot learn at the motor level. Moving
24
+ that job into a 0.1 M-parameter grounder that shares the policy's own vision backbone recovers 26%
25
+ end-to-end, with no privileged knowledge of which object is which.
 
 
 
 
26
 
27
+ ## Files
 
 
28
 
29
+ | file | what it is |
30
+ |---|---|
31
+ | `v7_mt_generalist_fp16.pt` | act one β€” one weight, eight tasks. 47.9 M params, 96 MB fp16. |
32
+ | `v8_mt_colorsort_fp16.pt` | act one plus the ColorSort skill; the warm-start ancestor of the act-two policy. |
33
+ | `colorsort/v15cs_frozen_fp16.pt` | act two β€” the delivered position-conditioned VLA. Frozen vision backbone so the grounder and the policy genuinely share one encoder: 48.1 M total. |
34
+ | `colorsort/grounder_r4_mix20.pt` | act two β€” the MiniRT-Grounder heads (0.104 M params on a DINOv2-S backbone). Trained at `img_size=448`. |
35
 
36
+ ## Numbers
 
37
 
38
+ Act one, `success_at_end` over 300 episodes (3 Γ— 100, seed 3000), `physx_cpu`:
 
 
 
39
 
40
+ | Task | success |
41
+ |---|---|
42
+ | ReachCube | 99.3 |
43
+ | ReachCan | 99.0 |
44
+ | LiftCube | 95.7 |
45
+ | StackCube | 93.0 |
46
+ | PlaceCube | 91.3 |
47
+ | LiftCan | 89.3 |
48
+ | PlaceCan | 84.7 |
49
+ | StackCan | 70.3 |
50
+ | **mean** | **90.3** |
51
 
52
+ Unseen instruction phrasings: seven of eight tasks show no degradation.
 
 
53
 
54
+ Act two, 100 episodes, seed 3000:
 
 
 
55
 
56
+ | | privileged ceiling | grounded closed loop | n=2 | n=3 |
57
+ |---|---|---|---|---|
58
+ | **frozen 48.1 M (delivered)** | 29% | **26%** | 41% | 10% |
59
 
60
+ Perception costs three points; insisting one encoder serve both the grounder and the policy costs
61
+ about half the success rate. That is the trade-off, stated rather than hidden.
62
+
63
+ ## Running these
64
+
65
+ The evaluation is **not** reproducible from the weights alone. It needs the ColorSort environment,
66
+ which is a modification to an upstream repository and ships in the code repo as `squint_patch/`, and
67
+ it needs several flags whose defaults are wrong for these checkpoints β€” `--min-area 6` in
68
+ particular silently costs eleven points if left at its default. The README has the exact commands:
69
+
70
+ **https://github.com/charliechin424/MiniRT**
71
+
72
+ ## Notes
73
+
74
+ - Every number is measured on `physx_cpu`. `physx_gpu` diverges physically, per task and in either
75
+ direction; do not compare across backends.
76
+ - The act-two checkpoint has catastrophically forgotten the eight base tasks. Its ancestor
77
+ `v8_mt_colorsort` has not. This is a design consequence β€” six generations of fine-tuning with zero
78
+ base-task replay β€” not a defect, and it is recorded here so that comparing the two checkpoints
79
+ does not lead to the wrong conclusion.
80
+ - No integer-compute (int8) checkpoint of the act-two model is published. The conversion exists and
81
+ its calibration is correct, but its closed-loop behaviour has not been measured, and publishing it
82
+ on the strength of the single-task predecessor's result would be an unearned claim.
83
+
84
+ ## Credit
85
+
86
+ Built on [squint](https://github.com/aalmuzairee/squint) (SO-101 ManiSkill3 environments),
87
+ [ManiSkill3](https://github.com/haosulab/ManiSkill), [LeRobot](https://github.com/huggingface/lerobot)
88
+ and [DINOv2](https://github.com/facebookresearch/dinov2).