300Question-Bench / README.md
LevinShan's picture nielsr's picture
nielsr HF Staff
Add paper link and `synthetic` tag (#2)
18662d0
|
Raw History Blame Contribute Delete
4.69 kB
---
license: apache-2.0
size_categories:
- n<1K
task_categories:
- robotics
pretty_name: 300Question-Bench
tags:
- robot-safety
- world-action-model
- robotwin
- libero
- synthetic
---
# 300Question-Bench
Frozen hazard-prediction benchmark from **WAtcher: Watching Ahead for Safe Robotic Manipulation with Efficient
World-Action Models** ([paper](https://huggingface.co/papers/2611.34124), [code](https://github.com/maxiaovivi/WAtcher), [project page](https://zyshan0929.github.io/WAtcher/)).
Each of the 300 questions gives the current camera views, the robot state, the task and **one candidate action
chunk**, and asks: *will executing this chunk cause a physical hazard?* Labels come from the physical events
recorded when the chunk was actually executed in simulation (contacts, loss of support, ...).
| | Hazardous | Normal | Total |
|---|---:|---:|---:|
| RoboTwin 2.0 (dual-arm aloha-agilex) | 68 | 136 | 204 |
| LIBERO (Franka Panda) | 32 | 64 | 96 |
| **All** (18 tasks, 185 source scenes) | **100** | **200** | **300** |
## Download
```bash
pip install -U huggingface_hub
hf download LevinShan/300Question-Bench --repo-type dataset --local-dir 300Question-Bench
```
## Files
```text
public/MANIFEST.json the 300 cases: case_id, environment, task_id, profile_id, input path
public/blind/<case_id>/ model input for one case (layout below)
labels.json answers: case_id -> hazardous, environment, task, source_group
evaluate.py scoring script
```
A model may read **only `public/`**. `labels.json` is for scoring.
## Case layout
```text
public/blind/<case_id>/
input.json
view_00.png, view_01.png[, view_02.png] current camera images (RoboTwin: 3 views, LIBERO: 2)
```
`input.json`:
| Field | Content |
|---|---|
| `case_id` | identifier, e.g. `case_200001` |
| `task_description` | the task in natural language |
| `constraints` | list of `{rule_id, description}`: what counts as intended contact and what is a hazard for this task |
| `profile` | robot contract: `state_dim`, `action_dim`, state/action layout, semantics and units, timing |
| `state` | current robot state, `state_dim` values |
| `candidate_actions` | the chunk to judge, `[steps, action_dim]` |
| `images` | `{view, capture_offset_seconds, path}` per image; `path` is relative to `public/` |
| `candidate_contract`, `observation_contract` | present for some cases: how the candidate was fixed before execution and the head-camera setup |
| `profile.profile_id` | Cases | `state` | `candidate_actions` | Views |
|---|---:|---|---|---|
| `robotwin_target14_v1` | 129 | 14 drive targets (rad; grippers 0..1) | 16 x 14 absolute joint targets | head, left, right |
| `robotwin_target14_linear_waypoints_v2` | 75 | 14 drive targets | 16 x 14 absolute joint targets | head, left, right |
| `libero_panda_native16_osc7_rgb256_v1` | 96 | 16 (7 joints, grip site, quaternion, 2 fingers) | 20 x 7 OSC_POSE controls in [-1, 1] | agentview, eye-in-hand |
Read `profile` for each case: robots, units and normalizations differ and must not be mixed.
## Scoring
Write one prediction per case, a hazard probability or a boolean, and run:
```bash
python 300Question-Bench/evaluate.py predictions.json # {"case_200001": 0.83, "case_200002": false, ...}
```
It reports hazard recall, normal false-positive rate and balanced accuracy, overall and per environment and
task. Report balanced accuracy, not plain accuracy: predicting "normal" everywhere already gives 66.7% accuracy.
A case is hazardous if a real physical hazard occurs within **0.96 s** after the decision time. Cases from the
same `source_group` share a scene, so cluster by it for confidence intervals.
## Notes
- **Evaluation only.** Do not train or tune on this set; a model developed on it needs a new benchmark version.
- This is a fixed regression set (version `WAtcher_Test300_20261108_v1`): 258 cases were used in earlier
development rounds; the 42 new knife and mug cases were not used for training or calibration (their scene
template families were).
- For the new mug cases the head camera is a re-rendered workspace view of the true initial state (the original
view was occluded); state, candidate and labels are unchanged.
## Citation
```bibtex
@misc{shan2026watcher,
title={{WAtcher}: Watching Ahead for Safe Robotic Manipulation with Efficient World-Action Models},
author={Shan, Ziyu and Ma, Xiao and Yu, Kangrui and Wang, Changjie and
Wu, Gaoyuan and Yang, Zaijia and Zhang, Chuanrui and Li, Qirui and
Zhang, Yanbo and Wang, Duomin and Wang, Ziwei},
year={2026},
howpublished={\url{https://zyshan0929.github.io/WAtcher/}}
}
```