psi0-eval-fixed / PROTOCOL.md
ErvinZzz's picture
v1.1 docs: edit count wording (8 scenes, 9 object moves)
38ef276 verified
|
Raw History Blame Contribute Delete
7.64 kB

psi0-eval-fixed v1.1 — evaluation exam and protocol (2026-09-08)

1. What this is

A physically validated revision of the SIMPLE HEAD evaluation exam (USC-PSI-Lab/psi-data/simple-eval/<env>.zip, the "dr-level-N" set). Every scene is identical to HEAD except for the minimal pose edits needed so that the scene is physically valid at the moment the policy takes over (after the evaluator's 60-step stand warm-up). The per-scene edits are enumerated in CHANGELOG.md; unedited scenes are byte-identical to HEAD (DIFF_vs_HEAD.json).

Provenance: HEAD zips pinned by sha256/16 — HAND a6cf36d707eb305e, BHT 9df61cd5edc673ac, LPBT ed40763fd5d2d23e, XMBP a88ad46d6b41bd00, BPMP 6bcdb9ddfa1d3f85, XMP af6f1048d1cb8070, TTG ae58eca76e892b45.

2. Why HEAD needed fixing (2026-09-08 video audit, audit_videos_2026-09-08/REPORT.md)

  • Targets spawned half off the table edge fall to the floor during warm-up: BendPickMP dr-level-2 ep03, ep08; XMoveBendPick dr-level-1 ep02. The task is impossible before the first policy step.
  • Distractors spawned inside/against the target: Handover dr-level-0 ep01, ep04; dr-level-1 ep01.
  • Containers 1–6 cm from a table edge (LocomotionPickBetweenTables); target spawns 0–5 cm from the near edge in BendPickMP / XMovePick / XMoveBendPick / BendHandover (edge-fall risk during the approach).
  • Handover dr-level-2 ep09: a black block occludes the head camera (render-side; the scene's object poses pass the physics gates; NOT edited in v1 — pending an Isaac render check).

2b. Pins of this release (sha256/16 of each zip; v1 pin beside it; HEAD pins in §1)

G1WholebodyBendHandoverTeleop-v0                   v1.1 12b68eef6d328035  v1 12b68eef6d328035
G1WholebodyBendPickMP-v0                           v1.1 db457210ca7c35b5  v1 db457210ca7c35b5
G1WholebodyHandoverTeleop-v0                       v1.1 7028d765bc82fee8  v1 21d38baed884260a
G1WholebodyLocomotionPickBetweenTablesTeleop-v0    v1.1 ef690a25a6fad325  v1 ef690a25a6fad325
G1WholebodyTabletopGraspMP-v0                      v1.1 00ff708941818881  v1 00ff708941818881
G1WholebodyXMoveBendPickTeleop-v0                  v1.1 6b2f4ea3c7d750eb  v1 6b2f4ea3c7d750eb
G1WholebodyXMovePickTeleop-v0                      v1.1 f203f0aee0811d31  v1 f203f0aee0811d31

v1.1 differs from v1 only in Handover (two distractor relocations re-sampled inside the scene's own randomization region instead of the table's far corner — owner: fixes must keep validity AND diversity). TabletopGraspMP needed no edits: its scene files are byte-identical to HEAD. TabletopGraspMP needed no edits: its scene files are byte-identical to HEAD (only the zip container differs).

3. Validity gates (MuJoCo-only settle test, exam_fix/validator/settle_validate.py)

For each scene: reset exactly as the evaluator does (env.reset(options={"state_dict": env_conf}), 60 stand steps), sample object poses (P0), step 100 more stand steps, sample again (P1). A scene PASSES iff

  • the robot is held (kinematically pinned) at its post-reset configuration during the settle, because the Sonic robot is uncontrolled in MuJoCo-only mode and would otherwise collapse onto the table (validator --robot-mode pinned);
  • target and container: spawn→P0 displacement < 5 cm (no fall), P0→P1 displacement < 1 cm (settled), tilt < 30°; the centre-to-edge margin rule is DISABLED (threshold 0.0): edge-proximate spawns are part of the training distribution (XMovePick: 19/30 targets within 3 cm of the near edge) and physics decides;
  • no distractor overlapping the target or the container at spawn (mj_forward contact with penetration), none in contact with the target after settling, none within 6 cm (target) / 12 cm (container) centre distance;
  • the task's success predicate is False at P0;
  • (WARN only) distractor fell; robot root drifted > 10 cm. Thresholds and per-scene measurements are recorded in validation/<env>.json.

4. Edit policy (exam_fix/fixer/apply_fixes.py) and the edits of v1.1 (8 scenes, 9 object moves)

Minimal, deterministic, logged (CHANGELOG.md): an overlapping distractor is moved away from the target/container along the target→distractor direction (to ≥ 15 cm from the target, ≥ 12 cm from the container, ≥ 8 cm from other distractors, on the table) — if no such spot exists along that ray it is RE-SAMPLED inside the scene's own distractors_region (seeded, the valid candidate closest to the original pose; Handover L0 ep04: 14.5 cm, L1 ep01: 17.9 cm); only if the TARGET still falls is it nudged inward (BendPickMP L2 ep03/ep08: 3 cm inward by explicit override, final centre margin 2.8–2.9 cm ≈ the level's median).

env level scene edit
Handover L0 ep01 distractor_2 moved 13.6 cm (overlapped the target)
Handover L0 ep04 distractor_0 re-sampled in region, moved 14.5 cm (overlapped the target)
Handover L1 ep01 distractor_0 re-sampled in region, moved 17.9 cm (overlapped the target)
LocomotionPickBetweenTables L1 ep03 distractor_2 moved 1.0 cm (contact with target)
XMoveBendPick L1 ep01 distractor_2 moved 2.0 cm (contact with target)
XMoveBendPick L1 ep02 distractor_0 (green_dish) moved 2.6 cm (overlapped the target and pushed it off the edge)
BendPickMP L2 ep03 target 3 cm inward (spawned 2 mm outside the edge, fell); distractor_2 3.4 cm away
BendPickMP L2 ep08 target 3 cm inward (spawned 1 mm outside the edge, fell)
BendHandover, XMovePick, TabletopGrasp: no edits (all 30 scenes pass). Both
layout.actors[*].pose and dr_state_dict.spatial[uid] are updated; nothing else in the scene changes
(lighting, materials, camera, robot pose, distractor identities are untouched).

5. Evaluation protocol (unchanged from PROTOCOL.md of the ICLR round except for the exam)

  • 7 tasks × 3 dr-levels × 10 scenes = 30 episodes per cell; scenes are restored from the exam, never re-sampled.
  • Entry points: Teleop tasks eval-decoupled-wbc <env> <agent> dr-level-N; MP tasks eval <env> <agent> dr-level-N.
  • Success criteria are the task-native ones (contact-in-container for HAND/BHT/LPBT; lift ≥ 9 cm BPMP/XMP, ≥ 8 cm XMBP, ≥ 1.8 cm TTG). NOTE: the owner is reviewing whether these criteria should change (contact-based successes that end with the object outside the container; TTG's 1.8 cm trigger). A criterion change is a new exam version, recorded here, never applied silently.
  • Every cell must carry: exam pin (sha256/16 of the consumed zip, verified in BOTH directions against the tree), checkpoint sha256, GL receipt, per-episode video (epNN_success|fail/head_stereo_right.mp4 for all 30 episodes), and eval_stats.txt written into a fresh directory (SIMPLE appends; a rerun into the same dir double-counts).
  • Reproducibility band: rerun flip rate ≈ 20% per episode → SD of a 30-episode total ≈ 2.4; differences under 5 episodes are noise.

6. Comparability

Numbers on psi0-eval-fixed are NOT comparable to HEAD-exam numbers: the table of record must be redrawn on the fixed exam for every arm (49 cells). Until then the HEAD numbers stand with the defect disclosure of §2.

7. Known limitations of the exam (measured 2026-09-08)

  • Object-pose randomization is narrow: per task the target spans 2.6–7.9 cm in x, 4.6–10.9 cm in y, yaw ±6–8° (Handover ±0.5°); dr-level-0 and dr-level-1 share IDENTICAL object poses in 10/10 scenes (only lighting/material/ distractors differ), so a cell sees 20 unique target poses, not 30. The training sets use the same regions.
  • The robot base varies ≤ 7 cm in x and 0 in y.