LinQian99's picture
Upload folder using huggingface_hub
292a0db verified
|
Raw History Blame Contribute Delete
6.41 kB
# Decision test
Part of the data of *ActiveMoMa: Distilling Verified Active Recovery for Efficient Agentic Mobile Manipulation*. The
decision test of Section 4.3 of the paper isolates one decision: at a failure state of a distilled student, does a model retry the
failed target or replan? This folder holds the 154 test states, what was executed from each of them, the replies of the
models of the paper, and a script that scores a file of replies. It reproduces the decision-test columns of Table 1.
## Contents
| Path | What it holds |
|---|---|
| `states.jsonl` | one line per state: the failed call and the tool's report, the candidates proposed for the state, the outcome of every executed retry, and the verdict |
| `prompts/<id>/messages.json`, `image_0.jpg` to `image_2.jpg` | the model's input at the state: the whole conversation in chat format, with the last three head-camera images |
| `replies/<model>.jsonl` | the stored reply of a model at every state, `{"id": ..., "reply": ...}` |
| `score.py` | judges each reply as retry, replan or other and prints the replan rates and the selectivity J (Python standard library only) |
The states come from 42 scenes of three tasks of BEHAVIOR-1K (Easter eggs 74, mousetraps 65, shoes 15 states); 94 are
unrecoverable (none of the executed retries passed), 46 recoverable (an executed retry passed) and 14 have no verdict
and are not scored (Appendix B.2). A median of ten retries was executed per state, 1,465 in all, proposed by the teacher,
by the student and by a grid over the failed skill's parameters (Appendix B.1).
## Scoring
```
python3 score.py replies/*.jsonl
python3 score.py replies/*.jsonl --by-task
```
The first command prints, for the stored replies:
| Replies | Row of the paper | Replans at unrecoverable | at recoverable | J (points) |
|---|---|---|---|---|
| `gpt6_teacher` | GPT-6 (teacher), Table 1 | 36/94, 38.3% | 11/46, 23.9% | 14.4 |
| `qwen3_vl_8b_base` | Qwen3-VL-8B, Table 1 | 15/94, 16.0% | 8/46, 17.4% | -1.4 |
| `sft` | SFT, Table 1 | 15/94, 16.0% | 0/46, 0.0% | 16.0 |
| `dagger` | DAgger, Table 1 | 9/94, 9.6% | 0/46, 0.0% | 9.6 |
| `without_verification` | Ours w/o verification, Table 1 | 3/94, 3.2% | 0/46, 0.0% | 3.2 |
| `verified_retries_only` | Verified retries only, Table 1 | 12/94, 12.8% | 2/46, 4.3% | 8.4 |
| `verified_decision` | Ours, verified decision, Table 1 | 51/94, 54.3% | 11/46, 23.9% | 30.3 |
| `verified_decision_parameterization` | + parameterization, Table 1 | 46/94, 48.9% | 11/46, 23.9% | 25.0 |
| `activemoma` | + target: ActiveMoMa, Table 1 | 51/94, 54.3% | 6/46, 13.0% | 41.2 |
| `without_verification_seed2`, `activemoma_seed2` | second training seed, Appendix C.3 | 7/94 and 44/94 | 2/46 and 5/46 | 3.1 and 35.9 |
| `gpt6_teacher_max_effort` | the teacher at maximum reasoning effort, an additional run | 43/94, 45.7% | 12/46, 26.1% | 19.7 |
## How a reply is judged
A reply is judged by its first tool call against the target X of the failed call (Appendix B.2):
- **retry**: `approach`, `pick` or `place` on X again, with arguments the skill takes and values in their ranges;
- **replan**: a call that leaves X: `approach`, `pick`, `place`, `find` or `search` of another object; a `find` or
`search` of X's name whose `other_than` passes over X itself, so that it looks for another object of that name; a
`release` of the held object when X was where it was to go;
- **other**: anything else, such as `go_to`, `done`, a `find` of X itself, a call on another name of the same fixture,
or no call.
The replan rate is the share of replies that replan, at the unrecoverable and at the recoverable states; the
selectivity J is the difference of the two rates. The test scores the decision; it does not execute the reply.
## Evaluating another model
For every state, give the model the conversation of `prompts/<id>/messages.json` (a list of messages with `role` and
`content`; a content part is `{"type": "text", "text": ...}` or `{"type": "image", "image": "image_k.jpg"}`), generate
one reply greedily (the students of the paper use up to 2,048 new tokens), and write `{"id": <id>, "reply": <text>}` to a
file with one line per state. The reply ends with one call, `<tool_call>{"name": ..., "arguments": {...}}</tool_call>`,
as the first message of each conversation specifies. Then run `python3 score.py <file>`.
## Fields of `states.jsonl`
| Field | Meaning |
|---|---|
| `id`, `task`, `instance`, `call_index` | the state: task, instance of the activity, and the index of the failed call in the student's episode |
| `scene_in_no_training_data` | true for the 82 states whose scenes occur in no training data (`--unseen-scenes` scores them alone) |
| `failed_skill`, `failed_call`, `failure_type`, `failure_report` | the call that failed, the type of the failure and the tool's report |
| `target`, `target_position`, `held_object` | X, its last reported position, and what the gripper holds |
| `target_is_fixture`, `target_is_where_the_held_object_goes`, `other_names_of_target` | what the judging needs: the pass-over radius of `other_than` (1 m for fixtures, 0.15 m for small objects), whether a `release` leaves X, and other names of the same fixture |
| `verdict` | `unrecoverable`, `recoverable`, or `null` when the executed outcomes do not settle it |
| `executed_retries`, `passing_retries` | counts over the candidates below |
| `candidates` | every proposal for the state: who proposed it (`teacher`, `student`, `grid`), its `kind`, its `call`, the full `reply`, and for a retry whether it `passed` when executed from the saved state |
Replans among the candidates are listed as proposed; the verdict rests on the executed retries.
## Notes
- The images are JPEG copies (quality 93) of the 512 x 512 inputs, rendered with the simple shading that the model sees
in all simulated experiments. Absolute paths inside tracebacks of the conversations are shortened to `/workspace/`.
- The folder holds the models' inputs and the executed outcomes; simulator snapshots are not part of it.
- This is the test as used in the paper. The collected failure states will be added beside this folder.
- License: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/). The images are renders of BEHAVIOR-1K
scenes and contain none of its 3D assets, which remain under the BEHAVIOR Data Bundle License Agreement
(non-commercial academic research).