File size: 7,059 Bytes
5073a04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555488e
5073a04
 
 
 
 
 
 
 
 
 
 
 
 
555488e
 
5073a04
 
 
555488e
 
5073a04
 
 
 
 
 
 
 
 
555488e
5073a04
555488e
 
 
 
 
 
 
5073a04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555488e
 
5073a04
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
---
pretty_name: Selective Physical Undo Benchmark
license: cc-by-4.0
language:
- en
task_categories:
- robotics
- video-classification
tags:
- selective-undo
- causal-provenance
- mujoco
- robosuite
- franka-panda
- habit
- droid
- embodied-ai
size_categories:
- n<1K
configs:
- config_name: sim_marked
  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)

<p align="center">
  <a href="https://doi.org/10.5281/zenodo.24767132"><img src="https://img.shields.io/badge/DOI-10.5281%2Fzenodo.24767132-0f766e?style=for-the-badge" alt="Zenodo DOI"/></a>
  <a href="https://huggingface.co/brandonbaek/UndoVLA"><img src="https://img.shields.io/badge/%F0%9F%A4%96%20Flagship%20Model-UndoVLA-blue?style=for-the-badge" alt="UndoVLA Model"/></a>
  <a href="https://huggingface.co/spaces/brandonbaek/selective-undo-demo"><img src="https://img.shields.io/badge/%F0%9F%A6%BE%20Interactive%20Demo-Space-indigo?style=for-the-badge" alt="Interactive Space"/></a>
  <a href="https://huggingface.co/collections/brandonbaek/undovla-selective-physical-undo-6b1084a557307b60fc01b29d"><img src="https://img.shields.io/badge/%F0%9F%93%82%20Project-Collection-teal?style=for-the-badge" alt="HF Collection"/></a>
</p>

A multi-domain, zero-leakage benchmark evaluating whether robot policies and foundation vision-language models (VLMs) can **selectively undo** unintended robot actions in collaborative human–robot workspaces while preserving human edits, abstaining on incomplete or overwritten actions, and asking confirmation before disturbing blocking barriers.

---

## Visual Overview

| Simulation Clarification Branching (`sim_marked`) | Real-World Protective Barrier (`real_confirmation`) |
| :---: | :---: |
| <img src="assets/selective_undo_sidebyside.gif" width="360" alt="Simulation clarification contrast"/> | <img src="assets/real_sealed_box.gif" width="280" alt="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`) |
| :---: | :---: |
| <img src="assets/compare_droid-54-late.jpg" width="400" alt="OOD DROID-100 Late-ROI visual strip"/> | <img src="assets/shift_7491_f1068.jpg" width="300" alt="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). |

<p align="center">
  <img src="assets/fig_real_pooled_controls.png" width="95%" alt="Pooled benchmark accuracy across controls and cohorts"/>
</p>

---

## Benchmark Structure & Zero-Leakage Splits

| Config | Samples | Source | Evaluation Focus |
| --- | ---: | --- | --- |
| **`sim_marked`** | `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.

---

## Loading with Hugging Face `datasets`

```python
from datasets import load_dataset

# Load simulation splits
sim = load_dataset("brandonbaek/selective-undo-benchmark", "sim_marked")
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 one-shot blind + OOD Franka Panda DROID-100 query specs (n=96)
sealed = load_dataset("brandonbaek/selective-undo-benchmark", "sealed_ood_queries", split="test")
print(sealed.num_rows, sealed.unique("cohort"))
```

*(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}
}
```