--- pretty_name: Selective Physical Undo Benchmark license: cc-by-4.0 language: - en task_categories: - robotics - video-classification tags: - benchmark - robotics - vla - multimodal - video - evaluation - selective-undo - causal-provenance - mujoco - robosuite - franka-panda - habit - droid - embodied-ai size_categories: - n<1K configs: - config_name: sim_marked default: true data_files: - split: train path: sim/development.jsonl - split: test path: sim/test.jsonl - split: challenge path: sim/challenge.jsonl - config_name: real_cases data_files: - split: test path: real/cases.jsonl - config_name: real_matched_prefixes data_files: - split: test path: real/pairs.jsonl - config_name: real_confirmation data_files: - split: test path: real/confirmation.jsonl - config_name: sealed_ood_queries data_files: - split: test path: sealed/sealed_ood_queries.jsonl - config_name: confirm_v2_queries data_files: - split: test path: sealed/confirm_v2_queries.jsonl --- # Selective Physical Undo Benchmark (`UndoVLA` Suite)

Zenodo DOI UndoVLA Model Interactive Space HF Collection

A multi-domain, zero-leakage **robotics & VLM benchmark** testing whether embodied policies and vision-language models can **selectively undo** unintended robot actions in shared human–robot workspaces while preserving human work, abstaining on incomplete or overwritten actions, and asking confirmation before disturbing blocking protective barriers. --- ## Visual Overview | Simulation Clarification Branching (`sim_marked`) | Real-World Protective Barrier (`real_confirmation`) | | :---: | :---: | | Simulation clarification contrast | Real-world sealed box confirmation | | Matched final frames resolved only after human clarification (*tray-coupled* vs. *world-spot*). | Human tapes box shut after robot placement → model must output **`ask`**. | | OOD Franka Panda `DROID-100` (`sealed_ood_queries`) | Shifted-Camera RANSAC Overlay (`shift`) | | :---: | :---: | | OOD DROID-100 Late-ROI visual strip | Unsupervised RANSAC 3D-to-pixel overlay | | Unseen 7-DoF Franka Panda (`[START \| END]` strip). Direct VLM commits `12/12` early FPs; **`ASTPG`** solves `28/36 (77.8%)`. | Unsupervised per-episode RANSAC maps 3D EEF kinematics onto pixel motion (`0` calibration, `0` HSV). |

Pooled benchmark accuracy across controls and cohorts

--- ## Benchmark Structure & Zero-Leakage Splits | Config | Samples | Source | Evaluation Focus | | --- | ---: | --- | --- | | **`sim_marked`** *(default)* | `102` clips | MuJoCo | Held-out views (`VIEWS[2:5]`), unseen histories, `ask` vs. `repair` | | **`real_cases`** | `11` clips | `HABIT` | Actor attribution (`robot` vs. `human`) across real tasks | | **`real_matched_prefixes`** | `12` clips (`6` pairs) | `HABIT` | Identical prompt & start; early vs. late cutoff flips answer | | **`real_confirmation`** | `12` clips (`6` pairs) | `HABIT` | Overwrite & protective-barrier confirmation pairs | | **`sealed_ood_queries`** | `96` queries (`32` ep.) | `HABIT` + `DROID-100` | One-shot virgin blind + zero-shot Franka Panda (`0` overlap) | | **`confirm_v2_queries`** | `36` queries (`12` ep.) | `HABIT` | Disjoint reserved confirmation cohort (`0` overlap) | | **`sealed/` audit logs** | Metadata | JSON logs | SHA-256 disjointness proofs & McNemar stats (`n=195`) | > **Why Naive Shortcuts Fail (`0/32`):** Because matched pairs hold prompt text and initial frames constant, `always_repair`, `always_no_change`, and `request_keyword_heuristic` all achieve **`0` paired wins**, and end-to-end `Direct VLM` achieves **`0/32` (`0.0%`)** paired accuracy on `sealed_ood` while triggering **`20/20` (`100%`) false early repairs** on incomplete `HABIT Contact` + `DROID-100` clips. --- ## Reference Leaderboard | Model / Control | `sealed_ood` (`n=96`) | OOD `DROID-100` (`n=36`) | `confirm_v2` (`n=36`) | All Real (`n=195`) | Sim Challenge (`27` br.) | | --- | ---: | ---: | ---: | ---: | ---: | | **`UndoVLA / ASTPG` (`Qwen3-VL-8B` / `TPDE`)** | **`75/96 (78.1%)`** (`v1.1`) | **`28/36 (77.8%)`** | **`25/36 (69.4%)`** | **`151/195 (77.4%)`** | **`27/27 (100%)`** | | `ASTPG` (`Qwen2.5-VL-7B`, `v1.1` / `v1.0`) | `54/96 (56.2%)` / `52.1%` | `1/12` timing | — | — | — | | `ASTPG` (`InternVL3-8B-hf`, `v1.0` / `v1.1`) | `53/96 (55.2%)` / `52.1%` | `25/36` (`3/12` timing) | — | — | — | | `ASTPG` (`Last-Frame` control, `Qwen3-VL-8B`) | `65/96 (67.7%)` | `23/36` (`1/12` timing) | `22/36 (61.1%)` | `63.6%` (`p = 3.55e-4`) | `0/27 (0.0%)` | | `ASTPG` (`Reversed` control, `Qwen3-VL-8B`) | `57/96 (59.4%)` | `24/36` (`3/12` timing) | `20/36 (55.6%)` | `56.4%` (`p = 4.19e-6`) | `15/27 (55.6%)` | | `Direct VLM` (`Qwen3-VL-8B`) | `44/96 (45.8%)` | `21/36` (`0/12` timing) | `17/36 (47.2%)` | `50.8%` (`p = 3.13e-8`) | `1/27 (3.7%)` | --- ## Evaluate Your Model in 60 Seconds ### Step 1 — Load via Hugging Face `datasets` ```python from datasets import load_dataset # Zero-arg default loads sim_marked (train / test / challenge) sim = load_dataset("brandonbaek/selective-undo-benchmark") print(sim["challenge"][0]) # Load real matched early/late temporal pairs real_pairs = load_dataset("brandonbaek/selective-undo-benchmark", "real_matched_prefixes", split="test") print(real_pairs[0]["request"], real_pairs[0]["correct"]) # Load virgin blind + OOD Franka Panda DROID-100 queries (n=96) sealed = load_dataset("brandonbaek/selective-undo-benchmark", "sealed_ood_queries", split="test") print(sealed.num_rows, sealed.unique("cohort"), sealed.unique("source_dataset")) ``` ### Step 2 — Download Clips + Score with the Official Harness (`evaluate.py`) This repository ships a zero-dependency scorer ([`evaluate.py`](evaluate.py)) computing clip accuracy, 95% bootstrap CIs, exact matched-pair / session-pair scores, early false-positive rates, protected-barrier violations, shortcut ceilings, and exact two-sided McNemar significance tests: ```bash # Download the full dataset (including .mp4 videos) and verify the harness python evaluate.py --download --out-dir ./selective-undo-benchmark python ./selective-undo-benchmark/evaluate.py --self-test # Save your model outputs as JSONL (see examples/predictions_template.jsonl): # {"id": "napkin_early", "prediction": "keep"} # {"query_id": "583bf431e2fe29eef34b", "prediction": "repair"} python ./selective-undo-benchmark/evaluate.py \ --config sealed_ood_queries \ --predictions my_predictions.jsonl \ --baseline direct_vlm_predictions.jsonl ``` *(For upstream video frames of `sealed_ood_queries` and `confirm_v2_queries`, retrieve the exact episode indices recorded in `episode` and `cohort` directly from [`configinc/HABIT`](https://huggingface.co/datasets/configinc/HABIT/tree/bae97d251907743f8fb6db7e70c61d361df4dc1e) and [`lerobot/droid_100`](https://huggingface.co/datasets/lerobot/droid_100).)* --- ## Attribution & Licensing - **Original Simulation Clips, Annotations & Evaluation Schemas:** Released by the Selective Physical Undo / UndoVLA authors. Code/schemas Apache-2.0; dataset annotations and derived media **CC BY 4.0**. - **HABIT Source Footage:** Derived clips in `real/` are trimmed, resized (`640 px` wide), and stripped of audio from **HABIT: Human-Aware Behavior and Interaction Training Dataset for Robot Manipulation** (Jaehwi Song, Suchae Jeong, Byeongguk Jeon, Sungdong Kim, Hyungmok Son, and Kimin Lee; [`configinc/HABIT`](https://huggingface.co/datasets/configinc/HABIT/tree/bae97d251907743f8fb6db7e70c61d361df4dc1e), [arXiv:2606.31682](https://arxiv.org/abs/2606.31682)) under **CC BY 4.0**. - **DROID-100 Source Queries:** Cross-robot OOD episodes in `sealed_ood_queries` reference Franka Panda trajectories curated from [`lerobot/droid_100`](https://huggingface.co/datasets/lerobot/droid_100) (Apache-2.0). ```bibtex @misc{baek2026selectiveundobenchmark, title = {Causal Provenance Grounding for Selective Physical Undo Across Simulation and Zero-Calibration Real Robots}, author = {Brandon Baek}, year = {2026}, doi = {10.5281/zenodo.24767132}, url = {https://doi.org/10.5281/zenodo.24767132} } ```