YoussefGhallab commited on
Commit
6168ef5
·
verified ·
1 Parent(s): 3d0425e

Dense VLM stage labels for stack_cube_rc (cube v1 texts, monotone, nearest-frame densify)

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ dense/dense_labels.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories: [robotics]
3
+ tags: [stage-labels, franka, lerobot]
4
+ pretty_name: stack_cube_rc stage labels (VLM judge, dense)
5
+ ---
6
+
7
+ # Stage labels for `stack_cube_rc` (task "stack the cube", 4 stages)
8
+
9
+ Per-frame progress-stage labels for all 97 episodes (40,456 frames) of the LeRobot v2.1 dataset `YoussefGhallab/stack_cube_rc`
10
+ (revision 15bf34ba). No images are included; the frame indices refer to that dataset.
11
+
12
+ **These are a vision-language model's labels after post-processing, not ground truth.**
13
+
14
+ ## How they were made
15
+
16
+ 1. Every 8th frame (5,104 frames; third-person `right_image` + wrist `wrist_image`, JPEG q95, longer side resized to 512) was labelled by
17
+ `Qwen/Qwen3.8-27B` (revision 1d4bf0f2) served with vLLM 0.31.0 on one H200, few-shot prompt with 4 reference pairs
18
+ (one per stage, user-picked), thinking on, temperature 1.0, at most 4,096 new tokens. 5,102 answered, 2 hit the token limit
19
+ (no answer).
20
+ 2. Monotone post-processing per episode: sandwich fill of runs up to 2 frames, then the non-decreasing stage sequence that changes the
21
+ fewest answered labels (ties by the judge's log-probabilities). 20.3% of answered labels changed (all 97 episodes had at least one raw
22
+ step back).
23
+ 3. Densified to every frame: each frame takes the stage of the nearest labelled frame of its episode (ties to the earlier frame).
24
+
25
+ The rules were frozen before any label existed.
26
+
27
+ ## Stages
28
+
29
+ | Stage | Training-prompt text | Judge text |
30
+ |---|---|---|
31
+ | 1 | The gripper is empty and approaching the green cube; the wooden cube stands apart on the table. | The green cube and the light wooden cube stand apart on the table. The gripper is open and empty: it moves toward the green cube or is positioned around it, not yet closed; the green cube has not moved. |
32
+ | 2 | The gripper holds the green cube and lifts it toward the wooden cube. | The gripper has closed on the green cube and holds it: lifting it off the table or carrying it toward the wooden cube; the green cube is not yet above the wooden cube. |
33
+ | 3 | The gripper holds the green cube above the wooden cube and lowers it onto the wooden cube. | The gripper still holds the green cube, now above the wooden cube: aligning it over the wooden cube or lowering it down onto it. |
34
+ | 4 | The green cube is stacked on the wooden cube and the gripper releases it. | The green cube sits on top of the wooden cube and the gripper has opened, releasing it, or moves away from it. |
35
+
36
+ ## Files
37
+
38
+ | File | Content |
39
+ |---|---|
40
+ | `dense/dense_stages_by_episode.json` | `{episode: [stage of frame 0, frame 1, ...]}`, the compact form |
41
+ | `dense/dense_labels.jsonl` | one row per frame: `episode`, `frame`, `stage`, and the labelled frame it came from (raw stage, status, change reason, black-view flag) |
42
+ | `labelled_every_8th/labeled_monotone.jsonl` | the 5,104 labelled frames: raw judge stage (`judge_phase_id_original`), monotone stage (`judge_phase_id_monotone`), reason, time-based bin `phase_id` |
43
+ | `summaries/` | merge, monotone and dense summaries, the frozen stage texts |
44
+ | `SHA256SUMS` | checksums |
45
+
46
+ Episode `real_3/episode_000NNN` is episode NNN of `stack_cube_rc`. All episodes are in the train split (there is no dev split for this task).
47
+
48
+ ## Counts (dense, 40,456 frames)
49
+
50
+ Stage 1: 15,949 / stage 2: 8,699 / stage 3: 11,688 / stage 4: 4,120. Final stage per episode: 4 in 83 episodes, 3 in 12, 2 in 2
51
+ (two episodes of the dataset end with the gripper closed).
52
+
53
+ ## Known limitations
54
+
55
+ - No check against an independent reference yet. The comparison with the gripper open/close events is still pending.
56
+ - 13 dense frames take their label from a labelled frame with a black (dropped) camera view, and 16 from a frame the judge did not answer.
57
+ The latter got their stage from the monotone fit.
58
+ - The 4 few-shot reference frames are among the labelled frames, and 240 labelled frames share an episode with a reference.
SHA256SUMS ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ 780a5c27cde493b093546c58b15b8d0178bd6ecaffb2263f79fe2fca949242f9 ./dense/dense_labels.jsonl
2
+ bf95df3f68498110597e86a1c738bdfcf5e062f53d0a6fa61234da8429a35ad7 ./dense/dense_stages_by_episode.json
3
+ cd1f6df243cbd4592bec33441d8b0d27c1a60def7c2b3619d1e9ea9b706d70d4 ./labelled_every_8th/labeled_monotone.jsonl
4
+ e988b34558d676014115f76fa6eb7e86324083468f25082cbb06b0b55ff5580e ./summaries/dense_summary.json
5
+ fdb35140db6b6d2c68a6955838dfb77371b757b2eda7464df998e236425cd6b3 ./summaries/merge_summary.json
6
+ 8831368de27b8b8d43fbfdb31e0ee4c6d982bf4235d029debfae645028d84928 ./summaries/monotone_summary.json
7
+ e153db7f5f5ef80a162f24e4eb0fb0d8bfd584a17ebe382b9fe11b208434035b ./summaries/phase_texts_frozen.json
dense/dense_labels.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:780a5c27cde493b093546c58b15b8d0178bd6ecaffb2263f79fe2fca949242f9
3
+ size 15385576
dense/dense_stages_by_episode.json ADDED
The diff for this file is too large to render. See raw diff
 
labelled_every_8th/labeled_monotone.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
summaries/dense_summary.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "note": "Dense judge stages (monotone, nearest labelled frame, ties to the earlier frame). Judge labels after post-processing, not ground truth.",
3
+ "source": "labelled_every_8th/labeled_monotone.jsonl (before dropping judge_reasoning_file)",
4
+ "source_sha256": "09f960e9527d8bc34a77e0f058be55a3881c9527d2eda8cb42fb5481b70405de",
5
+ "script_sha256": "075f3eec5d8dfafe9eae0d1a0eff9fe93c63b491939ad7dc26357126320ad096",
6
+ "episodes": 97,
7
+ "frames": 40456,
8
+ "labelled_frames": 5104,
9
+ "stage_counts_by_task": {
10
+ "3": {
11
+ "1": 15949,
12
+ "2": 8699,
13
+ "3": 11688,
14
+ "4": 4120
15
+ }
16
+ },
17
+ "frames_from_black_view_label": 13,
18
+ "frames_from_no_answer_label": 16,
19
+ "episodes_final_stage": {
20
+ "3": {
21
+ "2": 2,
22
+ "3": 12,
23
+ "4": 83
24
+ }
25
+ },
26
+ "outputs": [
27
+ "dense_labels.jsonl",
28
+ "dense_stages_by_episode.json"
29
+ ],
30
+ "sha256": {
31
+ "dense_labels.jsonl": "780a5c27cde493b093546c58b15b8d0178bd6ecaffb2263f79fe2fca949242f9",
32
+ "dense_stages_by_episode.json": "bf95df3f68498110597e86a1c738bdfcf5e062f53d0a6fa61234da8429a35ad7"
33
+ }
34
+ }
summaries/merge_summary.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "note": "judge_phase_id is Qwen3.8-27B's label; phase_id is the geometry heuristic. Neither is ground truth.",
3
+ "rows": 5104,
4
+ "labeled": 5104,
5
+ "status": {
6
+ "ok": 5102,
7
+ "no_answer": 2
8
+ },
9
+ "complete": true,
10
+ "judge_settings": {
11
+ "prompt_variant": "v3_fewshot",
12
+ "model_revision": "1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0",
13
+ "resize": 512,
14
+ "thinking": true,
15
+ "reasoning_effort": "medium",
16
+ "max_new_tokens": 4096,
17
+ "seed": 0,
18
+ "fewshot_selection_sha256": "5182315fde5e847bd7630cf8084f06eabcd60af4265c630e3756104cc679e9bd",
19
+ "script_sha256": "92f57bf727e5c68356e9801fc43040eb244a2c609f7ae60342033914c9f86572"
20
+ },
21
+ "agreement_with_geometry": {
22
+ "exact": 0.4947079576636613,
23
+ "within_one": 0.898079184633477
24
+ },
25
+ "by_task_split": {
26
+ "3:train": {
27
+ "n": 5102,
28
+ "exact": 0.4947079576636613,
29
+ "within_one": 0.898079184633477
30
+ }
31
+ },
32
+ "judge_phase_counts_by_task": {
33
+ "3": {
34
+ "1": 2184,
35
+ "2": 1189,
36
+ "3": 1252,
37
+ "4": 477
38
+ }
39
+ },
40
+ "flags": {
41
+ "query_shares_reference_episode": 240,
42
+ "query_is_reference": 4,
43
+ "hit_token_limit": 0
44
+ },
45
+ "rows_sha256": "717a4fc6738ba6750e70f2f175cb67c35245131693ef46b4f965309b6068fe94",
46
+ "outputs": [
47
+ "labeled.jsonl",
48
+ "train_labeled.jsonl",
49
+ "dev_labeled.jsonl",
50
+ "test_labeled.jsonl"
51
+ ]
52
+ }
summaries/monotone_summary.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "note": "Monotone post-processing of the Qwen judge labels (K phases per task); original labels kept. Neither the judge nor the time-based phase is ground truth. 'agreement_with_time_phase' compares with phase_id = time-based bin (K equal bins).",
3
+ "rules": {
4
+ "sandwich_max_run": 2,
5
+ "sandwich_max_run_per_task": {},
6
+ "fit": "fewest changed answered labels subject to non-decreasing phase in 1..K; ties by highest judge log-probability; no-answer frames free"
7
+ },
8
+ "source_sha256": "78c31d425d41d3641dad9490ed582341b5f7e41f7dd74b30f21de4ff6e69ffbe",
9
+ "script_sha256": "39104aeb34fbeb6413f8348ce59c55e2a3c9991db8f1c1d4959cd07f3c60b76d",
10
+ "frames": 5104,
11
+ "episodes": 97,
12
+ "reasons": {
13
+ "unchanged": 4065,
14
+ "monotone_lower": 347,
15
+ "sandwich_fill": 325,
16
+ "monotone_raise": 365,
17
+ "filled_no_answer": 2
18
+ },
19
+ "changed_fraction": 0.20356583072100312,
20
+ "agreement_with_time_phase_original": {
21
+ "frames": 5102,
22
+ "exact": 0.4947079576636613,
23
+ "within_one": 0.898079184633477
24
+ },
25
+ "agreement_with_time_phase_monotone": {
26
+ "frames": 5104,
27
+ "exact": 0.5799373040752351,
28
+ "within_one": 0.9939263322884012
29
+ },
30
+ "by_task": {
31
+ "3": {
32
+ "num_phases": 4,
33
+ "frames": 5104,
34
+ "episodes": 97,
35
+ "reasons": {
36
+ "unchanged": 4065,
37
+ "monotone_lower": 347,
38
+ "sandwich_fill": 325,
39
+ "monotone_raise": 365,
40
+ "filled_no_answer": 2
41
+ },
42
+ "changed_fraction": 0.20356583072100312,
43
+ "changed_fraction_of_answered": 0.20325362602900823,
44
+ "episodes_with_decrease_before": 97,
45
+ "episodes_not_starting_at_phase_1": 0,
46
+ "episodes_not_ending_at_last_phase": 14,
47
+ "phases_absent_after_monotone": [],
48
+ "agreement_with_time_phase_original": {
49
+ "frames": 5102,
50
+ "exact": 0.4947079576636613,
51
+ "within_one": 0.898079184633477
52
+ },
53
+ "agreement_with_time_phase_monotone": {
54
+ "frames": 5104,
55
+ "exact": 0.5799373040752351,
56
+ "within_one": 0.9939263322884012
57
+ },
58
+ "change_size": {
59
+ "0": 4065,
60
+ "3": 167,
61
+ "2": 180,
62
+ "1": 690
63
+ }
64
+ }
65
+ }
66
+ }
summaries/phase_texts_frozen.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "approved_by": "user",
3
+ "approved_on": "2026-11-11",
4
+ "change_rule": "a change is a new version with its own hash and a *-correction.json next to this file",
5
+ "frozen_before": "any Qwen label and any training run on the cube data",
6
+ "source": "src/wamreplay/anchors/real_robot_tasks.py (texts_sha256(CUBE_TASKS), task_texts_sha256(3))",
7
+ "status": "frozen",
8
+ "tasks": {
9
+ "3": "stack the cube"
10
+ },
11
+ "num_phases": {
12
+ "3": 4
13
+ },
14
+ "judge_phases": {
15
+ "3": [
16
+ "The green cube and the light wooden cube stand apart on the table. The gripper is open and empty: it moves toward the green cube or is positioned around it, not yet closed; the green cube has not moved.",
17
+ "The gripper has closed on the green cube and holds it: lifting it off the table or carrying it toward the wooden cube; the green cube is not yet above the wooden cube.",
18
+ "The gripper still holds the green cube, now above the wooden cube: aligning it over the wooden cube or lowering it down onto it.",
19
+ "The green cube sits on top of the wooden cube and the gripper has opened, releasing it, or moves away from it."
20
+ ]
21
+ },
22
+ "phase_descriptions": {
23
+ "3": [
24
+ "The gripper is empty and approaching the green cube; the wooden cube stands apart on the table.",
25
+ "The gripper holds the green cube and lifts it toward the wooden cube.",
26
+ "The gripper holds the green cube above the wooden cube and lowers it onto the wooden cube.",
27
+ "The green cube is stacked on the wooden cube and the gripper releases it."
28
+ ]
29
+ },
30
+ "task_texts_sha256": {
31
+ "3": "8dd72af4cc9353fc078e0846f61e483638321dce7877c26966843bc5f7a2223d"
32
+ },
33
+ "texts_sha256": "81d1a0333e9c5fa943285bdab839a399b4326cbec07a207a72d00f4840b00507",
34
+ "frames_extracted_with": "task_texts_sha256_at_extraction 3 = 8dd72af4... (real_robot_cube/stride8/manifest.json): the same texts"
35
+ }