Add three-seed execution and command-duration validation
Browse files- .gitattributes +1 -0
- README.md +104 -61
- SHA256SUMS.json +4 -1
- controller_timing.json +0 -0
- live_reproduction.zip +3 -0
- live_validation.json +3 -0
.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<
|
| 7 |
pretty_name: Robot Execution Validation
|
| 8 |
tags:
|
| 9 |
- robotics
|
|
@@ -14,76 +14,95 @@ tags:
|
|
| 14 |
---
|
| 15 |
# Robot Execution Validation
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
| 22 |
|
| 23 |
| File | Contents |
|
| 24 |
|---|---|
|
| 25 |
-
| `
|
| 26 |
-
| `
|
| 27 |
-
| `
|
| 28 |
-
| `
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.
|
| 46 |
-
python -m experiments.revision.
|
| 47 |
-
|
| 48 |
-
python -m
|
|
|
|
|
|
|
|
|
|
| 49 |
```
|
| 50 |
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
|
|
|
| 60 |
|
| 61 |
-
## Rerun
|
| 62 |
|
| 63 |
-
Use
|
| 64 |
-
|
| 65 |
|
| 66 |
-
- [VLABench](https://github.com/OpenMOSS/VLABench)
|
| 67 |
-
- [SmolVLA checkpoint](https://huggingface.co/lerobot/smolvla_vlabench)
|
| 68 |
-
- [
|
| 69 |
-
- [
|
| 70 |
|
| 71 |
-
|
| 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
|
| 81 |
-
to the installed benchmark package
|
| 82 |
-
paths. Set `MUJOCO_GL=egl`, `OMP_NUM_THREADS=4`
|
| 83 |
-
|
| 84 |
-
|
| 85 |
|
| 86 |
-
Start the services in their
|
| 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
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
|
| 99 |
```bash
|
| 100 |
-
python -m experiments.revision.
|
| 101 |
-
--
|
| 102 |
-
--
|
| 103 |
-
|
|
|
|
|
|
|
|
|
|
| 104 |
```
|
| 105 |
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
-
The
|
| 112 |
-
[
|
|
|
|
| 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": "
|
|
|
|
|
|
|
|
|
|
| 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
|