FlowerNeverFade's picture
Data package of "Not Where You Think: Which Steps Matter to Robot Policies"
f020701 verified
|
Raw History Blame Contribute Delete
8.57 kB
# Breaking measure: released results
One row per branch. A start is one saved state of the unpushed base run of an initial state; all branches of a start
begin there. Files are CSV (UTF-8, LF, header row), gzip-compressed, sorted by suite, policy, task, init, phase,
branch (task numbers and init as numbers, the rest as text).
## Columns of every `*_branches.csv.gz`
| Column | Content |
|---|---|
| `suite` | `libero_10` (LIBERO-Long), `libero_spatial`, `libero_object`, `libero_goal`, `robocasa`, `robocasa365`, `simplerenv`, `vlabench` |
| `policy` | `oft` OpenVLA-OFT, `pi0`, `pi05`, `groot` GR00T N1.7, `cosmos` Cosmos Policy, `rynn` RynnVLA-002, `groot16` GR00T N1.6; the checkpoint is the one of the suite |
| `task` | LIBERO: task number of the suite (0-9); other suites: task name |
| `init` | number of the initial state, seed or configuration of the task (0-49) |
| `phase` | `free`, `approach`, `grasp`, `release`; sweep file: `t<k>` |
| `s` | step of the base run at which the branches start |
| `g` | step of the first grasp onset of the base run; empty if it has none |
| `r` | step of the release onset that completes a placement; empty if the base run has none or the step is not stored |
| `exec_steps` | actions executed per policy query |
| `branch` | `N` no push; `P4_<dir>_<size>` push on the first 4 actions; `D0` no push, delayed feedback; `PD4_<dir>_<size>` push, delayed feedback; `S` no push, new policy noise; `Z` zero push |
| `feedback` | `normal` or `delayed` |
| `direction` | `+x`, `-x`, `+y`, `-y`; empty for `N`, `S`, `D0` |
| `size` | push size in action units (1.0: about 4 cm, 0.5: about 2 cm); 0.0 for `Z`; empty for `N`, `S`, `D0` |
| `success` | 1 or 0 |
| `length` | step of the episode at which the branch ended, counted from the start of the base run |
| `timeout` | 1 if the branch failed at the step limit, else 0 |
Steps are control steps: 20 Hz on LIBERO, RoboCasa and RoboCasa365, 10 Hz on VLABench, 5 Hz on SimplerEnv.
Perturbation loss of a start: `success` of `N` minus the mean `success` of its four pushed branches of one size.
## `libero_10_branches.csv.gz`
LIBERO-Long, six policies, ten tasks, 50 initial states each. 179,977 rows, 11,254 starts: free 3,000, approach 2,949,
grasp 2,949, release 2,356. Starts per policy: oft 1,897, pi0 1,816, pi05 1,882, groot 1,872, cosmos 1,893,
rynn 1,894.
Branches: `N` 11,254; `D0` 11,254; `S` 7,463 (pi0, pi05, groot, cosmos); `Z` 238 (oft, pi0, pi05, groot); `P4` 90,032
(sizes 0.5 and 1.0, four directions per start); `PD4` 59,736 (oft, pi0, pi05, groot).
Not stored: `r` for cosmos and rynn; `length` and `timeout` for `D0` and `S` of cosmos and rynn.
The `PD4` branches of cosmos and rynn are not available per branch; their mean per start is in
`libero_10_wam_starts.csv.gz`.
## `libero_10_wam_starts.csv.gz`
One row per start and push size of cosmos and rynn on LIBERO-Long. 7,574 rows: 3,787 starts (cosmos 1,893,
rynn 1,894), sizes 0.5 and 1.0.
| Column | Content |
|---|---|
| `suite`, `policy`, `task`, `init`, `phase`, `s`, `g`, `exec_steps` | as above |
| `size` | push size of `success_p_mean` and `success_pd_mean` |
| `success_n` | success of `N` |
| `success_p_mean` | mean success of the four `P4` branches of this size |
| `success_d0` | success of `D0` |
| `success_pd_mean` | mean success of the four `PD4` branches of this size |
| `success_s` | success of `S` (cosmos); empty for rynn |
## `libero_spatial_branches.csv.gz`
LIBERO-Spatial, six policies, ten tasks. 46,547 rows, 9,213 starts: free 2,980, approach 2,999, grasp 2,999,
release 235. Branches: `N` 9,213; `P4` 36,852 (size 1.0); `Z` 482. Empty fields: `length` and `timeout` of `Z`.
## `libero_object_branches.csv.gz`
LIBERO-Object, six policies, ten tasks. 56,558 rows, 11,202 starts: free 3,000, approach 3,000, grasp 3,000,
release 2,202. Branches: `N` 11,202; `P4` 44,808 (size 1.0); `Z` 548. Empty fields: `r` in every row; `length` and
`timeout` of `Z`.
## `libero_goal_branches.csv.gz`
LIBERO-Goal, six policies, ten tasks. 37,456 rows, 7,413 starts: free 2,975, approach 1,914, grasp 1,914,
release 610. Branches: `N` 7,413; `P4` 29,652 (size 1.0); `Z` 391. Empty fields: `length` and `timeout` of `Z`.
## `libero_10_sweep_branches.csv.gz`
Push-timing sweep on LIBERO-Long: starts at every second step from 30 steps before to 6 steps after the first grasp
onset. `phase` is `t<k>` with `s = g + k`, k = -30, -28, ..., +6. 133,413 rows, 26,579 starts. oft, pi0, pi05, groot
and rynn: tasks 0, 1, 4, 6, 7; cosmos: tasks 0, 4, 6. Starts per policy: oft 4,750, pi0 4,731, pi05 4,750,
groot 4,748, cosmos 2,850, rynn 4,750. Branches: `N` 26,579; `P4` 106,316 (size 1.0); `Z` 518. Empty field: `r`.
## `robocasa_branches.csv.gz`
RoboCasa, cosmos and groot16, ten tasks. 30,890 rows, 3,089 starts: free 955, approach 942, grasp 942, release 250.
Starts per policy: cosmos 1,512, groot16 1,577. Branches: `N` 3,089; `S` 3,089; `P4` 24,712 (sizes 0.5 and 1.0).
`g` is the first closure at the target; in the two tasks without a closure, and in runs of the handle and knob tasks
without a closure at the part, the first contact with the target. Empty fields: `r` and `length` in every row;
`timeout` of `S`.
Tasks: pick-and-place `CoffeeServeMug`, `PnPCabToCounter`, `PnPCounterToCab`, `PnPCounterToSink`,
`PnPSinkToCounter`; handle or knob `OpenDrawer`, `OpenSingleDoor`, `TurnOnStove`; press or push without a closure
`TurnOnMicrowave`, `TurnOnSinkFaucet`.
## `robocasa365_branches.csv.gz`
RoboCasa365, pi0, pi05 and groot16 with the checkpoints of the benchmark's authors, eight tasks. 36,720 rows,
3,672 starts: free 1,073, approach 1,120, grasp 1,120, release 359. Starts per policy: pi0 1,196, pi05 1,256,
groot16 1,220. Branches: `N` 3,672; `S` 3,672; `P4` 29,376 (sizes 0.5 and 1.0). `g` and the empty fields as in
`robocasa_branches.csv.gz`.
Tasks: pick-and-place `PickPlaceCounterToCabinet`, `PickPlaceCounterToStove`, `PickPlaceDrawerToCounter`,
`PickPlaceSinkToCounter`; fixture `OpenCabinet`, `OpenDrawer`, `OpenStandMixerHead`; push without a closure
`CloseFridge`.
## `simplerenv_branches.csv.gz`
SimplerEnv (WidowX), groot, four tasks. 2,694 rows, 445 starts: free 26, approach 199, grasp 199, release 21.
Branches: `N` 445; `S` 445; `Z` 24; `P1_<dir>_1.00` 1,780: 4 cm added to the first action of the chunk.
Extra column `layout`: number of the object layout that the seed of `init` selects. Empty fields: `r` in every row;
`length` and `timeout` of the pushed branches and of `Z`.
## `vlabench_branches.csv.gz`
VLABench, pi0 and pi05, ten tasks. 36,596 rows, 2,603 starts: free 1,000, approach 795, grasp 795, release 13.
Starts per policy: pi0 1,329, pi05 1,274. Branches: `N` 2,603; `S` 2,603; `Z` 154; `H2_<dir>_<size>` 20,824: target
offset held until the next query, half in the first step and full from the second, sizes 1.00 (4 cm) and 0.50 (2 cm);
`P2_<dir>_1.00` 10,412: the 4 cm offset removed after the second step.
Extra column `diverged`: 1 if the simulation became unstable in the branch, which counts as a failure; empty for
`Z`. Empty fields: `r` in every row; `length` and `timeout` of the pushed branches and of `Z`.
## Statistics
`python -m nwyt paper recompute --data <package>` runs the analysis of the repository on every table of this folder
and compares the result with the per-cell statistics stored in `results/breaking/cells_<suite>.csv`: all 7,604
statistics of the eight suites come out identical, estimates and bootstrap standard errors.
The resamples of a cell depend on the cells analysed before it, so an analysis is defined by its order. The orders
of the stored analyses are listed in `nwyt/paper/recompute.py` (`ANALYSES`). The command line gives the same for
the four LIBERO suites with
python -m nwyt break-analyze table libero_10_branches.csv.gz --groups "oft,pi0,pi05,groot;cosmos,rynn"
python -m nwyt break-analyze table libero_object_branches.csv.gz --groups "oft,pi0,pi05,groot;cosmos,rynn"
python -m nwyt break-analyze table libero_spatial_branches.csv.gz
python -m nwyt break-analyze table libero_goal_branches.csv.gz
and for RoboCasa and SimplerEnv without options. On the other two tables it prints the same estimates per cell with
another order of resamples (RoboCasa365: p = 0.014 instead of 0.013; VLABench: both push sizes in one run). On
VLABench it analyses the held push `H2_*` of Table 1; `--push P` gives the push that is removed after two steps.
The delayed-feedback statistics of cosmos and rynn in `cells_libero_10.csv` also need `libero_10_wam_starts.csv.gz`.