nur-dev commited on
Commit
846b28b
·
verified ·
1 Parent(s): edd6ea3

Add three-seed execution and command-duration validation

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
+ live_validation.json filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -3,7 +3,7 @@ license: cc-by-4.0
3
  language:
4
  - en
5
  size_categories:
6
- - n<1K
7
  pretty_name: Robot Execution Validation
8
  tags:
9
  - robotics
@@ -14,76 +14,95 @@ tags:
14
  ---
15
  # Robot Execution Validation
16
 
17
- VLABench execution records for released SmolVLA and Pi0 policies: 320 primary
18
- confirmation attempts, a prospectively specified 60-attempt family-matched native
19
- validation extension, and 37 separately reported development attempts. Each native
20
- trajectory is evaluated at 60 and 200 actions. Paired instructions use the same
21
- initial state and requested-versus-alternative goal predicates.
 
 
22
 
23
  | File | Contents |
24
  |---|---|
25
- | `confirmation.json` | Frozen primary results, per-trial measurements, summaries, and raw-file hashes |
26
- | `extension.json` | Frozen validation-extension results and the prospective configuration selection |
27
- | `reproduction.zip` | Evaluation/analysis code, tests, protocols, selected inputs, complete action traces, initial states, scene images, and environment versions |
28
- | `SHA256SUMS.json` | File checksums |
29
-
30
- ## Reproduce the analysis
31
-
32
- Download the files from one fixed repository revision and extract `reproduction.zip`.
33
- The archive has its own file-level `SHA256SUMS.json`. Python 3.10 or later with NumPy,
34
- SciPy, Matplotlib, and pytest is sufficient for analysis; no GPU is required.
35
- Use the recorded package versions for exact regeneration.
 
 
 
 
 
36
 
37
  From the extracted directory:
38
 
39
  ```bash
40
- cp /path/to/download/confirmation.json code/paper/reproduce/revision_results.json
41
- cp /path/to/download/extension.json code/paper/reproduce/validation_extension_results.json
42
  cd code
43
  export PYTHONPATH="$PWD/src:$PWD"
44
  python -m pytest tests -q
45
- python -m experiments.revision.freeze --root ../confirmation --out ../confirmation_check.json
46
- python -m experiments.revision.freeze_extension --root ../extension --out ../extension_check.json
47
- python -m paper.reproduce.revision_assets --out ../latex_assets
48
- python -m paper.reproduce.extension_assets --out ../latex_assets
 
 
 
49
  ```
50
 
51
- The checked exports reproduce the downloaded JSON files. The generated assets include
52
- the original four-family native results, paired outcomes, progress, development results,
53
- family-matched extension and synthesis, and stopping-rule sensitivity. Technical errors
54
- remain distinct from observed goal outcomes. The paired first-goal analysis is post hoc;
55
- the original native-stop outcomes are retained alongside it.
 
 
 
 
 
 
 
 
 
56
 
57
- Extension validation compares the frozen selected configurations with the recorded inputs,
58
- undoing only VLABench's automatic expansion of relative XML asset paths. No raw record or
59
- prospective selection is changed. The extension retains three Pi0 numerical failures.
 
60
 
61
- ## Rerun execution
62
 
63
- Use the package inventories in `environments/versions.json` and install these pinned
64
- upstream sources and their assets in separate simulator and policy environments:
65
 
66
- - [VLABench](https://github.com/OpenMOSS/VLABench), revision `cf588fe60c0c7282174fe979f5913170cfe69017`.
67
- - [SmolVLA checkpoint](https://huggingface.co/lerobot/smolvla_vlabench), revision `4fd586e12dc14b04d9d606ddbb77448df4f0ff29`.
68
- - [Pi0 checkpoint](https://huggingface.co/VLABench/pi0-primitive-10task), revision `1ad73753a74d5cd97e67856664350f3f0baa21dc`.
69
- - [Author OpenPI implementation](https://github.com/Shiduo-zh/openpi), revision `4483d1da6332da44115fe530e4e6fdd89bd57b13`; use the included `openpi_uv.lock`.
70
 
71
- Initialize a local Git checkout of `code/` before execution so the evaluator can
72
- record the reproduction's source revision. From `code/`, relocate archived asset
73
- references into a fresh directory:
74
 
75
  ```bash
76
  python -m experiments.revision.prepare_reproduction --inputs ../inputs \
77
  --vlabench-root /path/to/VLABench/VLABench --out ../relocated
 
 
 
78
  ```
79
 
80
- Set `PROJECT_STORAGE_ROOT` to the absolute path of `../relocated`, `VLABENCH_ROOT`
81
- to the installed benchmark package, and `PYTHONPATH` to `code/src:code` using absolute
82
- paths. Set `MUJOCO_GL=egl`, `OMP_NUM_THREADS=4`, and `OPENBLAS_NUM_THREADS=4`.
83
- The evaluator permits physical GPUs 0 through 4 and enforces one renderer at a time.
84
- Keep inference and rendering on separate GPUs.
85
 
86
- Start the services in their respective policy environments:
87
 
88
  ```bash
89
  python -m experiments.e2a.smolvla_server --gpu 1 --port 5581
@@ -91,22 +110,46 @@ python -m experiments.revision.pi0_server --gpu 3 --port 5583 \
91
  --repo /path/to/openpi --checkpoint /path/to/pi0-checkpoint
92
  ```
93
 
94
- Run the evaluator in the simulator environment with `CUDA_VISIBLE_DEVICES=0`.
95
- For the extension, use `--tasks select_book,select_mahjong,select_poker` and the
96
- relocated published track. For the original native control, use
97
- `--tasks select_fruit,select_toy,select_chemistry_tube,select_drink`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
 
99
  ```bash
100
- python -m experiments.revision.vlabench_control --out /path/to/fresh/run \
101
- --tasks select_book,select_mahjong,select_poker \
102
- --track-config ../relocated/track_1_in_distribution.json --episodes-per-task 10 \
103
- --policy-seed 17 --max-substeps 1 --max-steps 200 --port 5581 --chunk 50
 
 
 
104
  ```
105
 
106
- Use `--port 5583 --chunk 5` for Pi0. For paired instructions, replace `--tasks` and
107
- `--track-config` with `--paired-spec ../relocated/final_study_command_spec.json`.
108
- Use fresh output directories and compare actual initial-state and observation hashes.
109
- The common 200-action diagnostic budget is not every task's official leaderboard budget.
 
 
 
 
 
 
110
 
111
- The separate synthetic-speech records are available in
112
- [multilingual-robot-grounding-causal-audit](https://huggingface.co/datasets/nur-dev/multilingual-robot-grounding-causal-audit/tree/0d82c875c6d58b1406b0217c9fc5deb0904df0f2).
 
3
  language:
4
  - en
5
  size_categories:
6
+ - 1K<n<10K
7
  pretty_name: Robot Execution Validation
8
  tags:
9
  - robotics
 
14
  ---
15
  # Robot Execution Validation
16
 
17
+ Execution and instruction-control records for released SmolVLA and pi0 policies
18
+ in VLABench. The live validation contains 1860 scheduled attempts: 420 native
19
+ controls and 1440 paired-scene rollouts, using inference seeds 11, 29 and 47.
20
+ The 60 nominal paired fixtures represent 44 distinct initial scenes. Repeated
21
+ fixtures, requests and seeds are grouped within physical scenes for inference.
22
+ The separate command-duration follow-up contains 420 native attempts on the same
23
+ configurations and seeds, with each command held for two environment steps.
24
 
25
  | File | Contents |
26
  |---|---|
27
+ | `live_validation.json` | Complete live-study export, measurements, clustered analyses and raw-file checksums |
28
+ | `controller_timing.json` | Complete matched-time follow-up export and clustered comparisons |
29
+ | `live_reproduction.zip` | Both October studies: evaluator, analysis, tests, protocols, selections, traces, initial arrays, physics parameters, deduplicated initial images and excluded implementation checks |
30
+ | `confirmation.json`, `extension.json` | Unchanged September exports, with 320 and 60 scheduled attempts |
31
+ | `reproduction.zip` | September reproduction code, inputs, traces and separate development records |
32
+ | `SHA256SUMS.json` | Checksums of the files at this repository revision |
33
+
34
+ ## Reproduce the live analysis
35
+
36
+ Download `live_validation.json`, `controller_timing.json`, and `live_reproduction.zip`
37
+ from one fixed revision into the same directory. Extract the archive there and
38
+ verify every file against its internal `SHA256SUMS.json`. Python 3.10 or later
39
+ with NumPy, SciPy and pytest is sufficient; analysis does not require a GPU.
40
+ The original analysis used Python 3.10.12, NumPy 1.25.0 and SciPy 1.14.0.
41
+ Use these versions for byte-identical exports; other SciPy versions can differ
42
+ in the last floating-point digits of descriptive beta-quantile intervals.
43
 
44
  From the extracted directory:
45
 
46
  ```bash
 
 
47
  cd code
48
  export PYTHONPATH="$PWD/src:$PWD"
49
  python -m pytest tests -q
50
+ python -m experiments.revision.materialize_recorded_images --root ..
51
+ python -m experiments.revision.analyze_live_validation \
52
+ --root ../live --selection ../live/selection_v2.json --out ../checked_live.json
53
+ python -m experiments.revision.analyze_controller_timing \
54
+ --root ../timing --selection ../timing/selection.json \
55
+ --baseline-export ../live_validation.json --baseline-root ../live \
56
+ --out ../checked_timing.json
57
  ```
58
 
59
+ Compare the checked files with the corresponding downloaded exports. Initial PNG
60
+ files are stored once per content hash; the materialization command restores
61
+ their episode paths before raw-file verification, without changing their bytes.
62
+ The main analyzer
63
+ requires all 930 result records per policy and checks the scheduled configurations,
64
+ checkpoint/source hashes, consecutive traces, actual initial arrays, online stopping,
65
+ reporting horizons and hold measurements. No failed trial is replaced. Goal attainment
66
+ and retention during ten stationary-controller steps are separate outcomes.
67
+ Blank and shuffled rollouts are each labelled against both candidate goals but
68
+ count as one physical trial. Their pooled conditional target fraction is balanced
69
+ by this two-label scoring; it is not an independent test of target preference.
70
+
71
+ To regenerate the nine October result tables, hash macros and native timing figure,
72
+ install Matplotlib and run from `code/`:
73
 
74
+ ```bash
75
+ python paper/reproduce/live_assets.py --live-export ../live_validation.json \
76
+ --timing-export ../controller_timing.json --output ../manuscript_assets
77
+ ```
78
 
79
+ ## Rerun the live evaluation
80
 
81
+ Use separate simulator and policy environments, with versions and lock files
82
+ under `environments/`. Install the pinned upstream code and assets:
83
 
84
+ - [VLABench](https://github.com/OpenMOSS/VLABench): `cf588fe60c0c7282174fe979f5913170cfe69017`.
85
+ - [SmolVLA checkpoint](https://huggingface.co/lerobot/smolvla_vlabench): `4fd586e12dc14b04d9d606ddbb77448df4f0ff29`.
86
+ - [pi0 checkpoint](https://huggingface.co/VLABench/pi0-primitive-10task): `1ad73753a74d5cd97e67856664350f3f0baa21dc`.
87
+ - [VLABench OpenPI implementation](https://github.com/Shiduo-zh/openpi): `4483d1da6332da44115fe530e4e6fdd89bd57b13`.
88
 
89
+ From `code/`, create fresh copies with local asset and scene paths:
 
 
90
 
91
  ```bash
92
  python -m experiments.revision.prepare_reproduction --inputs ../inputs \
93
  --vlabench-root /path/to/VLABench/VLABench --out ../relocated
94
+ python -m experiments.revision.prepare_live_reproduction \
95
+ --selection ../live/selection_v2.json --relocated-inputs ../relocated \
96
+ --vlabench-root /path/to/VLABench/VLABench --out ../selection_local.json
97
  ```
98
 
99
+ Set `PROJECT_STORAGE_ROOT` to the absolute `relocated/` path and `VLABENCH_ROOT`
100
+ to the installed benchmark package. Keep `PYTHONPATH` set to `code/src:code`
101
+ using absolute paths. Set `MUJOCO_GL=egl`, `OMP_NUM_THREADS=4` and
102
+ `OPENBLAS_NUM_THREADS=4`. Use one renderer at a time, with inference on separate
103
+ GPUs. The supplied resource guard permits physical GPUs 0 through 4.
104
 
105
+ Start the services in their policy environments:
106
 
107
  ```bash
108
  python -m experiments.e2a.smolvla_server --gpu 1 --port 5581
 
110
  --repo /path/to/openpi --checkpoint /path/to/pi0-checkpoint
111
  ```
112
 
113
+ Run the following commands serially in the simulator environment, with
114
+ `CUDA_VISIBLE_DEVICES=0`, from `code/`:
115
+
116
+ ```bash
117
+ python -m experiments.revision.live_validation --out ../rerun/smolvla \
118
+ --selection ../selection_local.json --policy smolvla --port 5581 --chunk 50
119
+ python -m experiments.revision.live_validation --out ../rerun/pi0 \
120
+ --selection ../selection_local.json --policy pi0 --port 5583 --chunk 5
121
+ ```
122
+
123
+ Use fresh output directories; an existing manifest cannot be mixed with new settings.
124
+ Seeds and jobs remain unchanged by path relocation. Native goals and both paired
125
+ goals are checked online at each action. The 200-action common diagnostic limit
126
+ is not every family's published task limit; the 100-action snapshot also reports
127
+ the playing-card limit. A new simulator run need not reproduce complete trajectories
128
+ bitwise. Keep its measurements separate from the downloaded frozen records.
129
+
130
+ For the command-duration follow-up, relocate the fixed native selection and run
131
+ both policies serially, in separate fresh outputs, with the same service settings:
132
 
133
  ```bash
134
+ python -m experiments.revision.prepare_timing_reproduction \
135
+ --selection ../timing/selection.json --vlabench-root /path/to/VLABench/VLABench \
136
+ --out ../timing_selection_local.json
137
+ python -m experiments.revision.controller_timing --out ../timing_rerun/smolvla \
138
+ --selection ../timing_selection_local.json --policy smolvla --port 5581 --chunk 50
139
+ python -m experiments.revision.controller_timing --out ../timing_rerun/pi0 \
140
+ --selection ../timing_selection_local.json --policy pi0 --port 5583 --chunk 5
141
  ```
142
 
143
+ Physics and environment stepping remain at 1000 Hz and 10 Hz; commands are issued
144
+ at 5 Hz. The common limit is 200 environment steps (20 s), at most 100 commands.
145
+ Unchanged chunk counts double physical replanning intervals. This is a command-hold
146
+ comparison, not an isolated frequency intervention. The timing analysis above
147
+ verifies the downloaded original matched pairs; newly generated trajectories are
148
+ separate measurements, not substitutes for these frozen records.
149
+
150
+ `excluded/` preserves the implementation smoke checks and the interrupted launch's
151
+ result-less initialization. These files are not additional study attempts. Completed
152
+ main-study results are retained unchanged, including numerical failures.
153
 
154
+ The September exports and their original instructions remain available at
155
+ [the September revision](https://huggingface.co/datasets/nur-dev/robot-execution-validation/tree/edd6ea3b0586386743232e587d5aade0b0bd2609).
SHA256SUMS.json CHANGED
@@ -1,5 +1,8 @@
1
  {
2
- "README.md": "2b5759cae3ac461519fdf4abc2ed3cbb951f83c46683d1856e8dc960f4d0110b",
 
 
 
3
  "confirmation.json": "7fb9e519d36d2dd48405f475b1f4edb7b804fdcbdd26f7fe30e4b990a90e18a3",
4
  "extension.json": "7ec8074aab116bd3dd8f41073a2bd856e62d98f2736028f5966e10f7cbd98f1f",
5
  "reproduction.zip": "d10a531056efe36ff092146e925c9fc3cc86a7cd821115ca4964d9abb1c7de96"
 
1
  {
2
+ "README.md": "6629f84ef23f9a4517b91f73fc1cc87b5359cc55a0110e968c0edeac39f6d603",
3
+ "controller_timing.json": "ff60147c42ad7c39701759cb17b644dbbf52ee0a09d5f6e997724d9de1275690",
4
+ "live_reproduction.zip": "a888a4b4b7e2eaa4d453228acd03d77e320d02a848ea131168f6ff9699fea498",
5
+ "live_validation.json": "5de8fb7ddd7252aebc0f14834dd4609e3bae5367f66a265fe5d1a46fbc974e1f",
6
  "confirmation.json": "7fb9e519d36d2dd48405f475b1f4edb7b804fdcbdd26f7fe30e4b990a90e18a3",
7
  "extension.json": "7ec8074aab116bd3dd8f41073a2bd856e62d98f2736028f5966e10f7cbd98f1f",
8
  "reproduction.zip": "d10a531056efe36ff092146e925c9fc3cc86a7cd821115ca4964d9abb1c7de96"
controller_timing.json ADDED
The diff for this file is too large to render. See raw diff
 
live_reproduction.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a888a4b4b7e2eaa4d453228acd03d77e320d02a848ea131168f6ff9699fea498
3
+ size 173495079
live_validation.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5de8fb7ddd7252aebc0f14834dd4609e3bae5367f66a265fe5d1a46fbc974e1f
3
+ size 23034502